/[smecontribs]/rpms/smeserver-tw-logonscript/contribs8/smeserver-tw-logonscript-1.3-PamMountOptsFix-HomeNameChange.patch
ViewVC logotype

Contents of /rpms/smeserver-tw-logonscript/contribs8/smeserver-tw-logonscript-1.3-PamMountOptsFix-HomeNameChange.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun Mar 3 23:32:36 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-tw-logonscript-1_3-22_el5_sme, smeserver-tw-logonscript-1_3-21_el5_sme, smeserver-tw-logonscript-1_3-20_el5_sme, HEAD
Initial import

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 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed