From: Craig S. <tc...@en...> - 2001-09-13 16:37:27
|
Is anyone working on (or has a solution to) the Exchange login issue -- when the alias is different from the users' NT account name and the prefs file can't be created? The following is my proposed solution: function checkForPrefs($data_dir, $username) { $filename = "$data_dir$username.pref"; if (!file_exists($filename)) { /** if IMAP server is Exchange **/ /** make appropriate directories **/ if (!copy("$data_dir" . "default_pref", $filename)) { echo _("Error opening ") ."$filename"; exit; } } } -- Craig Schneider Motorola Computer Group Engineering System Administration |