[sork] [PATCH] passwd/lib/Driver/ldap.php

Amith Varghese amith at xalan.com
Tue Feb 10 11:31:54 PST 2004


This patch fixes the change that was made to the passwd driver recently so that
it reads the show_encryption parameter.

Amith
-------------- next part --------------
Index: passwd/lib/Driver/ldap.php
===================================================================
RCS file: /repository/passwd/lib/Driver/ldap.php,v
retrieving revision 1.23
diff -u -r1.23 ldap.php
--- passwd/lib/Driver/ldap.php	2 Feb 2004 02:15:22 -0000	1.23
+++ passwd/lib/Driver/ldap.php	6 Feb 2004 16:51:52 -0000
@@ -30,6 +30,7 @@
         $this->_params['host']       = isset($params['host']) ? $params['host'] : 'localhost';
         $this->_params['port']       = isset($params['port']) ? $params['port'] : 389;
         $this->_params['encryption'] = isset($params['encryption']) ? $params['encryption'] : 'crypt';
+        $this->_params['show_encryption'] = isset($params['show_encryption']) ? $params['show_encryption'] : 'true';
         $this->_params['uid']        = isset($params['uid']) ? $params['uid'] : 'uid';
         $this->_params['basedn']     = isset($params['basedn']) ? $params['basedn'] : '';
         $this->_params['realm']      = isset($params['realm']) ? $params['realm'] : '';


More information about the sork mailing list