diff --git a/root/etc/e-smith/templates/etc/smb.conf/22MapHomeDir b/root/etc/e-smith/templates/etc/smb.conf/22MapHomeDir deleted file mode 100644 index 77e109f..0000000 --- a/root/etc/e-smith/templates/etc/smb.conf/22MapHomeDir +++ /dev/null @@ -1,2 +0,0 @@ -logon drive = { $smb{'HomeDrive'} || 'h:' } - diff --git a/root/etc/e-smith/web/functions/logonscript b/root/etc/e-smith/web/functions/logonscript index 5d0dff8..415172d 100644 --- a/root/etc/e-smith/web/functions/logonscript +++ b/root/etc/e-smith/web/functions/logonscript @@ -42,14 +42,14 @@ __DATA__ FIRSTPAGE_DESC + options="'a' => 'A:', 'b' => 'B:', 'c' => 'C:', 'd' => 'D:', + 'e' => 'E:', 'f' => 'F:', 'g' => 'G:', 'h' => 'H:', + 'i' => 'I:', 'j' => 'J:', 'k' => 'K:', 'l' => 'L:', + 'm' => 'M:', 'n' => 'N:', 'o' => 'O:', 'p' => 'P:', + 'q' => 'Q:', 'r' => 'R:', 's' => 'S:', 't' => 'T:', + 'u' => 'U:', 'v' => 'V:', 'w' => 'W:', 'x' => 'X:', + 'y' => 'Y:', 'z' => 'Z:'" + value="get_prop('smb', 'LogonDrive')"> DESC_HOME_DRIVE diff --git a/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/logonscript.pm b/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/logonscript.pm index 545c63f..3d40a5d 100644 --- a/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/logonscript.pm +++ b/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/logonscript.pm @@ -61,7 +61,7 @@ sub save_change { } print LOGON $logon; close LOGON; - $c->set_prop('smb', 'HomeDrive', $drive); + $c->set_prop('smb', 'LogonDrive', $drive); unless ( system ("/sbin/e-smith/signal-event", "workgroup-update") == 0 ){ return $self->error('ERROR_OCCURED');; }