Dears, Good Afternoon I need your support for provide me the code to scan full LDAP users without customization specified OU
how can we modify my codes in both (config.php & authuser.php) to scan all users in active directory without OU "Information Technology" because I will provide authorization direct through Active Directory not from php files * config.php:* * $AuthUser['ldap'] = 'ldap://prjed-dc03.nmc.com/OU=Information <http://prjed-dc03.nmc.com/OU=Information> Technology,dc=nmc,dc=com?mailNickname?sub'; authuser.php:* * $fn = ($sub == 'sub') ? 'ldap_search' : 'ldap_list'; $sr = $fn($ds, $basedn, "(&$filter($attr=$id))", array($attr)); $x = ldap_get_entries($ds, $sr); thank you in advance * *Regards. *
_______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users