Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added easy interface to specify ldap-attribute types and objectclasses.

Just select ldap-server type and you are done. Old variables can still be used
to override builtin settings.


TRANSLATORS NOTICE:
Some ldap-fields are now optional!
  • Loading branch information...
commit ad95a28f2b61a097d2355268b392d5051c6d4ea4 1 parent 686650d
authored

Showing 1 changed file with 32 additions and 30 deletions. Show diff stats Hide diff stats

  1. 62  lang/en/auth.php
62  lang/en/auth.php
... ...
@@ -1,7 +1,9 @@
1  
-<?php // $Id$ 
2  
-      // auth.php - created with Moodle 1.2 development (2003111400)
  1
+<?PHP // $Id$ 
  2
+      // auth.php - created with Moodle 1.5 unstable development (2004092000)
3 3
 
4 4
 
  5
+$string['auth_common_settings'] = 'Common settings';
  6
+$string['auth_data_mapping'] = 'Data mapping';
5 7
 $string['auth_dbdescription'] = 'This method uses an external database table to check whether a given username and password is valid.  If the account is a new one, then information from other fields may also be copied across into Moodle.';
6 8
 $string['auth_dbextrafields'] = 'These fields are optional.  You can choose to pre-fill some Moodle user fields with information from the <b>external database fields</b> that you specify here. <p>If you leave these blank, then defaults will be used.<p>In either case, the user will be able to edit all of these fields after they log in.';
7 9
 $string['auth_dbfieldpass'] = 'Name of the field containing passwords';
@@ -18,40 +20,39 @@
18 20
 $string['auth_editlock_expl'] = '<p><b>Lock value:</b> If enabled, will prevent Moodle users and admins from editing the field directly. Use this option if you are maintaining this data in the external auth system. </p>';
19 21
 $string['auth_emaildescription'] = 'Email confirmation is the default authentication method.  When the user signs up, choosing their own new username and password, a confirmation email is sent to the user\'s email address.  This email contains a secure link to a page where the user can confirm their account. Future logins just check the username and password against the stored values in the Moodle database.';
20 22
 $string['auth_emailtitle'] = 'Email-based authentication';
21  
-$string['auth_fctitle'] = 'Use a FirstClass server';
  23
+$string['auth_fccreators'] = 'List of groups whose members are allowed to create new courses. Separate multiple groups with \';\'. Names must be spelled exactly as on FirstClass server. System is case-sensitive.';
22 24
 $string['auth_fcdescription'] = 'This method uses a FisrtClass server to check whether a given username and password is valid.';
23  
-$string['auth_fchost'] = 'The FirstClass server address. Use the IP number or DNS name.';
24 25
 $string['auth_fcfppport'] = 'Server port (3333 is the most common)';
25  
-$string['auth_fcuserid'] = "Userid for FirstClass account with privilege 'Subadministrator' set.";
  26
+$string['auth_fchost'] = 'The FirstClass server address. Use the IP number or DNS name.';
26 27
 $string['auth_fcpasswd'] = 'Password for the account above.';
27  
-$string['auth_fccreators'] = "List of groups whose members are allowed to create new courses. Separate multiple groups with ';'. Names must be spelled exactly as on FirstClass server. System is case-sensitive.";
  28
+$string['auth_fctitle'] = 'Use a FirstClass server';
  29
+$string['auth_fcuserid'] = 'Userid for FirstClass account with privilege \'Subadministrator\' set.';
28 30
 $string['auth_imapdescription'] = 'This method uses an IMAP server to check whether a given username and password is valid.';
29 31
 $string['auth_imaphost'] = 'The IMAP server address. Use the IP number, not DNS name.';
30 32
 $string['auth_imapport'] = 'IMAP server port number. Usually this is 143 or 993.';
31 33
 $string['auth_imaptitle'] = 'Use an IMAP server';
32 34
 $string['auth_imaptype'] = 'The IMAP server type.  IMAP servers can have different types of authentication and negotiation.';
33  
-$string['auth_ldap_passwdexpire_settings'] = 'LDAP password expiration settings.';
34  
-$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';
35  
-$string['auth_ldap_expireattr_desc'] = 'Ldap-attribute what stores password expiration time asswordAxpirationTime';
36  
-$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.';
37  
-$string['auth_ldap_graceattr_desc'] = 'LDAP gracelogin attribute';
38  
-$string['auth_ldap_server_settings'] = 'LDAP server settings';
39  
-$string['auth_ldap_bind_settings'] = 'Bind settings';
40  
-$string['auth_ldap_user_settings'] = 'User lookup settings';
41  
-$string['auth_ldap_login_settings'] = 'Login settings';
42  
-$string['auth_common_settings'] = 'Common settings';
43  
-$string['auth_data_mapping'] = 'Data mapping';
44 35
 $string['auth_ldap_bind_dn'] = 'If you want to use bind-user to search users, specify it here. Someting like \'cn=ldapuser,ou=public,o=org\'';
