Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96921

Summary: SWAT doesn't work on Samba 3.0.,10 due to bad /etc/pam.d/samba
Product: Gentoo Linux Reporter: Manuel McLure <manuel>
Component: [OLD] ServerAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Manuel McLure 2005-06-23 21:59:19 UTC
SWAT will not allow you to log in, no matter what password you enter. This is
due to a bad /etc/pam.d/samba file

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




The included /etc/pam.d/samba files has the following two lines:

account    include     system-auth
session    include     system-auth

This causes SWAT to be unable to create a session for the user. The correct
lines should be

account    required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
Comment 1 Christian Andreetta (RETIRED) gentoo-dev 2005-06-24 02:26:17 UTC

*** This bug has been marked as a duplicate of 95695 ***