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

Error



hi

When i try to run

/opt/openldap/bin/ldapadd -f \
mydomain.ldif
-xv -D "cn=Manager, \ dc=xyz,dc=com" -w secret -h 127.0.0.1 I got
the following error. What could be the cause. ldap_initialize(
ldap://127.0.0.1 ) ldap_bind: Invalid credentials (49) V. S.
Saravanan. Quoting malini@visolve.com: > Hello sankar, There
are lotz of docs in net.. Anyway,this is
simple,quick one.. 1.Create slapd.conf ,ldap.conf as
follows --slapd.conf-- include
/opt/openldap/etc/openldap/schema/core.schema include
/opt/openldap/etc/openldap/schema/cosine.schema include
/opt/openldap/etc/openldap/schema/inetorgperson.schema include

/opt/openldap/etc/openldap/schema/openldap.schema pidfile
/var/opt/openldap/slapd.pid argsfile
/var/opt/openldap/slapd.args database bdb suffix

"dc=xyz,dc=com" rootdn "cn=Manager,dc=xyz,dc=com" rootpw

secret directory /var/opt/openldap/openldap-bdb index
objectClass eq --ldap.conf-- base dc=xyz,dc=com 2.start
slapd
as, /opt/openldap/libexec/slapd -f
/opt/openldap/etc/openldap/slapd.conf 3Create "mydomain.ldif"
file
with following content. mydomain.ldif ============== dn:
dc=xyz,dc=com o: xyz Software dc: xyz objectclass:
dcObject objectclass: top objectclass: organization dn:
cn=Manager,dc=xyz,dc=com objectClass: top objectclass:
organizationalRole cn: Manager dn:
ou=Development,dc=xyz,dc=com ou:
Development objectClass: top objectclass:
organizationalUnit dn:
cn=shs,ou=Development,dc=xyz,dc=com cn: shs uid: shs ou:
Development objectClass: top objectClass: person objectClass:
organizationalPerson objectClass:
inetOrgPerson facsimileTelephoneNumber: +1 313 764 5140 mail:
shs@xyz.com sn: shs userPassword:
shs 3. /opt/openldap/bin/ldapadd
-f mydomain.ldif -xv -D "cn=Manager,dc=xyz,dc=com" -w secret -h
127.0.0.1 4 /opt/openldap/bin/ldapsearch -h 127.0.0.1 -x -b
"dc=xyz,dc=com" "objectClass=*" ----- Original Message -----

From: Saravanan Sankar To: openldap-software@OpenLDAP.org
Sent:
Wednesday, March 23, 2005 9:45 AM Subject: LDAP
working hi Anybody send me the procedure for configuring
the
OpenLDAP andmaking it to work. How to add the objects into. Send
me
theprocedure of working OpenLDAP for any domain name. I was
trying
tomake it work for last one week. But i was not able to do. I
dont
knowwhether i am doing right or wrong. Help me. Bye. V.
S.Saravanan.
------------------------------------------------------------------
------------ No virus found in this incoming message.
Checked
by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.8.0 -
Release Date: 3/21/2005