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