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

RE : pb inserting row in LDAP directorie



> -----Message d'origine-----
> De : owner-openldap-software@OpenLDAP.org [mailto:owner-openldap-
> software@OpenLDAP.org] De la part de Daniel Madaoui
> Envoyé : mercredi 29 juin 2005 12:20
> À : Quanah Gibson-Mount; openldap-software@OpenLDAP.org
> Objet : Re: pb inserting row in LDAP directorie
> 
> Hello,
> 
> I am really sorry but I don't know how create this object.

One solution is to create the following ldif file:

dn: dc=my-domain,dc=com
objectClass: organizationalUnit
objectClass: dcObject
ou: my-ou
dc: my-domain

Then :
0) stop slapd: /etc/init.d/slapd stop
1) log as the "ldap" user
2) Add the entry:  slapadd -l myldiffile
3) start slapd: /etc/init.d/slapd stop