45 36
 $string['auth_ldap_bind_pw'] = 'Password for bind-user.';
  37
+$string['auth_ldap_bind_settings'] = 'Bind settings';
46 38
 $string['auth_ldap_contexts'] = 'List of contexts where users are located. Separate different contexts with \';\'. For example: \'ou=users,o=org; ou=others,o=org\'';
47  
-$string['auth_ldap_create_context'] = 'If you enable user creation with email confirmation, specify the context where users are created. This context should be different from other users to prevent security issues. You don\'t need to add this context to ldap_context-variable, Moodle will search for users from this context automatically.<br/><b>Note!</b> You have to modify function auth_user_create() in file auth/ldap/lib.phpi to make usercreation work';
  39
+$string['auth_ldap_create_context'] = 'If you enable user creation with email confirmation, specify the context where users are created. This context should be different from other users to prevent security issues. You don\'t need to add this context to ldap_context-variable, Moodle will search for users from this context automatically.<br/><b>Note!</b> You have to modify function auth_user_create() in file auth/ldap/lib.php to make user creation work';
48 40
 $string['auth_ldap_creators'] = 'List of groups whose members are allowed to create new courses. Separate multiple groups with \';\'. Usually something like \'cn=teachers,ou=staff,o=myorg\'';
  41
+$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';
  42
+$string['auth_ldap_expireattr_desc'] = 'Optional: overrides ldap-attribute what stores password expiration time asswordAxpirationTime';
  43
+$string['auth_ldap_graceattr_desc'] = 'Optional: Overrides  gracelogin attribute';
  44
+$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.';
49 45
 $string['auth_ldap_host_url'] = 'Specify LDAP host in URL-form like \'ldap://ldap.myorg.com/\' or \'ldaps://ldap.myorg.com/\' Separate multipleservers with \';\' to get failover support. ';
50  
-$string['auth_ldap_memberattribute'] = 'Specify user member attribute, when users belongs to a group. Usually \'member\'';
51  
-$string['auth_ldap_search_sub'] = 'Put value &lt;&gt; 0 if  you like to search users from subcontexts.';
52  
-$string['auth_ldap_update_userinfo'] = 'Update user information (firstname, lastname, address..) from LDAP to Moodle. Look at /auth/ldap/attr_mappings.php for mapping information';
53  
-$string['auth_ldap_user_attribute'] = 'The attribute used to name/search users. Usually \'cn\'.';
54  
-$string['auth_ldap_objectclass'] = 'The filter used to name/search users. Usually you will set it to something like objectClass=posixAccount . Defaults to objectClass=* what will return all objects from LDAP.';
  46
+$string['auth_ldap_login_settings'] = 'Login settings';
  47
+$string['auth_ldap_memberattribute'] = 'Optional: Overrides user member attribute, when users belongs to a group. Usually \'member\'';
  48
+$string['auth_ldap_objectclass'] = 'Optional: Overrides objectClass used to name/search users on ldap_user_type. Usually you dont need to chage this.';
  49
+$string['auth_ldap_passwdexpire_settings'] = 'LDAP password expiration settings.';
  50
+$string['auth_ldap_search_sub'] = 'Put value <> 0 if  you like to search users from subcontexts.';
  51
+$string['auth_ldap_server_settings'] = 'LDAP server settings';
  52
+$string['auth_ldap_update_userinfo'] = 'Update user information (firstname, lastname, address..) from LDAP to Moodle.  Specify \"Data mapping\" settings as you need.';
  53
+$string['auth_ldap_user_attribute'] = 'Optional: Overrides the attribute used to name/search users. Usually \'cn\'.';
  54
+$string['auth_ldap_user_settings'] = 'User lookup settings';
  55
+$string['auth_ldap_user_type'] = 'Select how users are stored in LDAP. This setting also specifies how login expiration, grace logins and user creation will work. ';
55 56
 $string['auth_ldap_version'] = 'The version of the LDAP protocol your server is using.';
56 57
 $string['auth_ldapdescription'] = 'This method provides authentication against an external LDAP server.
57 58
 
@@ -73,27 +74,31 @@
73 74
 $string['auth_nntptitle'] = 'Use an NNTP server';
74 75
 $string['auth_nonedescription'] = 'Users can sign in and create valid accounts immediately, with no authentication against an external server and no confirmation via email.  Be careful using this option - think of the security and administration problems this could cause.';
75 76
 $string['auth_nonetitle'] = 'No authentication';
