]>
Commit | Line | Data |
---|---|---|
054261b0 JR |
1 | --- squirrelmail-1.4.5/plugins/retrieveuserdata/passwd.php~ 2003-02-03 01:03:58.000000000 +0100 |
2 | +++ squirrelmail-1.4.5/plugins/retrieveuserdata/passwd.php 2005-08-09 16:53:30.683819224 +0200 | |
3 | @@ -10,7 +10,9 @@ | |
4 | */ | |
5 | ||
6 | function retrieve_data ($uid, $passwd) { | |
7 | - | |
8 | + | |
9 | + global $domain; | |
10 | + | |
11 | $error = 0; | |
12 | ||
13 | $result = posix_getpwnam( $uid ); | |
14 | @@ -21,7 +23,7 @@ | |
15 | $error = 1; | |
16 | } | |
17 | ||
18 | - return array('error'=>$error, 'common_name'=>$common_name, 'mail_address'=>''); | |
19 | + return array('error'=>$error, 'common_name'=>$common_name, 'mail_address'=>$uid . '@' . $domain); | |
20 | ||
21 | } | |
22 |