how to bind to an openldap server
I am using the PHP extension.
The username is admin password is 111111 I try to bind usingldap_bind($rs,'admin','111111')
开发者_StackOverflow中文版
It gives me an error:
Unable to bind to server: Invalid DN syntax in [line of the ldap_bind]
I can bind anonymously, what is the correct syntax?
OK - my bad, I should have used the entire record name instead of just admin: "cn=admin,dc=example,dc=com"
which describes the top node in the server.
精彩评论