[pmwiki-users] Connect Direct to Active Directory without adding OUs
ahmad abdulbaqi
ahmadabdo2000 at gmail.com
Fri Jul 6 15:51:00 PDT 2018
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. *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20180707/3a34957e/attachment.html>
More information about the pmwiki-users
mailing list