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...
#######################################################################
# 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...