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

(ITS#4695) syncrepl modrdn failing with garbage returned by bdb_dn2entry



Full_Name: Tim Kay
Version: 
OS: Linux (Fedora core 5 RPM)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (138.37.95.144)


Modifying a DN on the syncrepl provider fails to propogate to the consumer. The
provider "sends" a valid modify but the consumer, having received the modify
request walks the tree, returns the parent DN to the entry, determines that
write access is permitted and the iterates, at this point newSuperior->bv_val is
set to "*" !? bdb_dn2entry is now searching for "�UUU" which looks like
some unicode screw up.




Oct  4 17:38:37 auth1 slapd[2975]: syncrepl_entry: be_search (0)
Oct  4 17:38:37 auth1 slapd[2975]: syncrepl_entry:
cn=laptT5,ou=auto.import,dc=dcs,dc=qmul,dc=ac,dc=uk
Oct  4 17:38:37 auth1 slapd[2975]:
==>bdb_modrdn(cn=laptT2,ou=auto.import,dc=dcs,dc=qmul,dc=ac,dc=uk,cn=laptT5,ou=auto.import,dc=dcs,dc=qmul,dc=ac,dc=uk,*)
Oct  4 17:38:37 auth1 slapd[2975]:
bdb_dn2entry("cn=laptt2,ou=auto.import,dc=dcs,dc=qmul,dc=ac,dc=uk")
Oct  4 17:38:37 auth1 slapd[2975]: bdb_modrdn: wr to children of entry
ou=auto.import,dc=dcs,dc=qmul,dc=ac,dc=uk OK
Oct  4 17:38:37 auth1 slapd[2975]: bdb_modrdn: parent
dn=ou=auto.import,dc=dcs,dc=qmul,dc=ac,dc=uk
Oct  4 17:38:37 auth1 slapd[2975]: bdb_modrdn: new parent "*" requested...
Oct  4 17:38:37 auth1 slapd[2975]: bdb_dn2entry("�UUU")
Oct  4 17:38:37 auth1 slapd[2975]: => bdb_dn2id("")
Oct  4 17:38:37 auth1 slapd[2975]: <= bdb_dn2id: get failed: DB_NOTFOUND: No
matching key/data pair found (-30989)
Oct  4 17:38:37 auth1 slapd[2975]: bdb_modrdn: newSup(ndn=&#65533;UUU) not
here!
Oct  4 17:38:37 auth1 slapd[2975]: send_ldap_result: conn=-1 op=0 p=0
Oct  4 17:38:37 auth1 slapd[2975]: send_ldap_result: err=32 matched="" text="new
superior not found"
Oct  4 17:38:37 auth1 slapd[2975]: syncrepl_entry: be_modrdn (32)
Oct  4 17:38:37 auth1 slapd[2975]: bdb_modify: dc=dcs,dc=qmul,dc=ac,dc=uk
Oct  4 17:38:37 auth1 slapd[2975]: bdb_dn2entry("dc=dcs,dc=qmul,dc=ac,dc=uk")
Oct  4 17:38:37 auth1 slapd[2975]: bdb_modify_internal: 0x00000001:
dc=dcs,dc=qmul,dc=ac,dc=uk
Oct  4 17:38:37 auth1 slapd[2975]: bdb_modify_internal: replace contextCSN
Oct  4 17:38:37 auth1 slapd[2975]: => entry_encode(0x00000001):
dc=dcs,dc=qmul,dc=ac,dc=uk
Oct  4 17:38:37 auth1 slapd[2975]: bdb_modify: updated id=00000001
dn="dc=dcs,dc=qmul,dc=ac,dc=uk"
Oct  4 17:38:37 auth1 slapd[2975]: send_ldap_result: conn=-1 op=0 p=0
Oct  4 17:38:37 auth1 slapd[2975]: send_ldap_result: err=0 matched="" text=""