From 849582924a2db1dbdc01ed23917e82d84a1cf253 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Tue, 27 May 2003 16:57:48 +0000 Subject: Added a Common Error. (This used to be commit c3e8054a3045ae6a3558452a8bed1530bf071beb) --- .../projdoc/PAM-Authentication-And-Samba.xml | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'docs/docbook') diff --git a/docs/docbook/projdoc/PAM-Authentication-And-Samba.xml b/docs/docbook/projdoc/PAM-Authentication-And-Samba.xml index f74c8b1606..74cf577280 100644 --- a/docs/docbook/projdoc/PAM-Authentication-And-Samba.xml +++ b/docs/docbook/projdoc/PAM-Authentication-And-Samba.xml @@ -382,4 +382,51 @@ reduction of wide area network authentication traffic. + +Common Errors + + +PAM can be a very fickle and sensitive to configuration glitches. Here we look at a few cases from +the Samba mailing list. + + + + pam_winbind problem + + + I have the following PAM configuration: + + + + +auth required /lib/security/pam_securetty.so +auth sufficient /lib/security/pam_winbind.so +auth sufficient /lib/security/pam_unix.so use_first_pass nullok +auth required /lib/security/pam_stack.so service=system-auth +auth required /lib/security/pam_nologin.so +account required /lib/security/pam_stack.so service=system-auth +account required /lib/security/pam_winbind.so +password required /lib/security/pam_stack.so service=system-auth + + + + + When I open a new console with [ctrl][alt][F1], then I cant log in with my user "pitie". + I've tried with user "scienceu+pitie" also. + + + + Answer: The problem may lie with your inclusion of pam_stack.so + service=system-auth. That file often contains a lot of stuff that may + duplicate what you're already doing. Try commenting out the pam_stack lines + for auth and account and see if things work. If they do, look at + /etc/pam.d/system-auth and copy only what you need from it into your + /etc/pam.d/login file. Alternatively, if you want all services to use + winbind, you can put the winbind-specific stuff in /etc/pam.d/system-auth. + + + + + + -- cgit