RE: Ldap query problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I found it! The parenthesis need to be escaped, which I had tried, but
silly PHP went and escaped my escapes... :-\  So the criteria on the
query needed to be cn=Ryan Jameson \(MyDomain\) ... I was entering the
criteria via a form which PHP conveniently turned into cn=Ryan Jameson
\\(MyDomain\\) which didn't work. Thanks for the response!!!

<>< Ryan

-----Original Message-----
From: Swan, Nicole [mailto:NSwan@xxxxxxxxxxx] 
Sent: Thursday, July 15, 2004 4:01 PM
To: Ryan Jameson; php-db@xxxxxxxxxxxxx
Subject: RE:  Ldap query problem

Do you have some code you can provide so we can get a better idea of
what you're trying to do?  

My guess is that the filter isn't set up quite right (as in the base dn
you're attaching to get the dn is not formatted correctly).  What
exactly are you trying to achieve?

--Nicole
---------------------------
Nicole Swan
Web Programming Specialist
Carroll College CCIT
(406)447-4310


-----Original Message-----
From: Ryan Jameson [mailto:ryan@xxxxxxxxxxxxxxx]
Sent: Thursday, July 15, 2004 3:46 PM
To: php-db@xxxxxxxxxxxxx
Subject:  Ldap query problem


My LDAP queries seem to have a problem with parenthesis, does anyone
know how to fix this?

Example...

Criteria  cn=Ryan Jameson* works fine returning user with cn=Ryan
Jameson
(MyDomain)

But...

Criteria cn=Ryan Jameson (MyDomain) returns nothing. :-\

<>< Ryan

--
PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--
PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux