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

Re: Adding Objectclass account gives object class violation



Buchan Milne wrote:
On Thursday, 15 April 2010 12:11:02 Shamika Joshi wrote:
Great it worked! Thanks alot Adam!

sudo ldapadd -x -W -c -D "cn=admin,cn=config" -f hostobject.ldif

Why didn't you use the ldapns.schema that is provided by pam_ldap, using
correct OIDs and everything?

I guess because Ubuntu, while shipping with cn=config, doesn't document how to
convert .schema format schemas to ldif format? That's no reason to use random
schemas, when appropriate ones already exist.

Actually, they do document it:

https://help.ubuntu.com/9.10/serverguide/C/openldap-server.html

And I helped them write it...

--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/