From: paca70 Date: Wed, 22 Sep 2004 08:28:56 +0000 (+0000) Subject: Cleaned config.html X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8c9c0e8588a81c782d8012543c8308d8aa068fda;p=moodle.git Cleaned config.html Added configuration for expired passwords. --- diff --git a/auth/ldap/config.html b/auth/ldap/config.html index ee48eb565e..a98265afc8 100644 --- a/auth/ldap/config.html +++ b/auth/ldap/config.html @@ -11,11 +11,10 @@ optional_variable($config->ldap_memberattribute, ""); optional_variable($config->ldap_creators, ""); optional_variable($config->ldap_create_context, ""); - optional_variable($config->auth_ldap_expirecheck, ""); - optional_variable($config->auth_ldap_expireattr, ""); - optional_variable($config->auth_ldap_expiredaysbefore, ""); - optional_variable($config->auth_ldap_gracecheck, ""); - optional_variable($config->auth_ldap_graceattr, ""); + optional_variable($config->ldap_expiration, ""); + optional_variable($config->ldap_expireattr, ""); + optional_variable($config->ldap_gracelogins, ""); + optional_variable($config->ldap_graceattr, ""); optional_variable($config->auth_user_create, ""); optional_variable($config->auth_user_create, ""); optional_variable($config->auth_ldap_forcepasswordchange, ""); @@ -68,576 +67,650 @@ if (!function_exists('ldap_connect')){ // Is php4-ldap really there? ?> -

+

- -

ldap_host_url: - - + +

ldap_host_url: + + - - + + - - + + - -

ldap_version: - + +

ldap_version: + ldap_version, ""); if (isset($err["ldap_version"])) formerr($err["ldap_version"]); ?> - - + + - - + + -

+

- -

ldap_bind_dn: - - + +

ldap_bind_dn: + + - + - - + + - -

ldap_bind_pw: - - + +

ldap_bind_pw: + + - + - - + + -

+

- -

ldap_user_attribute: - - + +

ldap_user_attribute: + + - - + + - - + + - -

ldap_memberattribute: - - + +

ldap_memberattribute: + + - + - - + + - -

ldap_objectclass: - - + +

ldap_objectclass: + + - - + + - - + + - -

ldap_contexts: - - + +

ldap_contexts: + + - - + + - - + + - -

ldap_search_sub: - - + +

ldap_search_sub: + + - - + + - + + + + +

+ + + + +

:

+ + +
+ + + +

+ + + + +

:

+ + +
+ + + +

+

+ + + + + +

+

NOTE! This just configuration interface for expiration, code does not support expiration yet.!

+ + + + +

ldap_expiration: + + ldap_expiration, ""); + if (isset($err["ldap_expiration"])) formerr($err["ldap_expiration"]); + ?> + + + + + + + +

ldap_exprireattr: + + + + + + + + + + +

ldap_gracelogins: + + ldap_gracelogins, ""); + if (isset($err["ldap_expiration"])) formerr($err["ldap_expiration"]); + ?> + + + + + + + +

ldap_graceattr: + + + + + + + + + + + -

+

- - -

ldap_create_context: - - + + +

ldap_create_context: + + - + - - + + -

+

- -

ldap_creators: - - + +

ldap_creators: + + - + - - + + + + -

+

- -

: - - -

+ +

: + + +

-
+
-
+
-
-
- - +
+
+ +
- - - - -

: - - -

+ + + + +

: + + +

-
+
-
+
-
-
- - - - -

: - - -

+
+
+ + + + +

: + + +

-
+
-
+
-
-
- - - - -

1: - - -

+
+
+ + + + +

1: + + +

-
+
-
+
-
-
- - - - -

2: - - -

+
+
+ + + + +

2: + + +

-
+
-
+
-
-
- - - - -

: - - -

+
+
+ + + + +

: + + +

-
+
-
+
-
-
- - - - -

: - - -

+
+
+ + + + +

: + + +

-
+
-
+
-
-
- - - - -

: - - -

+
+
+ + + + +

: + + +

-
+
-
+
-
-
- - - - -

: - - -

+
+
+ + + + +

: + + +

-
+
-
+
-
-
- - - - -

: - - -

+
+
+ + + + +

: + + +

-
+
-
+
-
-
- - - - -

: - - -

+
+
+ + + + +

: + + +

-
+
-
+
-
-
- - - - -

: - - -

+
+
+ + + + +

: + + +

-
+
-
+
-
-
- - - - - -

: - - - - +
+

+ + + + + +

: + + + + - - - - -

:

- - -
- - - -

- - - - -

:

- - -
- - - -

-

- - + + + + diff --git a/lang/en/auth.php b/lang/en/auth.php index a2fdff2579..ec67c7cdee 100644 --- a/lang/en/auth.php +++ b/lang/en/auth.php @@ -30,6 +30,11 @@ $string['auth_imaphost'] = 'The IMAP server address. Use the IP number, not DNS $string['auth_imapport'] = 'IMAP server port number. Usually this is 143 or 993.'; $string['auth_imaptitle'] = 'Use an IMAP server'; $string['auth_imaptype'] = 'The IMAP server type. IMAP servers can have different types of authentication and negotiation.'; +$string['auth_ldap_passwdexpire_settings'] = 'LDAP password expiration settings.'; +$string['auth_ldap_expiration_desc'] = 'Select No to disable expired password checking or LDAP to read passwordexpiration time directly from LDAP.Remeber to fill attribute name ldap_expireattr'; +$string['auth_ldap_expireattr_desc'] = 'Ldap-attribute what stores password expiration time asswordAxpirationTime'; +$string['auth_ldap_gracelogins_desc'] = 'Enable LDAP gracelogin support. After password has expired user can login until gracelogin count is 0. Enabling this setting displays grace login message if password is exprired.'; +$string['auth_ldap_graceattr_desc'] = 'LDAP gracelogin attribute'; $string['auth_ldap_server_settings'] = 'LDAP server settings'; $string['auth_ldap_bind_settings'] = 'Bind settings'; $string['auth_ldap_user_settings'] = 'User lookup settings'; @@ -96,5 +101,6 @@ $string['stdchangepassword_expl'] = 'If the external authentication system allow $string['stdchangepassword_explldap'] = 'NOTE: It is recommended that you use LDAP over an SSL encrypted tunnel (ldaps://) if the LDAP server is remote.'; $string['forcechangepassword'] = 'Force change password'; $string['forcechangepassword_help'] = 'Force users to change password on their next login to Moodle.';$string['guestloginbutton'] = 'Guest login button'; +$string['forcechangepasswordfirst_help'] = 'Force users to change password on their first login to Moodle.';$string['guestloginbutton'] = 'Guest login button'; ?>