[snip]
if(!$ds=ldap_connect(foo)){
echo did not connect;
}else {
echo connection successful;
}
$un = user;
$upw = pass;
echo connect result is . $ds . br /;
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_set_option($ds, LDAP_OPT_REFERRALS, 0);
if ($ds) {
[snip] I vaguely recall you couldn't do an anonymous bind to an active
directory system - you had to properly authenticate before you could do
a search.
You didn't include the bind stuff so I can't tell if that's the problem
:)
[/snip]
I thought that I was not doing an anonymous bind, until I
On 3/4/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
[snip] I vaguely recall you couldn't do an anonymous bind to an active
directory system - you had to properly authenticate before you could do
a search.
You didn't include the bind stuff so I can't tell if that's the problem
:)
[/snip]
I am trying to work through connecting to and using LDAP with PHP. Thus
far I am able to connect and bind, but I cannot search.
$sr=ldap_search($ds, CN=configuration,DC=onecall,DC=local, cn=*);
Gives me
Warning: ldap_search(): Search: Operations error in
/srv/www/htdocs/test/ldapTest.php on
[snip]
I am trying to work through connecting to and using LDAP with PHP. Thus
far I am able to connect and bind, but I cannot search.
$sr=ldap_search($ds, CN=configuration,DC=onecall,DC=local, cn=*);
Gives me
Warning: ldap_search(): Search: Operations error in
[snip]
Aha! It may not be me. The LDAP server is Win2003 and has some known
problems when searching LDAP. I haven't located a solution, but if you
are privy to one or two or ten could you let me know?
[/snip]
Well, I thought that I had escaped the hell of a Windows world when I
accepted this
[EMAIL PROTECTED] wrote:
[snip]
Aha! It may not be me. The LDAP server is Win2003 and has some known
problems when searching LDAP. I haven't located a solution, but if you
are privy to one or two or ten could you let me know?
[/snip]
Well, I thought that I had escaped the hell of a Windows
7 matches
Mail list logo