[pkg-horde] [SCM] Debian Horde Packages repository: sork-passwd-h3 package branch, upstream+patches, updated. f911cb4f62889a5f2d823a27cfac77716121abb0
Mathieu Parent
math.parent at gmail.com
Mon Jan 4 10:38:04 UTC 2010
The following commit has been merged in the upstream+patches branch:
commit f911cb4f62889a5f2d823a27cfac77716121abb0
Merge: b42c52bb0146889a9bd2b112b13b4f150e7e9cee 6e0eaf3515ecd8a6a3d49a37e4b446b74df45a7d
Author: Mathieu Parent <math.parent at gmail.com>
Date: Mon Jan 4 11:18:46 2010 +0100
Merge branch 'upstream' into upstream+patches
Conflicts:
main.php
diff --combined config/backends.php.dist
index 4112e30,03a9180..629380f
--- a/config/backends.php.dist
+++ b/config/backends.php.dist
@@@ -1,6 -1,6 +1,6 @@@
<?php
/**
- * $Horde: passwd/config/backends.php.dist,v 1.41.2.3 2008/10/09 17:12:03 jan Exp $
+ * $Horde: passwd/config/backends.php.dist,v 1.41.2.6 2009-09-18 14:31:58 jan Exp $
*
* This file is where you specify what backends people use to change
* their passwords. There are a number of properties that you can set
@@@ -150,7 -150,7 +150,7 @@@ $backends['expect'] = array
'params' => array(
'program' => '/usr/bin/expect',
'script' => dirname(__FILE__) . '/../scripts/passwd_expect',
- 'params' => '-telnet -host localhost -output /tmp/passwd.log'
+ 'params' => '-ssh -host localhost -output `tempfile --directory /tmp/ --prefix srkpw`'
)
);
@@@ -232,6 -232,12 +232,12 @@@ $backends['ldapadmin'] = array
// Hash method to use when storing the password
'encryption' => 'crypt',
+
+ // Only applies to LDAP servers. If set, should be 0 or 1. See the LDAP
+ // documentation about the corresponding parameter REFERRALS.
+ // Windows 2003 Server require to set this parameter to 0
+ //'referrals' => 0,
+
// Whether to enable TLS for this LDAP connection
// Note: make sure the host matches cn in the server certificate
@@@ -369,53 -375,6 +375,6 @@@ $backends['pine'] = array
)
);
- // This is an example configuration for chaining multiple drivers to allow for
- // syncing of passwords across many backends using the composite driver as a
- // wrapper.
- //
- // Each of the subdrivers may contain an optional parameter called 'required'
- // that, when set to true, will cause the rest of the drivers be skipped if a
- // particular one fails.
- $backends['composite'] = array(
- 'name' => 'Example All Services',
- 'preferred' => '',
- 'password policy' => array(
- 'minLength' => 3,
- 'maxLength' => 8,
- 'minClasses' => 2,
- ),
- 'driver' => 'composite',
- 'params' => array('drivers' => array(
- 'sql' => array(
- 'name' => 'Horde Authentication',
- 'driver' => 'sql',
- 'required' => true,
- 'params' => array(
- 'phptype' => 'mysql',
- 'hostspec' => 'localhost',
- 'username' => 'horde',
- 'password' => '',
- 'encryption' => 'md5-hex',
- 'database' => 'horde',
- 'table' => 'horde_users',
- 'user_col' => 'user_uid',
- 'pass_col' => 'user_pass',
- 'show_encryption' => false
- // 'query_lookup' => '',
- // 'query_modify' => '',
- ),
- ),
- 'smbpasswd' => array(
- 'name' => 'Samba Server',
- 'driver' => 'smbpasswd',
- 'params' => array(
- 'program' => '/usr/bin/smbpasswd',
- 'host' => 'localhost',
- ),
- ),
- )),
- );
-
$backends['kolab'] = array(
'name' => 'Local Kolab Server',
'preferred' => '',
@@@ -475,3 -434,115 +434,115 @@@ $backends['http'] = array
)
)
);
+
+ $backends['soap'] = array(
+ 'name' => 'Example SOAP Server',
+ 'preferred' => '',
+ 'password policy' => array(),
+ 'driver' => 'soap',
+ 'params' => array(
+ // If this service doesn't have a WSDL, the 'location' and 'uri'
+ // parameters below must be specified instead.
+ 'wsdl' => 'http://www.example.com/service.wsdl',
+ 'method' => 'changePassword',
+ // This is the order of the arguments to the method specified above.
+ 'arguments' => array('username', 'oldpassword', 'newpassword'),
+ // These parameters are directly passed to the SoapClient object, see
+ // http://ww.php.net/manual/en/soapclient.soapclient.php for a
+ // complete list of possible parameters.
+ 'soap_params' => array(
+ 'location' => '',
+ 'uri' => '',
+ ),
+ )
+ );
+
+ // This is an example configuration for Postfix.admin 2.3.
+ // Set the 'password_policy' section as you wish.
+ // In most installations you probably only need to change the
+ // hostspec and /or password fields.
+ $backends['postfixadmin'] = array (
+ 'name' => 'Postfix Admin server',
+ 'preferred' => 'true',
+ 'password policy' => array(
+ 'minLength' => 6,
+ 'maxLength' => 20,
+ 'maxSpace' => 0,
+ 'minUpper' => 1,
+ 'minLower' => 1,
+ 'minNumeric' => 1,
+ 'minSymbols' => 0
+ ),
+ 'driver' => 'sql',
+ 'params' => array(
+ 'phptype' => 'mysql',
+ 'hostspec' => 'localhost',
+ 'username' => 'postfix',
+ 'password' => 'PASSWORD',
+ 'encryption' => 'crypt-md5',
+ 'database' => 'postfix',
+ 'table' => 'mailbox',
+ 'user_col' => 'username',
+ 'pass_col' => 'password',
+ 'show_encryption' => false,
+ // The following two settings allow you to specify custom queries for
+ // lookup and modify functions if special functions need to be
+ // performed. In places where a username or a password needs to be
+ // used, refer to this placeholder reference:
+ // %d -> gets substituted with the domain
+ // %u -> gets substituted with the user
+ // %U -> gets substituted with the user without a domain part
+ // %p -> gets substituted with the plaintext password
+ // %e -> gets substituted with the encrypted password
+ //
+ 'query_lookup' => 'SELECT password FROM mailbox WHERE username = %u and active = 1',
+ 'query_modify' => 'UPDATE mailbox SET password = %e WHERE username = %u'
+ )
+ );
+
+ // This is an example configuration for chaining multiple drivers to allow for
+ // syncing of passwords across many backends using the composite driver as a
+ // wrapper.
+ //
+ // Each of the subdrivers may contain an optional parameter called 'required'
+ // that, when set to true, will cause the rest of the drivers be skipped if a
+ // particular one fails.
+ $backends['composite'] = array(
+ 'name' => 'Example All Services',
+ 'preferred' => '',
+ 'password policy' => array(
+ 'minLength' => 3,
+ 'maxLength' => 8,
+ 'minClasses' => 2,
+ ),
+ 'driver' => 'composite',
+ 'params' => array('drivers' => array(
+ 'sql' => array(
+ 'name' => 'Horde Authentication',
+ 'driver' => 'sql',
+ 'required' => true,
+ 'params' => array(
+ 'phptype' => 'mysql',
+ 'hostspec' => 'localhost',
+ 'username' => 'horde',
+ 'password' => '',
+ 'encryption' => 'md5-hex',
+ 'database' => 'horde',
+ 'table' => 'horde_users',
+ 'user_col' => 'user_uid',
+ 'pass_col' => 'user_pass',
+ 'show_encryption' => false
+ // 'query_lookup' => '',
+ // 'query_modify' => '',
+ ),
+ ),
+ 'smbpasswd' => array(
+ 'name' => 'Samba Server',
+ 'driver' => 'smbpasswd',
+ 'params' => array(
+ 'program' => '/usr/bin/smbpasswd',
+ 'host' => 'localhost',
+ ),
+ ),
+ )),
+ );
--
Debian Horde Packages repository: sork-passwd-h3 package
More information about the pkg-horde-hackers
mailing list