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

Re: Can't slapadd ldif file



Ingo Schaefer wrote:
It is recommended to start with the objectclass(es).

dn: o=example.com,c=US objectclass: organization objectclass: top o: example.com

Actually got added. Amazingly. But now, I want to make an ou called User and a user called Phil

-------------------
dn: o=example.com,c=US
objectclass: organization
objectclass: top
o: example.com

dn: ou=User,o=example.com,c=US
objectclass: top
objectclass: organizationalUnit
ou: User

dn: cn=Phil Dibowitz,ou=User,c=US
cn: Phil Dibowitz
sn: Dibowitz
objectclass: person
mail: phil@ipom.com
uid: 505
uid: phil
-----------------------------

and I get:
slapadd: could not add entry dn="o=example.com,c=US" (line=5)

If I take out the blank lines, I get told "mail" is not allowed.
If I take out "mail" I get told "uid" is not allowed.

What am I missing? Howtos have shown me that blank lines are allowed, mail is allowed and uid HAS to be allowed...

Another hint: Try to update your openldap as fast as possible.
I also tried it with the redhat7.3 rpms and got real much trouble.


I'll take that into consideration. Thanks.

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