OpenLDAP error ldapadd: Undefined attribute type (17)
am working to get OpenLDAP and running and I have run into this issue.
I have read that it relates to having a blank line in between entries but that is taken care of. Any ideas? #new.ldif contents dn: cn=Greg,dc=affinitygs,dc=com cn: Greg sn: Larson objectClasserson ojbectClass:employee userPassword:XXXXXXX mail: gregl@example.com l: somecity st: ND postalCode: 58XXX c: US dept: techanalyst |
Quote:
Also along with the error (17) you should get a note about what attribute has the problem. |
Quote:
You need an empty line before each line starting with "dn:" LDIF separates entries by blank lines. dn: denotes the distinguished name of an entry and needs to be the first line of each entry. example : ##line blank dn: dc=csc,dc=ku,dc=ac,dc=th dc: csc description: LDAP Admin objectClass: dcObject objectClass: organizationalUnit ou: rootobject ##line blank dn: ou=People, dc=csc,dc=ku,dc=ac,dc=th ou: People description: Users of CSC objectClass: organizationalUnit |
All times are GMT -5. The time now is 03:51 AM. |