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

Annotation of /rpms/smeserver-tw-logonscript/contribs7/smeserver-tw-logonscript-1.3-PamMountOptsFix-HomeNameChange.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Oct 28 22:25:00 2009 UTC (15 years, 1 month ago) by chriscosta
Branch: MAIN
CVS Tags: smeserver-tw-logonscript-1_3-12_el4_sme, smeserver-tw-logonscript-1_3-8_el4_sme, smeserver-tw-logonscript-1_3-9_el4_sme, smeserver-tw-logonscript-1_3-19_el4_sme, smeserver-tw-logonscript-1_3-20_el4_sme, smeserver-tw-logonscript-1_3-15_el4_sme, smeserver-tw-logonscript-1_3-17_el4_sme, smeserver-tw-logonscript-1_3-14_el4_sme, smeserver-tw-logonscript-1_3-11_el4_sme, smeserver-tw-logonscript-1_3-16_el4_sme, smeserver-tw-logonscript-1_3-13_el4_sme, smeserver-tw-logonscript-1_3-10_el4_sme, HEAD
.pam_mount.xml generation changes

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     }

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