note 61101 rejected from function.ldap-search by betz

From: Date: Tue, 07 Feb 2006 11:09:49 +0000
Subject: note 61101 rejected from function.ldap-search by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-103184@lists.php.net to get a copy of this message
Note Submitter: mtupker at yahoo dot com ---- I'm trying to create a list of users from a specific OU and export it to a text file. Have have a search function setup to get the usernames, but I can't figure out how to create a filter that will get everyone. $searchfilter = "description=*"; //not sure what to type here $searchdn = "OU=Student Accounts,DC=mtmercy,DC=edu"; $searchresults = ldap_search($ldaplink, $searchdn, $searchfilter); $fe = ldap_first_entry($ldaplink, $searchresults); This is probably really simple but I'm kinda new to php. Thanks in advance.

« previous php.notes (#103184) next »