Changeset 269 for trunk/alternc/patches/class/m_mail_egw.php
- Timestamp:
- Jul 19, 2009, 10:49:42 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/alternc/patches/class/m_mail_egw.php
r200 r269 51 51 $adminuser = $GLOBALS["L_EGW_ADMINUSER"]; 52 52 $adminclave = $GLOBALS["L_EGW_ADMINCLAVE"]; 53 // $account - we use the email address which is extracted from the DB 54 // $firstname - we use the left side of the email adress, which will be extracted from the database 53 $firstname = $mail; // the left side of the email 55 54 $lastname= "-"; // we have a generic lastname 56 // $passwd will be generated with some magic 57 // $email you know that, from the db 55 $email = $account = $mail ."@" .$dom; // account and email are the same 58 56 $expires= "never"; 59 57 $canchangepw= "yes"; 60 58 $anonuser= "no"; 61 $primarygroup = $domain[$size-3]; 62 $secondarygroup = join(',', array_slice($domain,0,-3)); 63 $lastname = "-"; 64 $firstname = $mail; 65 $email = $account = $mail ."@" .$dom; 66 $homedir = "/home/". $mail ."_" .$dom; 67 $loginshell = "/bin/bash"; 59 $primarygroup = $domain[$size-3]; // domains in .ar starts at the third level 60 $secondarygroup = $domain[$size-4]; // the sub-domain is used as a secondary group 61 $homedir = "/home/". $mail ."_" .$dom; // everyone can have a home 62 $loginshell = "/bin/bash"; // everyone can have a shell 68 63 69 64 $go= $admincli ." " .$command ." " .$adminuser ."," .$adminclave .",\"" .$account ."\"," .$firstname ."," .$lastname ."," .$pass .",\"" .$email ."\"," .$expires ."," .$canchangepw ."," .$anonuser ."," .$primarygroup ; … … 105 100 $adminuser = $GLOBALS["L_EGW_ADMINUSER"]; 106 101 $adminclave = $GLOBALS["L_EGW_ADMINCLAVE"]; 107 // $account - we use the email address which is extracted from the DB108 102 $email = $account = $mail ."@" .$dom; 109 103
Note: See TracChangeset
for help on using the changeset viewer.