[Samba] PAM with Samba

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Mar 16 13:22:23 MDT 2010

On Tue, Mar 16, 2010 at 02:14:36PM -0500, Grady Neely wrote:
> I am trying to get my Samba installation to use PAM under
> Ubuntu.  I have created the /etc/pam.d/samba, but as far
> as I can tell samba is not using the directives in there.
> I have ssh and netatalk using PAM successfully against a
> Kerberos ticket issuer, so I know my PAM installation is
> working for some services.   I am sure I have something
> wrong in my smb.conf as I am a bit of a newbie with samba
> when it comes to PAM.
> My /etc/pam.d/samba file is a clone of my netatalk PAM
> file, because my netatalk shares are working just fine.

PAM can not be used by Samba for password checking, because
the PAM API expects to see the user's plain text password.
We never see that unless you're setting "encrypt passwords =
no" which is so higly not recommended that we should
probably disable it at some point.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20100316/6e5795c7/attachment.pgp>

More information about the samba mailing list