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

Department names?

Hello all,

how do i add a department name to ldap? i cant seem to find the schema for
it in any of the files!

i have tried:

dn: departmentNumber=IT,ou=division,o=company,dc=co,dc=uk
objectclass: inetorgperson
departmentNumber: IT

but obviously the above departmentNumber expects a number, with the above,
this is what i get:

ldap_add: Object class violation
        additional info: object class 'inetorgperson' requires attribute

Which means i am using the wrong format in the ldif!

can anyone help please

Thanks in advance