Adding sudo.schema (sudo.ldif) to cn=schema,cn=config:

 

# ldapadd -H ldap:/// -x -D cn=admin,cn=config -W -f /usr/local/openldap/etc/openldap/schema/sudo.ldif

Enter LDAP Password:

adding new entry "cn=sudo,cn=schema,cn=config"

ldap_add: Constraint violation (19)

        additional info: structuralObjectClass: no user modification allowed

 

Currently, my schema’s are:

cn={0}core

cn={1}cosine

cn={2}inetorgperson

cn={3}java

cn={4}misc

cn={5}nis

cn={6}openldap

cn={7}policy

cn={8}2307bis

cn={9}printers

 

 

 

John D. Borresen (Dave)

Linux/Unix Systems Administrator

MIT  Lincoln Laboratory

Surveillance Systems Group

244 Wood St

Lexington, MA  02420

Ph: (781) 981-1609

Email: john.borresen@ll.mit.edu