1081 Commits

Author SHA1 Message Date
paca70
ea81ca5f6d README updates 2003-02-24 21:09:53 +00:00
paca70
1924074c76 Added support for nonadmin course creation.
Course creators are managed by /admin/creator.php , same way that admins.
Or if authetication module have 'auth_iscreator'-function (right now only ldap-module have) ,
users are added to creators at login time.
2003-02-24 18:48:55 +00:00
paca70
5f2c35db18 Added support for usercreation from Moodle to authentication module.
Works currently only with ldap-module (tested with e-directory), but
 other modules could be extended too by
adding following functions:

function auth_user_exists ($username) {
//returns true if given username  already exists on authetication database
}

function auth_user_create ($userobject,$plainpass) {
//create new user to authentication database
//in inactive state (if posible)
//returns true if user is created
}
function auth_user_activate ($username) {
//activate external user  after email-address is confirmed
//returns true if user is activated
}
2003-02-20 21:39:51 +00:00
moodler
a657c48b96 A little fix to workaround what seems to be an ADOdb bug when using
database authentication
2003-01-06 05:37:26 +00:00
moodler
fa3ba0f6c1 Slightly more efficient way to open the database connections 2003-01-02 11:34:00 +00:00
moodler
a7514c09e6 More tweaks 2002-12-31 08:50:24 +00:00
moodler
50c4bd4145 More robustness, and some little bug fixes.
Also, database module now supports md5 passwords
2002-12-31 08:45:37 +00:00
moodler
2f99e65049 Slight changes to auth_user_login ... don't accept blank username/passwords
and some minor logic changes
2002-12-12 02:37:35 +00:00
moodler
9c645ce06c I was looking for bugs and reformatted as I went to make the layout
a little more consistent (with Moodle)
2002-12-10 12:08:57 +00:00
moodler
466558e349 Changes to allow admin to control the "forgot password" function
and a bug fix for set_config
2002-11-22 08:43:35 +00:00
paca70
ef62651f02 Fixed some typos 2002-11-21 18:40:33 +00:00
moodler
7c58aee6c7 Added full configuration to LDAP (ie transferrable fields etc) 2002-11-21 11:27:44 +00:00
moodler
7ff671df29 Bug fix for dbtype menu 2002-11-21 11:12:55 +00:00
moodler
34daec9b3b Tweaks to authentication system. Database method now allows other
fields to be specified so that things like email, names etc can be
pulled in from external database when new Moodle accounts are created
2002-11-21 07:37:21 +00:00
moodler
35a48c9ae4 A significant new system for authentication configuration that
exposes the wide array of authentication possibilities.

Authentication now has it's own page separate from other variables.

Most of this work was done by Petri Asikainen <paca@sci.fi>, who started
these changes off.

I've done some cleanups and additions which is why I'm checking it in.

It's all working pretty well at the moment but could use some testing.

Thanks, Petri!  :-)
2002-11-19 08:51:33 +00:00
moodler
e1fb2ab5e8 New imap type (imaptls) solved problems with TLS capable servers (eg Courier) 2002-11-17 15:11:35 +00:00
moodler
817c698e8f Slight updates 2002-11-17 09:57:34 +00:00
moodler
704da28e4d Remove { error, and move things around 2002-11-17 02:51:36 +00:00
moodler
bf09e379a4 Some docs added 2002-11-16 04:26:54 +00:00
moodler
98bc913c2c Slight fixes with defaults etc 2002-11-16 03:56:00 +00:00
moodler
df3988ea8b Separated code for IMAP into IMAP, POP3 and NNTP 2002-11-16 03:49:32 +00:00
moodler
d5b94ef46c Nothing missing, just needs testing and debugging 2002-11-15 09:13:31 +00:00
moodler
d17bdf2b37 More options and faster (use IPs always) 2002-11-15 08:59:30 +00:00
moodler
d1b4e17267 More authentication possibilities 2002-11-15 08:42:40 +00:00
moodler
dce48fc85a First version of code to authenticate against external database.
This NOT TESTED yet, and has parameters hardcoded ... it will of
course be using Petri's config interface later when that's ready.
2002-11-15 08:25:24 +00:00
paca70
05da6502ba added support for list users from ldap. 2002-11-12 12:10:08 +00:00
moodler
2ee53d15ff Some more clues for new admins ... 2002-10-20 18:06:04 +00:00
paca70
80f4bff33e Initial version 2002-10-07 17:17:33 +00:00
paca70
68605943ae Corrected some comments. 2002-10-03 15:55:45 +00:00
paca70
fcad13730e Initial version of ldap authentication module. It have no config-interface yet. (But it's coming)
It contains also experimental auth_get_userinfo() function, what is not used by moodle yet.
If you like to try it, create following $CFG variables to /config.php or directly to config-table and activate
ldap authentication from admin-configuration page.

$CFG->ldap_bind_dn      	"If your like to use bind-user to search users, specify it here. Someting like 'cn=ldapuser,ou=public,o=org'"
$CFG->ldap_bind_pw      	"Password for bind-user."
$CFG->ldap_contexts    		"List of contexts where users are located.
				  Separate different contexts with ';'. Something like 'ou=users,o=org; ou=other,o=org'"
$CFG->ldap_host_url      	"Specify LDAP host in URL-form like 'ldap://ldap.myorg.com/' or 'ldaps//ldap.myorg.com/' ";
$CFG->ldap_search_sub   	"Put value <> 0 if  you like to search users from subcontexts.";
$CFG->ldap_user_attribute 	"What attribute is used to name/search users. Usually 'cn'. ";

More configuration optios are coming. This version is tested against Novell E-Directory without SSL and it works fine.
2002-10-03 13:45:19 +00:00
martin
faebaf0f40 First implementation of new authentication system, which can now use
pluggable modules in the 'auth' directory.

Everything is done through authentication_user_login in lib/moodlelib.php

As well as the old default "email" confirmation, I added a new type of
confirmation "none", which basically does no confirmation at all.
2002-09-26 07:03:22 +00:00