1 |
bytegw |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/createlinks mezzanine_patched_e-smith-samba-1.14.0/createlinks |
2 |
|
|
--- e-smith-samba-1.14.0/createlinks 2007-12-14 10:15:20.000000000 -0700 |
3 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/createlinks 2007-12-14 10:15:02.000000000 -0700 |
4 |
|
|
@@ -25,6 +25,13 @@ |
5 |
|
|
)); |
6 |
|
|
} |
7 |
|
|
|
8 |
|
|
+foreach my $file (qw( |
9 |
|
|
+ /etc/pam.d/samba |
10 |
|
|
+ )) |
11 |
|
|
+{ |
12 |
|
|
+ templates2events($file, qw(console-save bootstrap-console-save)); |
13 |
|
|
+} |
14 |
|
|
+ |
15 |
|
|
my $event = "console-save"; |
16 |
|
|
|
17 |
|
|
$event = "bootstrap-console-save"; |
18 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/20auth mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/20auth |
19 |
|
|
--- e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/20auth 1969-12-31 17:00:00.000000000 -0700 |
20 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/20auth 2007-12-14 10:11:43.000000000 -0700 |
21 |
|
|
@@ -0,0 +1,4 @@ |
22 |
|
|
+auth required pam_nologin.so |
23 |
|
|
+auth { -f "/lib/security/pam_pwdb.so" || |
24 |
|
|
+ -f "/lib64/security/pam_pwdb.so" ? "required pam_stack.so service=system-auth" : |
25 |
|
|
+ "include system-auth" } |
26 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/30account mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/30account |
27 |
|
|
--- e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/30account 1969-12-31 17:00:00.000000000 -0700 |
28 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/30account 2007-12-14 10:10:51.000000000 -0700 |
29 |
|
|
@@ -0,0 +1,3 @@ |
30 |
|
|
+account { -f "/lib/security/pam_pwdb.so" || |
31 |
|
|
+ -f "/lib64/security/pam_pwdb.so" ? "required pam_stack.so service=system-auth" : |
32 |
|
|
+ "include system-auth" } |
33 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/40password mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/40password |
34 |
|
|
--- e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/40password 1969-12-31 17:00:00.000000000 -0700 |
35 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/40password 2007-12-14 10:10:51.000000000 -0700 |
36 |
|
|
@@ -0,0 +1,3 @@ |
37 |
|
|
+password { -f "/lib/security/pam_pwdb.so" || |
38 |
|
|
+ -f "/lib64/security/pam_pwdb.so" ? "required pam_stack.so service=system-auth" : |
39 |
|
|
+ "include system-auth" } |
40 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/50session mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/50session |
41 |
|
|
--- e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/50session 1969-12-31 17:00:00.000000000 -0700 |
42 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/50session 2007-12-14 10:11:52.000000000 -0700 |
43 |
|
|
@@ -0,0 +1,3 @@ |
44 |
|
|
+session { -f "/lib/security/pam_pwdb.so" || |
45 |
|
|
+ -f "/lib64/security/pam_pwdb.so" ? "required pam_stack.so service=system-auth" : |
46 |
|
|
+ "include system-auth" } |
47 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/template-begin mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/template-begin |
48 |
|
|
--- e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/template-begin 1969-12-31 17:00:00.000000000 -0700 |
49 |
|
|
+++ mezzanine_patched_e-smith-samba-1.14.0/root/etc/e-smith/templates/etc/pam.d/samba/template-begin 2007-12-14 10:10:51.000000000 -0700 |
50 |
|
|
@@ -0,0 +1,8 @@ |
51 |
|
|
+{ |
52 |
|
|
+ $OUT = <<HERE; |
53 |
|
|
+#%PAM-1.0 |
54 |
|
|
+HERE |
55 |
|
|
+ |
56 |
|
|
+ $OUT .= |
57 |
|
|
+ Text::Template::_load_text("/etc/e-smith/templates-default/template-begin"); |
58 |
|
|
+} |