1 |
chriscosta |
1.1 |
--- smeserver-tw-logonscript-1.3/root/home/e-smith/files/samba/netlogon/logon_script.PamMountOptsFix-HomeNameChange 2009-10-08 09:23:26.000000000 +1300 |
2 |
|
|
+++ smeserver-tw-logonscript-1.3/root/home/e-smith/files/samba/netlogon/logon_script 2009-10-29 11:14:14.000000000 +1300 |
3 |
|
|
@@ -45,7 +45,7 @@ |
4 |
|
|
print PAMCONF "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n"; |
5 |
|
|
print PAMCONF "<!DOCTYPE pam_mount SYSTEM \"pam_mount.conf.xml.dtd\">\n"; |
6 |
|
|
print PAMCONF "<pam_mount>\n"; |
7 |
|
|
- print PAMCONF "<volume user=\"*\" fstype=\"cifs\" server=\"$server_name\" path=\"%(DOMAIN_USER)\" mountpoint=\"~/home\"></volume>\n"; |
8 |
|
|
+ print PAMCONF "<volume user=\"*\" fstype=\"cifs\" server=\"$server_name\" path=\"%(DOMAIN_USER)\" mountpoint=\"~/win_home\" options=\"nodev,nosuid\"></volume>\n"; |
9 |
|
|
|
10 |
|
|
|
11 |
|
|
foreach my $ibay ($adb->ibays) |
12 |
|
|
@@ -57,7 +57,7 @@ |
13 |
|
|
if ($ibay_drive_letter ne "NONE") { |
14 |
|
|
if (grep(/^$ibay_group$/,@groups) || ($ibay_useraccess eq "wr-group-rd-everyone")){ |
15 |
|
|
print LOGON "NET USE $ibay_drive_letter: \\\\$server_name\\".$ibay_name."\r\n"; |
16 |
|
|
- print PAMCONF "<volume user=\"*\" fstype=\"cifs\" server=\"$server_name\" path=\"$ibay_name\" mountpoint=\"~/$ibay_name\"></volume>\n"; |
17 |
|
|
+ print PAMCONF "<volume user=\"*\" fstype=\"cifs\" server=\"$server_name\" path=\"$ibay_name\" mountpoint=\"~/$ibay_name\" options=\"nodev,nosuid\"></volume>\n"; |
18 |
|
|
|
19 |
|
|
} |
20 |
|
|
} |