Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ldapadd problem

Status
Not open for further replies.

erickg

Technical User
Jun 12, 2006
2
ZA
this is my slapd.conf :

#######################################################################
# ldbm and/or bdb database definitions
#######################################################################

database bdb
suffix "dc=camarade,dc=com"
rootdn "cn=administrator,dc=camarade,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoided. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# rootpw secret
# rootpw {crypt}ijFYNcSNctBYg
rootpw {SSHA}iAB0v1L7VkewA+MDUf04l6fa8wBxZUMS

# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /var/lib/ldap

# Indices to maintain for this database
index objectClass eq,pres
index ou,cn,mail,surname,givenname eq,pres,sub
>
>
>
>
>
and when i attaempt to ldapadd...have a look :

[root@localhost openldap]# ldapadd -x -h camarade.com -D "cn=administrator,dc=camarade,dc=com" -f mtnonline.com.ldif -W
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
>
>
>
>tell me what to do exactly...

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top