List Info

Thread: note 61101 rejected from function.ldap-search by betz




note 61101 rejected from function.ldap-search by betz
user name
2006-02-07 11:09:49
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.

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

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )