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

RE: ldap problem

You must use the "-x" switch on all ldap commands, since you don't have
kerberos set up (-x tells it not to use SASL).

Also, add this to your LDIF file at the top:

dn: o=unsa,c=PE
objectClass: top
objectClass: organization
o: unsa

The root of your tree must be added as an LDAP object - it doesn't exist


| Phil Mayers                              |
| Network & Infrastructure Group           |
| Information & Communication Technologies |
| Imperial College                         |

-----Original Message-----
From: Albert Medina Banda [mailto:albertmb2001@hotmail.com]
Sent: 21 September 2001 18:30
To: openldap-software@OpenLDAP.org
Subject: ldap problem

hello, I'm new  in the list,

sorry, my english is not good
I have openldap 2.07-release, Red Hat 7.1
my domain is "info", in an intranet
my ldif file is test.ldif(is attach.)
I execute as root:
         ldapadd -f /test.ldif -D "cn=root,o=unsa,c=PE"
and I get thie error:
         SASL/GSSAPI authentication started
         ldap_sasl_interactive_bind_s:local error

If i execute: (with -x)
        ldapadd -f /test.ldif -x -D "cn=root,o=unsa,c=PE"
I get:
	adding new entry "cn=albert,dc=info"
        ldap_add: No such object

and executing  ldapsearch, and I get :

         SASL/GSSAPI authentication started
         ldap_sasl_interactive_bind_s:local error

could anybody helpme, please?
is very important for me and for my university.

  Albert Medina Banda
San Agustin University

pd, I attach. slap.conf and ldap.conf too

Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp