[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldapadd errors in 2.0.6
I had the same problem and found the missing attribute from the slapd log
(loglevel 1) openldap.log.
Good luck
----- Original Message -----
From: "Justin Wood" <justin@flipdog.com>
To: <openldap-software@OpenLDAP.org>
Sent: Thursday, October 05, 2000 8:26 PM
Subject: ldapadd errors in 2.0.6
> I've succeeded in adding a basic hierarchy in openldap-2.0.6. However,
> when I go to add entries (people), I get:
>
> bash-2.04# ldapadd -x -D "cn=Manager,dc=whizbang,dc=com" -W -f
> main.ldif
> Enter LDAP Password:
> adding new entry "uid=justin,ou=People,dc=whizbang,dc=com"
> ldap_add: Undefined attribute type
> additional info: attribute type undefined
> ldif_record() = 17
>
> I've played with loglevels, and can't seem to find *where* the undefined
> attribute is. An example entry is below. I've included the samba
> schema file supplied by the samba-tng folks as well. Any help would be
> appreciated.
>
> dn: uid=justin,ou=People,dc=whizbang,dc=com
> uid: justin
> cn: Justin Wood
> givenname: Justin
> sn: Wood
> mail: justin@flipdog.com
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> objectClass: account
> objectClass: posixAccount
> objectClass: top
> objectClass: shadowAccount
> objectClass: sambaAccount
> userPassword: {crypt}XXXXXXXXXXXXX
> shadowLastChange: 11207
> loginShell: /bin/ksh
> uidNumber: 10000
> gidNumber: 10000
> homeDirectory: /export/home/justin
> rid: 221
> pwdmustchange: ffffffff
> lmpassword: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> ntpassword: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> pwdlastset: 39215440
> acctflags: [U ]
> ntuid: justin
> ou: opers
>
>
> --
> ---------------------------------------------------
> Justin Wood justinw@flipdog.com
> Systems Administrator
> FlipDog.com http://www.flipdog.com/
> ---------------------------------------------------
>