diff options
author | matthias.grimm <matthias.grimm@users.sourceforge.net> | 2005-05-08 20:31:40 +0200 |
---|---|---|
committer | matthias.grimm <matthias.grimm@users.sourceforge.net> | 2005-05-08 20:31:40 +0200 |
commit | 7c37db8ace6aa37def9e7e926b8e8be34d4cde82 (patch) | |
tree | 4ca5dfc1ce04b5bc60cddb35865e577973343755 /inc/auth_ldap.php | |
parent | 919eeb46b9cf5cee0b72c69800ec2cbde1c46056 (diff) | |
download | rpg-7c37db8ace6aa37def9e7e926b8e8be34d4cde82.tar.gz rpg-7c37db8ace6aa37def9e7e926b8e8be34d4cde82.tar.bz2 |
mysql create user function
This patch adds the missing function createuser in the mysql auth module.
Some new SQL statements have to be defined so that it works:
$conf['auth']['mysql']['getgroupid'] to get the ID of a given group
$conf['auth']['mysql']['adduser'] to add a user to the database
$conf['auth']['mysql']['addusergroup'] to let the user join a given group
darcs-hash:20050508183140-45302-de96a42fd79801a5e9ab14cb476f56b2c9432d7c.gz
Diffstat (limited to 'inc/auth_ldap.php')
-rw-r--r-- | inc/auth_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth_ldap.php b/inc/auth_ldap.php index 1ab5206a7..6c852810d 100644 --- a/inc/auth_ldap.php +++ b/inc/auth_ldap.php @@ -199,7 +199,7 @@ function auth_getUserData($user){ * * @author Andreas Gohr <andi@splitbrain.org> */ -function auth_createUser($user,$name,$mail){ +function auth_createUser($user,$pass,$name,$mail){ msg("Sorry. Creating users is not supported by the LDAP backend",-1); return null; } |