Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LDAP Protocol and referrals options #6

Open
eightnoneone opened this issue Apr 11, 2011 · 0 comments
Open

Add LDAP Protocol and referrals options #6

eightnoneone opened this issue Apr 11, 2011 · 0 comments

Comments

@eightnoneone
Copy link

Had trouble doing a full domain search on Windows 2003 AD server. Though the ldap_search says it should be doing subtree searches, it did not do so on my setup.

From comments on http://www.php.net/manual/en/function.ldap-search.php

If you add the following options, AD will do the subtree search properly.

ldap_set_option($connect, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_set_option($connect, LDAP_OPT_REFERRALS, 0);

Could these be added as setting options?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant