![]() |
Sample to use Microsoft LDAP - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4) +--- Forum: Feature Request (https://community.letodms.com/forumdisplay.php?fid=7) +--- Thread: Sample to use Microsoft LDAP (/showthread.php?tid=169) |
Sample to use Microsoft LDAP - Doudoux - 09-17-2010 Hello, here is my code to use the LDAP Microsoft into LetoDMS. I have only one LDAP microsoft, I did not test the changes with other LDAP. op.Login.php - Step 1 PHP Code: // PHP Code: // op.Login.php - Step 2 PHP Code: if ($bind) { PHP Code: if ($bind) { op.Login.php - Step 3 PHP Code: if (is_bool($dn)) { PHP Code: if (is_bool($dn)) { op.Login.php - Step 4 PHP Code: if ($bind) { PHP Code: if ($bind) { inc.Settings.php - Step 5 PHP Code: // var $_ldapHost = ""; // URIs are supported, e.g.: ldaps://ldap.host.com PHP Code: // var $_ldapHost = ""; // URIs are supported, e.g.: ldaps://ldap.host.com for example: PHP Code: var $_ldapHost = "server.domain.loc"; RE: Sample to use Microsoft LDAP - matteo lucarelli - 09-17-2010 I cannot test it. I'll insert this in the new release (2.0.1) leaving the comment where they are so users can test it. Thank you RE: Sample to use Microsoft LDAP - tme - 09-17-2010 Great! |