OPENLDAP Invalid Credentials Issue
Hai to all,
I have installed openldap-2.4.23 in my RHEL 6.4 machine. While tried to add users in ldapdirectory am facing the below mentioned issues. [root@ip-10-205-21-76 openldap]# ldapadd -x -D ”cn=Manager,dc=yourdomain,dc=com” -f users.ldif -w secret ldap_bind: Invalid DN syntax (34) additional info: invalid DN [root@ip-10-205-21-76 openldap]# ldapadd -x -D "cn=Manager,dc=testdomain1,dc=com" -f users.ldif -W Enter LDAP Password: ldap_bind: Invalid credentials (49) [root@ip-10-205-21-76 openldap]# ldapadd -x -D ”cn=Manager,dc=testdomain1,dc=com” -f users.ldif -w secret ldap_bind: Invalid DN syntax (34) additional info: invalid DN [root@ip-10-205-21-76 openldap]# ldapadd -x -D ”cn=Manager,dc=testdomain1,dc=com” -f users.ldif -W Enter LDAP Password: ldap_bind: Invalid DN syntax (34) additional info: invalid DN #vim /etc/openldap/slapd.d/cn=config/olcDatabase={2}bdb.ldif olcRootDN: cn=Manager,dc=testdomain1,c=com olcRootPW: {SHA}5en6G6MezRroT3XKqkdPOmY/BfQ= #vim /etc/openldap/ldap.conf TLS_CACERTDIR /etc/openldap/cacerts BASE dc=testdomain1,dc=com URI ldap://10.205.21.76/ ~ I have followed the below link.. Please help me to resolve this issue.. http://blog.domb.net/?p=74 I have set the password to secret then also am facing the problem.. [root@ip-10-205-21-76 openldap]# slappasswd -s secret #vim /etc/openldap/slapd.d/cn=config/olcDatabase={2}bdb.ldif olcRootDN: cn=Manager,dc=testdomain1,c=com olcRootPW: secret [root@ip-10-205-21-76 openldap]# ldapadd -x -D ”cn=Manager,dc=testdomain1,dc=com” -f users.ldif -W Enter LDAP Password: ldap_bind: Invalid DN syntax (34) additional info: invalid DN [root@ip-10-205-21-76 openldap]# ldapadd -x -D ”cn=Manager,dc=testdomain1,dc=com” -f users.ldif -w secret ldap_bind: Invalid DN syntax (34) additional info: invalid DN Please help me.... |
Quote:
Quote:
Since you're using RHEL, you can call Red Hat support, since you're paying for RHEL, right??? And did you try their knowledgebase? https://access.redhat.com/site/docum...y_Servers.html ...read ANY of the very simple how-to guides you can easily find? http://spectlog.com/content/Minimal_...es_and_details https://www.soljerome.com/blog/2012/...ldap-on-rhel6/ Again, you don't have things configured correctly. Read the instructions and follow them. |
All times are GMT -5. The time now is 01:27 AM. |