streamlining auth backends :!:
This patch is a start to make all the auth backend mor alike in configuration and to update all backend to the new OO method. This patch changed some config placeholders and thus may break existing configs! Here is a list of the new place holders used in MySQL and LDAP: %{user} - the login name %{group} - a group name %{pass} - the password (cleartext or crypted) %{dgroup} - the default group %{guid} - a group id %{uid} - a user id %{name} - full name of a user %{email} - email of a user %{dn} - DN for a user (LDAP only) The LDAP backend was enhanced a little bit. The default group now is always added to the list of returned groups. A different Server Port can be configured. More changes will follow. darcs-hash:20060121181149-7ad00-79de68aa7f87aef87dcff9dd7afd50adda859289.gz
Showing
- inc/auth/ldap.class.php 407 additions, 0 deletionsinc/auth/ldap.class.php
- inc/auth/ldap.php 0 additions, 293 deletionsinc/auth/ldap.php
- inc/auth/mysql.class.php 114 additions, 117 deletionsinc/auth/mysql.class.php
- inc/auth/mysql.php 0 additions, 196 deletionsinc/auth/mysql.php
- inc/auth/plain.class.php 6 additions, 6 deletionsinc/auth/plain.class.php
- inc/auth/plain.php 0 additions, 120 deletionsinc/auth/plain.php
Loading
Please register or sign in to comment