/[smecontribs]/rpms/smeserver-adv-samba/contribs7/smeserver-adv-samba-0.1.0-2.patch
ViewVC logotype

Contents of /rpms/smeserver-adv-samba/contribs7/smeserver-adv-samba-0.1.0-2.patch

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


Revision 1.3 - (show annotations) (download)
Tue Nov 25 16:20:16 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: smeserver-adv-samba-0_1_0-7_el4_sme, smeserver-adv-samba-0_1_0-6_el4_sme, HEAD
Changes since 1.2: +0 -0 lines
Restore

1 diff -ruN smeserver-adv-samba-0.1.0-virgin/createlinks smeserver-adv-samba-0.1.0-mod/createlinks
2 --- smeserver-adv-samba-0.1.0-virgin/createlinks 2008-04-11 21:38:09.000000000 -0700
3 +++ smeserver-adv-samba-0.1.0-mod/createlinks 2008-09-30 23:44:31.000000000 -0700
4 @@ -2,6 +2,9 @@
5
6 use esmith::Build::CreateLinks qw(:all);
7
8 +templates2events("/etc/pam.d/login", "post-upgrade");
9 +
10 +# Restart winbindd service during workgroup-update event
11 $event = "workgroup-update";
12 safe_symlink("sigterm", "root/etc/e-smith/events/$event/services2adjust/winbindd");
13
14 diff -ruN smeserver-adv-samba-0.1.0-virgin/root/etc/e-smith/templates/etc/pam.d/login/22winbinddAuth smeserver-adv-samba-0.1.0-mod/root/etc/e-smith/templates/etc/pam.d/login/22winbinddAuth
15 --- smeserver-adv-samba-0.1.0-virgin/root/etc/e-smith/templates/etc/pam.d/login/22winbinddAuth 1969-12-31 16:00:00.000000000 -0800
16 +++ smeserver-adv-samba-0.1.0-mod/root/etc/e-smith/templates/etc/pam.d/login/22winbinddAuth 2008-09-30 23:49:31.000000000 -0700
17 @@ -0,0 +1,5 @@
18 +{
19 +return ('') unless ($winbindd{status} eq 'enabled');
20 +return ('auth sufficient pam_winbind.so');
21 +}
22 +
23 diff -ruN smeserver-adv-samba-0.1.0-virgin/root/etc/e-smith/templates/etc/pam.d/login/23unixAuth smeserver-adv-samba-0.1.0-mod/root/etc/e-smith/templates/etc/pam.d/login/23unixAuth
24 --- smeserver-adv-samba-0.1.0-virgin/root/etc/e-smith/templates/etc/pam.d/login/23unixAuth 1969-12-31 16:00:00.000000000 -0800
25 +++ smeserver-adv-samba-0.1.0-mod/root/etc/e-smith/templates/etc/pam.d/login/23unixAuth 2008-09-30 23:49:38.000000000 -0700
26 @@ -0,0 +1,4 @@
27 +{
28 +return ('') unless ($winbindd{status} eq 'enabled');
29 +return ('auth sufficient pam_unix.so use_first_pass');
30 +}
31 diff -ruN smeserver-adv-samba-0.1.0-virgin/root/etc/e-smith/templates/etc/pam.d/login/32winbinddAccount smeserver-adv-samba-0.1.0-mod/root/etc/e-smith/templates/etc/pam.d/login/32winbinddAccount
32 --- smeserver-adv-samba-0.1.0-virgin/root/etc/e-smith/templates/etc/pam.d/login/32winbinddAccount 1969-12-31 16:00:00.000000000 -0800
33 +++ smeserver-adv-samba-0.1.0-mod/root/etc/e-smith/templates/etc/pam.d/login/32winbinddAccount 2008-09-30 23:49:49.000000000 -0700
34 @@ -0,0 +1,4 @@
35 +{
36 +return ('') unless ($winbindd{status} eq 'enabled');
37 +return ('account sufficient pam_winbind.so');
38 +}
39 diff -ruN smeserver-adv-samba-0.1.0-virgin/root/etc/e-smith/templates/etc/smb.conf/ibays/22forceGroup smeserver-adv-samba-0.1.0-mod/root/etc/e-smith/templates/etc/smb.conf/ibays/22forceGroup
40 --- smeserver-adv-samba-0.1.0-virgin/root/etc/e-smith/templates/etc/smb.conf/ibays/22forceGroup 1969-12-31 16:00:00.000000000 -0800
41 +++ smeserver-adv-samba-0.1.0-mod/root/etc/e-smith/templates/etc/smb.conf/ibays/22forceGroup 2008-10-01 00:06:38.000000000 -0700
42 @@ -0,0 +1,5 @@
43 +{
44 +return '' unless $smb{ServerRole} =~ m{^(DM|ADM)$};
45 +my $group_name = $ibay->prop('Group') || 'Shared';
46 +return ("force group = $group_name");
47 +}

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