SWAT/md5/shadow/pam

Marc Pfefferkorn marc at peppercorn.de
Wed Oct 31 09:06:25 GMT 2001


Hi together,

i've read a few mails here about the following problem, but the solution
comes not clear to me.

I'm using SuSE 7.3 (kernel 2.4.10), and samba 2.2.2.

Following problem appeared:

In the standard settings for pam.d/login,passwd,other and samba SWAT
works well. Swat is access able as root and as user.
Changing the options in /etc/pam.d to use md5-hashes in shadow, SWAT
denies all accesses after making a passwd for the affected user or root
to activate the md5-hash in shadow.

Deactivation the md5 option in the /etc/pam.d/files
(passswd,login,other,samba), changing the  md5-hash back by doing a
passwd $user, and the user/root is accepted by SWAT.

Due to the fact that i will not deactivate md5-hashes in shadow, i wish
to 'teach' SWAT to accept the md5-passwords in shadow.

Can anyone rebuild this problem ?

PS: samba was compiled with --with-pam.

If it's helpful i can send the /etc/pam.d/files in the working and not
working version.

MArc




More information about the samba mailing list