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

RE: a small problem.

I have another doubt, for each instantes, how i could indicate the path to
another /etc/openldaop/ldap.conf file?  Because I only can do it with the
slapd.conf and not with ldap.conf, There are some way to do it?  In the
only ldap.conf we can configure two or more instances? or we need one
ldap.conf for each instance? 

There are some way to convert one ldif file of sun one ldap to openldap? 

When I try to load ldapadd -H ldap:// -f
/etc/openldap/slapd-2.conf -v -x -D "cn=Manager,o=corp.guers.com" -W <
/root/DIT.ldif  I get the follow error :

ldap_initialize( ldap:// )
Enter LDAP Password:
ldapadd: invalid format (line 1) entry: ""

DIT ldif contain:

dn: o=corp.guers.com
objectClass: organization
objectClass: top
o: corp.guers.com
description: Guers

dn: ou=GO-LM,o=corp.guers.com
objectClass: organizationalUnit
objectClass: top
ou: GO-LM
description: Guers

dn: ou=People,ou=GO-LM,o=corp.guers.com
objectClass: organizationalUnit
objectClass: top
ou: People
description: Users

Thanks all. 

Best regards 

De: CN=Ivan Garcia/OU=Espana/O=Leroy Merlin 
Enviado el: jueves, 09 de junio de 2005 17:39
Para: openldap-software@OpenLDAP.org
Asunto: a small problem.

Hi all again. 
i have a openldap with 2 instances up, one in port 389 and another in 399
with slapd.conf different. But when i want to load a ldif and i put the
password i get an error like: 

ldapadd -h ldap:// -f /etc/openldap/slapd-2.conf -v -x -D
"cn=Manager,o=corp.guers.com" -W < /root/DIT.ldif
ldap_init( ldap://, 0 )
Enter LDAP Password:
ldap_bind: Can't contact LDAP server (81)

the passwd is written in slapd.conf of the second instance. I put it and
get the above error.  

Any idea? 

best regards