[Date Prev][Date Next] [Chronological] [Thread] [Top]

RootDN and slaves



I was under the impression that rootDN had unfettered access to a
directory (using 2.0.25 here).  This appears to not be the case when
attempting to update a slave e.g. a replication failed because the object
did not exist, due to the slave being out of sync.

I get a Referral back to the master when rootDN tries to update a slave
(and GQ shows "Insufficient access").

Is this true i.e. rootDN cannot update a slave, or should I be looking for
some other problem?  Turning on debugging shows the rootDN as binding
correctly, if I read this right:

do_bind: version=3 dn="cn=ciHoncho,dc=cordoors,dc=com" method=128
conn=0 op=0 BIND dn="CN=CIHONCHO,DC=CORDOORS,DC=COM" method=128
==> ldbm_back_bind: dn: cn=ciHoncho,dc=cordoors,dc=com
dn2entry_r: dn: "CN=CIHONCHO,DC=CORDOORS,DC=COM"
=> dn2id( "CN=CIHONCHO,DC=CORDOORS,DC=COM" )
=> ldbm_cache_open( "dn2id.dbb", 73, 600 )
ldbm_cache_open (blksize 8192) (maxids 2046) (maxindirect 5)
<= ldbm_cache_open (opened 0)
<= dn2id NOID
dn2entry_r: dn: "DC=CORDOORS,DC=COM"
=> dn2id( "DC=CORDOORS,DC=COM" )
=> ldbm_cache_open( "dn2id.dbb", 73, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id 1
=> id2entry_r( 1 )
=> ldbm_cache_open( "id2entry.dbb", 73, 600 )
ldbm_cache_open (blksize 8192) (maxids 2046) (maxindirect 5)
<= ldbm_cache_open (opened 1)
=> str2entry
<= str2entry(dc=cordoors,dc=com) -> -1 (0x82e51e0)
<= id2entry_r( 1 ) 0x82e51e0 (disk)
====> cache_return_entry_r( 1 ): created (0)
do_bind: v3 bind: "cn=ciHoncho,dc=cordoors,dc=com" to "cn=CIHoncho,dc=cordoors,dc=com"
send_ldap_result: conn=0 op=0 p=3
send_ldap_result: 0::
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 10
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........
ldap_write: want=14, written=14
  0000:  30 0c 02 01 01 61 07 0a  01 00 04 00 04 00         0....a........
conn=0 op=0 RESULT tag=97 err=0 text=

-- 
Dave Horsfall  DTM  VK2KFU  daveh@ci.com.au  Ph: +61 2 9906-7866  Fx: 9906-1556
Corinthian Engineering, Level 1, 401 Pacific Hwy, Artarmon, NSW 2064, Australia