Code

Updated comments
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Jul 2010 05:25:59 +0000 (05:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 6 Jul 2010 05:25:59 +0000 (05:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18933 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/functions.inc

index ba49c80e52d5a795052441275660a61b390f5a7b..83ecd4b6ef7976758a78e05eaaf1f9ba22aedf31 100644 (file)
@@ -663,8 +663,19 @@ function ldap_login_user ($username, $password)
  *                  POSIX_FORCE_PASSWORD_CHANGE     - The password has to be changed.
  *                  POSIX_DISALLOW_PASSWORD_CHANGE  - The password cannot be changed right now.
  * 
+ * 
+ * 
+ *      shadowLastChange       
+ *      |
+ *      |---- shadowMin --->    |       <-- shadowMax --
+ *      |                       |       |
+ *      |------- shadowWarning ->       | 
+ *                                      |-- shadowInactive --> DEACTIVATED
+ *                                      |
+ *                                      EXPIRED
+ *                           
  */
-function ldap_expired_account($config, $userdn, $username)
+function ldap_expired_account($config, $userdn, $uid)
 {
     $ldap= $config->get_ldap_link();
     $ldap->cd($config->current['BASE']);