12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- require_once('authldap.php');
- $ldap_login_success = ldap_login($login, $password);
- if ($ldap_login_success)
- {
-
-
- $info_array = ldap_find_user_info($login);
- ldap_put_user_info_locally($login, $info_array);
- }
- else
- {
-
- $loginFailed = true;
- unset($_user['user_id']);
- $uidReset = false;
- }
- ?>
|