|
|
4743e1 |
diff -up cups-1.5b1/conf/cups.password-auth.system-auth cups-1.5b1/conf/cups.password-auth
|
|
|
4743e1 |
--- cups-1.5b1/conf/cups.password-auth.system-auth 2011-05-23 17:27:27.000000000 +0200
|
|
|
4743e1 |
+++ cups-1.5b1/conf/cups.password-auth 2011-05-23 17:27:27.000000000 +0200
|
|
Tim Waugh |
12b1ae |
@@ -0,0 +1,4 @@
|
|
Tim Waugh |
12b1ae |
+#%PAM-1.0
|
|
Tim Waugh |
12b1ae |
+# Use password-auth common PAM configuration for the daemon
|
|
Tim Waugh |
12b1ae |
+auth include password-auth
|
|
Tim Waugh |
12b1ae |
+account include password-auth
|
|
|
4743e1 |
diff -up cups-1.5b1/conf/cups.system-auth.system-auth cups-1.5b1/conf/cups.system-auth
|
|
|
4743e1 |
--- cups-1.5b1/conf/cups.system-auth.system-auth 2011-05-23 17:27:27.000000000 +0200
|
|
|
4743e1 |
+++ cups-1.5b1/conf/cups.system-auth 2011-05-23 17:27:27.000000000 +0200
|
|
Tim Waugh |
12b1ae |
@@ -0,0 +1,3 @@
|
|
Tim Waugh |
12b1ae |
+#%PAM-1.0
|
|
Tim Waugh |
12b1ae |
+auth include system-auth
|
|
Tim Waugh |
12b1ae |
+account include system-auth
|
|
|
4743e1 |
diff -up cups-1.5b1/conf/Makefile.system-auth cups-1.5b1/conf/Makefile
|
|
|
4743e1 |
--- cups-1.5b1/conf/Makefile.system-auth 2011-05-12 07:21:56.000000000 +0200
|
|
|
4743e1 |
+++ cups-1.5b1/conf/Makefile 2011-05-23 17:27:27.000000000 +0200
|
|
Tim Waugh |
12b1ae |
@@ -90,10 +90,16 @@ install-data:
|
|
cvsdist |
051973 |
done
|
|
Tim Waugh |
0edf4c |
-if test x$(PAMDIR) != x; then \
|
|
Tim Waugh |
0edf4c |
$(INSTALL_DIR) -m 755 $(BUILDROOT)$(PAMDIR); \
|
|
Tim Waugh |
12b1ae |
- if test -r $(BUILDROOT)$(PAMDIR)/cups ; then \
|
|
Tim Waugh |
0edf4c |
- $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups.N ; \
|
|
Tomáš Mráz |
7aabe5 |
+ if test -f /etc/pam.d/password-auth; then \
|
|
Tim Waugh |
12b1ae |
+ $(INSTALL_DATA) cups.password-auth $(BUILDROOT)$(PAMDIR)/cups; \
|
|
Tomáš Mráz |
7aabe5 |
+ elif test -f /etc/pam.d/system-auth; then \
|
|
Tim Waugh |
12b1ae |
+ $(INSTALL_DATA) cups.system-auth $(BUILDROOT)$(PAMDIR)/cups; \
|
|
Tim Waugh |
0edf4c |
else \
|
|
Tim Waugh |
0edf4c |
- $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups ; \
|
|
Tim Waugh |
12b1ae |
+ if test -r $(BUILDROOT)$(PAMDIR)/cups ; then \
|
|
Tim Waugh |
0edf4c |
+ $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups.N ; \
|
|
Tim Waugh |
0edf4c |
+ else \
|
|
Tim Waugh |
0edf4c |
+ $(INSTALL_DATA) $(PAMFILE) $(BUILDROOT)$(PAMDIR)/cups ; \
|
|
Tim Waugh |
0edf4c |
+ fi ; \
|
|
Tim Waugh |
0edf4c |
fi ; \
|
|
cvsdist |
051973 |
fi
|
|
cvsdist |
051973 |
|