SOURCES: squirrelmail-plugin-retrieveuserdata-passwd.patch (NEW) -...
hawk
hawk at pld-linux.org
Tue May 30 09:17:45 CEST 2006
Author: hawk Date: Tue May 30 07:17:45 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- copied from squirrelmail-retrieveuserdata-passwd.patch
---- Files affected:
SOURCES:
squirrelmail-plugin-retrieveuserdata-passwd.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/squirrelmail-plugin-retrieveuserdata-passwd.patch
diff -u /dev/null SOURCES/squirrelmail-plugin-retrieveuserdata-passwd.patch:1.1
--- /dev/null Tue May 30 09:17:45 2006
+++ SOURCES/squirrelmail-plugin-retrieveuserdata-passwd.patch Tue May 30 09:17:40 2006
@@ -0,0 +1,22 @@
+--- passwd.php~ 2003-02-03 01:03:58.000000000 +0100
++++ passwd.php 2005-08-09 16:53:30.683819224 +0200
+@@ -10,7 +10,9 @@
+ */
+
+ function retrieve_data ($uid, $passwd) {
+-
++
++ global $domain;
++
+ $error = 0;
+
+ $result = posix_getpwnam( $uid );
+@@ -21,7 +23,7 @@
+ $error = 1;
+ }
+
+- return array('error'=>$error, 'common_name'=>$common_name, 'mail_address'=>'');
++ return array('error'=>$error, 'common_name'=>$common_name, 'mail_address'=>$uid . '@' . $domain);
+
+ }
+
================================================================
More information about the pld-cvs-commit
mailing list