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

Re: newbie question



Xavier Renard wrote:
> 
> dn: dc=ste,dc=fapse,dc=ulg,dc=ac,dc=be
> objectclass: dcObject
> 
> objectclass: organization
> o:  ste
> dc:ste
> dc:fapse
> dc:ulg
> dc:ac
> dc:be
> dn: cn=Manager,dc=ste,dc=fapse,dc=ulg,dc=ac,dc=be
> objectclass: organizationalRole
> cn: Manager

You need to:
1) separate by one empty line different entries;
2) don't actually need to store the rootdn entry
into the database
3) separate by exactly one space the colon after
the attribute types and the values
4) you should not list all the components of your
domain in the top entry; the dcObject should contain
only the leftmost domain component in a domain; e.g.:

dn: dc=ste,dc=fapse,dc=ulg,dc=ac,dc=be
objectclass: top
objectclass: dcObject
objectclass: organization
o: ste
dc: ste

dn: cn=Manager,dc=ste,dc=fapse,dc=ulg,dc=ac,dc=be
objectclass: top
objectclass: organizationalRole
cn: Manager

(I prefer to explicitly add the "top" objectClass,
according to RFC 2252 4.4). The "o" value might well be
something a bit more descriptive about your organization,
e.g. "Université de Liège" (but you should use UTF-8 chars). 
I insist, you don't need the last entry.

Pierangelo.

-- 
Dr. Pierangelo Masarati               | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale                | fax:   +39 02 2399 8334
Politecnico di Milano                 |
mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy   |
http://www.aero.polimi.it/~masarati