Unsolved
This post is more than 5 years old
Moderator
•
750 Posts
0
1114
January 26th, 2012 23:00
why LDAP bind by anonymous?
Dear ALL,
Now I'm tring to configuration LDAP environment.
I've run command bellow.
$server_ldap server_2 -set -p -basedn dc=mydomain,dc=local -servers 192.168.100.1 -binddn cn=admin,ou=Users,dc=mydomain,dc=local
My LDAP server disallow anonymous bind and allow the password bind.
I think so can bind to LDAP using -p option, but I've get error message on server_log.
LDAP: 3: LdapDomain::connectToConfigurationServer Unable to connect to 192.168.100.1:389 - anonymous bind disallowed(48)
Why my vnx try to bind by anonymous bind?
Please let me know any advice.
Best Regards.



bergec
275 Posts
0
January 27th, 2012 00:00
Are you sure there is no typo on the -p (beware of cut/paste) or is it at the right place in the list
Have you tried to reset the configuration whith -clear option?
Claude
Nori_Ishitsuka
Moderator
•
750 Posts
0
January 27th, 2012 03:00
Thank you for your information.
Yes I have checked password and other parameters, clear LDAP configuration.
And I have changed configuration to allow anonymous bind on the LDAP Server and tried to bind anonymous same command.
The result is OK!
Do you have configuration by password bind?
Nori.
bergec
275 Posts
0
January 29th, 2012 01:00
Here is an example:
$ server_ldap server_2 -set -p -basedn dc=my-domain,dc=com -servers 192.168.1.1,192.168.1.2 -binddn "cn=admin,ou=profile,dc=mydomain,dc=com"
passwd : xxxxxxx
$ done
This was with Oracle/SUN Ldap so the "admin" is located in a different OU than yours
Note that the command prompts for a password
Claude
Nori_Ishitsuka
Moderator
•
750 Posts
0
January 29th, 2012 17:00
Thank you for your information.
This Case may be issue on OpenLDAP I think.
I'll try to contact OpenLDAP vendor.