Total Pageviews

Saturday, September 13, 2014

Enabling and Disabling OID tracing thru command



1. Create the following files 

debugon.ldif 

--cut here--- 
dn: cn=oid1,cn=osdldapd,cn=subconfigsubentry 
changetype: modify 
replace: orcldebugop 
orcldebugop: 511 
. 
dn: cn=oid1,cn=osdldapd,cn=subconfigsubentry 
changetype: modify 
replace: orcldebugflag 
orcldebugflag: 1 
----cut here------- 


debugoff.ldif 

--cut here--- 
dn: cn=oid1,cn=osdldapd,cn=subconfigsubentry 
changetype: modify 
replace: orcldebugop 
orcldebugop: 0 

dn: cn=oid1,cn=osdldapd,cn=subconfigsubentry 
changetype: modify 
replace: orcldebugflag 
orcldebugflag: 0 
----cut here------- 

2. Enable OID tracing 

ldapmodify -h <host> -p <port> -D "cn=orcladmin" -w <password> -f 
debugon.ldif 


Disable OID tracing 

ldapmodify -h <host> -p <port> -D "cn=orcladmin" -w <password> -f 
debugon.ldif 

No comments:

Post a Comment