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

Re: Really confusing responses (was: Re: Can't slapadd ldif file)



Luca Scamoni wrote:
dn: cn=Phil Dibowitz,ou=User,c=US
objectclass: person
cn: Phil Dibowitz
sn: Dibowitz
uid: 505
uid: phil
-------------------------------------

[snip]

You are telling ldap to create an entry under a root it doesn't have. The root is o=example.com,c=US (you defined it in the first entry) so stick to it:


dn: cn=Phil Dibowitz,ou=User,o=example.com,c=US



Good call. Now I get:

slapadd: dn="cn=Phil Dibowitz,ou=User,o=example.com,c=US" (line=18): attribute 'uid' not allowed

Why is UID not allowed? I've even tried it with just one UID, and it still doesn't work.

--
Phil Dibowitz                             phil@ipom.com
Freeware and Technical Pages              Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/     http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759