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

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
  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

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
pwdlastset: 39215440
acctflags: [U          ]
ntuid: justin
ou: opers

Justin Wood			justinw@flipdog.com
Systems Administrator
FlipDog.com		    http://www.flipdog.com/