[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldapadd: update failed: - Server Migration
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.
>The user.ldif file contains the following:
>dn: uid=adamw, ou=users, dc=example, dc=net
>cn: Test Account
>sn: Test Account
>objectclass: top
>objectclass: person
>objectclass: posixAccount
>objectclass: shadowAccount
>objectclass: quotaAccount
>uid: adamw
>uidNumber: 500
>gidNumber: 500
>loginShell: /bin/sh
>homeDirectory: /home/adamw
>softWebQuota: 2048
>hardWebQuota: 2048
>softMailQuota: 20480
>hardMailQuota: 20480
ldap1 schema # pwd
/etc/openldap/schema
ldap1 schema # grep Quota *
ldap1 schema #
Find where you define those quota attributes, copy it over to the
Mandrake box, load it in slapd.conf, and restart slapd.conf. Note that
you might have to edit the schema file depending if it complies with
schema requirements.
--
Regards... Todd
OS X: We've been fighting the "It's a mac" syndrome with upper management
for years now. Lately we've taken to just referring to new mac
installations as "Unix" installations when presenting proposals and
updates. For some reason, they have no problem with that. -- /.
Linux kernel 2.6.8.1-12mdkenterprise 4 users, load average: 0.13, 0.22, 0.18