|
@@ -21,7 +21,8 @@ REQUIREMENTS:
|
|
|
- poppass backend needs poppassd server that supports authentication
|
|
|
used by imap server.
|
|
|
- vmailmgrd backend needs vmailmgr php library (vmail.inc) and
|
|
|
- vmailmgrd service running on tcp port or unix socket.
|
|
|
+ vmailmgrd service running on tcp port or unix socket. It also
|
|
|
+ requires SquirrelMail 1.4.4 or 1.5.1.
|
|
|
|
|
|
CONFIGURATION
|
|
|
Edit the file config.php to set the backend you want to use.
|
|
@@ -147,23 +148,25 @@ ABOUT LDAP BACKEND
|
|
|
backend supports:
|
|
|
- md5 - used name 'md5'. Implemented in standard php functions.
|
|
|
- smd5 - used name 'smd5'. Implemented in php mhash extension functions.
|
|
|
- Minimal php version 4.0.4.
|
|
|
- - sha - used name 'sha'. Implemented in php mhash extension functions.
|
|
|
- - ssha - used name 'ssha'. Implemeted in php mhash extension functions.
|
|
|
- Minimal php version 4.0.4.
|
|
|
+ Minimal php version = 4.0.4.
|
|
|
+ - sha - used name 'sha'. Implemented in php mhash extension functions
|
|
|
+ and php 4.3.0+ sha1() function. mhash extension is used only wheh
|
|
|
+ sha1() function is unavailable.
|
|
|
+ - ssha - used name 'ssha'. Implemented in php mhash extension functions.
|
|
|
+ Minimal php version = 4.0.4.
|
|
|
- md5 crypt - used name 'md5crypt'. Uses php crypt function. Depends on
|
|
|
md5 support in system crypt libraries. Should work on linux glibc2 systems
|
|
|
and bsd systems.
|
|
|
- - blowfish crypt - used name 'blowfish' Uses php crypt function. Depends on
|
|
|
+ - blowfish crypt - used name 'blowfish'. Uses php crypt function. Depends on
|
|
|
blowfish support in system crypt libraries. Should work on bsd systems.
|
|
|
- Is not supported by glibc 2.3.2.
|
|
|
+ Is not supported by glibc 2.3.2. (Tested on OpenBSD 3.5)
|
|
|
- extended des crypt - used name 'extcrypt'. Uses php crypt function. Depends on
|
|
|
extended des support in system crypt libraries. Should work on bsd systems.
|
|
|
- Is not supported by glibc 2.3.2.
|
|
|
+ Is not supported by glibc 2.3.2. (Tested on OpenBSD 3.5)
|
|
|
- standard des crypt - used name 'crypt'. Uses php crypt function. Depends on
|
|
|
standard des support in system crypt libraries. Should work on libc systems
|
|
|
and bsd systems.
|
|
|
- - plain text passwords - used name 'plaintext'
|
|
|
+ - plain text passwords - used name 'plaintext'.
|
|
|
|
|
|
If you use admindn, plugin should support all encryption/hashing
|
|
|
algorithms used in your ldap server.
|
|
@@ -187,7 +190,7 @@ ABOUT LDAP BACKEND
|
|
|
server supports sha, ssha or smd5 and mhash extension is not
|
|
|
present.
|
|
|
|
|
|
- Example:
|
|
|
+ Configuration example:
|
|
|
$cpw_ldap['base_dn']='ou=users,dc=example,dc=com'; // sets base dn
|
|
|
$cpw_ldap['connect_opts']['PROTOCOL_VERSION']=3; // forces v3 bind protocol
|
|
|
|