Wildcard in LDAP

From: Date: Tue, 13 May 2003 19:03:44 +0000
Subject: Wildcard in LDAP
Groups: php.general 
Request: Send a blank email to php-general+get-147479@lists.php.net to get a copy of this message
I am trying to put together a listing of entries that are on an LDAP server, and am getting an error when trying to use the varible. $dn = "cn=*, cn=Staff, cn=$location, ou=Anoka-Hennepin, o=ISD11"; I have * in cn=* to list all records instead of just one. From my ldap server I get this if I look myself up. dn: cn=Mike_Tuller,cn=Staff,cn=LCDC,ou=Anoka-Hennepin,o=ISD11 If I change cn=* to cn=Mike_Tuller, the record is returned without an error. What can I use to find all records if I can't use * as a wildcard? Mike Tuller

« previous php.general (#147479) next »