[Date Prev][Date Next]
RE: Department names?
I have the following ldif file for the ldap server, can you tell me why it
does not pick up the department name in outlook please?
When looking at the structure, this is what i am doing!
This is why i have an ou for the division and an ou for the department,
could the two ou's be confusing outlook and making it not display either ou?
dn: o=emsgroup, dc=co,dc=uk
dn: ou=factory,o=emsgroup, dc=co,dc=uk
dn: ou=Technical Services, ou=factory, o=emsgroup, dc=co, dc=uk
ou: Technical Services
dn: cn=Kamesh Patel, ou=Technical Services, ou=factory, o=emsgroup, dc=co,
cn: Kamesh Patel
title: IT Support Engineer
dn: ou=Sales Administrators, ou=factory, o=emsgroup, dc=co, dc=uk
ou: Sales Administrators
Thanks in advance
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Michael
Sent: 08 February 2002 19:05
To: Kamesh Patel
Subject: Re: Department names?
Kamesh Patel wrote:
> 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!
Yes, the sn attribute is missing in your entry data.
Attribute departmentNumber is *not* limited to numbers (see RFC 1274
where RFC 2798 borrowed it from). However many clients (e.g.
Outlook) read the department from ou attribute.