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

Bug 415

Summary: samba problem when pam is not used
Product: Gentoo Linux Reporter: Paul de Vrieze (RETIRED) <pauldv>
Component: [OLD] ServerAssignee: Donny Davies (RETIRED) <woodchip>
Status: VERIFIED FIXED    
Severity: normal    
Priority: Normal    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul de Vrieze (RETIRED) gentoo-dev 2002-01-29 13:46:35 UTC
I found out that the web-management tool of samba (swat) doesn't work when pam 
is used with MD5 passwords and pam disabled in the config. Samba compares the 
code only with the crypt of the password and (of course) fails.

(Swat uses unix account, NOT smbpasswd aparently (really I checked it using the 
debugger)) Because of this I recommend putting pam on in the ebuild file, or 
hack the appropriate file (pass_check.c) to also check on MD5

Paul
Comment 1 Donny Davies (RETIRED) gentoo-dev 2002-01-29 16:49:13 UTC
since the pam config file is pointing to the smbpasswd
file i dont have a problem with making pam required for samba.

people can configure their pam differently if they desire.
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-19 12:38:23 UTC
Closing the bug