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

Re: ldapadd: update failed: - Server Migration



Todd Lyons wrote:

Albert Whale wanted us to know:



/usr/bin/ldapadd -f /var/tmp/user.ldif -D "cn=manager,dc=example,dc=net" -H ldap://localhost -x -w secret
adding new entry "uid=adamw, ou=users, dc=example, dc=net"
ldapadd: update failed: uid=adamw, ou=users, dc=example, dc=net
ldap_add: Internal (implementation specific) error (80)
additional info: no structuralObjectClass operational attribute



Means that one of the attributes is not defined as being provided by an
objectclass.


No.

"no structuralObjectclass operational attribute" means the "structuralObjectclass" operational attribute was not found in the provided entry. How can you possibly misinterpret this statement to mean what you state above?

It means that this slapd thinks it's a slave server. That's the price you pay for defining rootdn and updatedn to be the same, despite the documentation telling you not to. Since it appears that it was not intended to make the new server a slave, the updatedn directive should simply be removed from the new slapd.conf.

--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support