76  
-$string['auth_pamtitle'] = 'PAM (Pluggable Authentication Modules)';
77 77
 $string['auth_pamdescription'] = 'This method uses PAM to access the native usernames on this server. You have to install <a href=\"http://www.math.ohio-state.edu/~ccunning/pam_auth/\" target=\"_blank\">PHP4 PAM Authentication</a> in order to use this module.';
  78
+$string['auth_pamtitle'] = 'PAM (Pluggable Authentication Modules)';
78 79
 $string['auth_pop3description'] = 'This method uses a POP3 server to check whether a given username and password is valid.';
79 80
 $string['auth_pop3host'] = 'The POP3 server address. Use the IP number, not DNS name.';
80 81
 $string['auth_pop3mailbox'] = 'Name of the mailbox to attempt a connection with.  (usually INBOX)';
81 82
 $string['auth_pop3port'] = 'Server port (110 is the most common, 995 is common for SSL)';
82 83
 $string['auth_pop3title'] = 'Use a POP3 server';
83 84
 $string['auth_pop3type'] = 'Server type. If your server uses certificate security, choose pop3cert.';
84  
-$string['auth_user_create'] = 'Enable user creation';
85  
-$string['auth_user_creation'] = 'New (anonymous) users can create user accounts on the external authentication source and confirmed via email. If you enable this , remember to also configure module-specific options for user creation.';
86  
-$string['auth_usernameexists'] = 'Selected username already exists. Please choose a new one.';
87 85
 $string['auth_updatelocal'] = 'Update local data';
88 86
 $string['auth_updatelocal_expl'] = '<p><b>Update local data:</b> If enabled, the field will be updated (from external auth) every time the user logs in or there is a user synchronization. Fields set to update locally should be locked.</p>';
89 87
 $string['auth_updateremote'] = 'Update external data';
90 88
 $string['auth_updateremote_expl'] = '<p><b>Update external data:</b> If enabled, the external auth will be updated when the user record is updated. Fields should be unlocked to allow edits.</p>';
91 89
 $string['auth_updateremote_ldap'] = '<p><b>Note:</b> Updating external LDAP data requires that you set binddn and bindpw to a bind-user with editing privileges to all the user records. It currently does not preserve multi-valued attributes, and will remove extra values on update. </p>';
  90
+$string['auth_user_create'] = 'Enable user creation';
  91
+$string['auth_user_creation'] = 'New (anonymous) users can create user accounts on the external authentication source and confirmed via email. If you enable this , remember to also configure module-specific options for user creation.';
  92
+$string['auth_usernameexists'] = 'Selected username already exists. Please choose a new one.';
92 93
 $string['authenticationoptions'] = 'Authentication options';
93 94
 $string['authinstructions'] = 'Here you can provide instructions for your users, so they know which username and password they should be using.  The text you enter here will appear on the login page.  If you leave this blank then no instructions will be printed.';
94 95
 $string['changepassword'] = 'Change password URL';
95 96
 $string['changepasswordhelp'] = 'Here you can specify a location at which your users can recover or change their username/password if they\'ve forgotten it.  This will be provided to users as a button on the login page and their user page.  if you leave this blank the button will not be printed.';
96 97
 $string['chooseauthmethod'] = 'Choose an authentication method: ';
  98
+$string['forcechangepassword'] = 'Force change password';
  99
+$string['forcechangepassword_help'] = 'Force users to change password on their next login to Moodle.';
  100
+$string['forcechangepasswordfirst_help'] = 'Force users to change password on their first login to Moodle.';
  101
+$string['guestloginbutton'] = 'Guest login button';
97 102
 $string['instructions'] = 'Instructions';
98 103
 $string['md5'] = 'MD5 encryption';
99 104
 $string['plaintext'] = 'Plain text';
@@ -101,8 +106,5 @@
101 106
 $string['stdchangepassword'] = 'Use standard Change Password Page';
102 107
 $string['stdchangepassword_expl'] = 'If the external authentication system allows password changes through Moodle, switch this to Yes. This setting overrides \'Change Password URL\'.';
103 108
 $string['stdchangepassword_explldap'] = 'NOTE: It is recommended that you use LDAP over an SSL encrypted tunnel (ldaps://) if the LDAP server is remote.';
104  
-$string['forcechangepassword'] = 'Force change password';
105  
-$string['forcechangepassword_help'] = 'Force users to change password on their next login to Moodle.';$string['guestloginbutton'] = 'Guest login button';
106  
-$string['forcechangepasswordfirst_help'] = 'Force users to change password on their first login to Moodle.';$string['guestloginbutton'] = 'Guest login button';
107 109
 
108 110
 ?>

0 notes on commit ad95a28

Please sign in to comment.
Something went wrong with that request. Please try again.