[Samba] Question on pam_smbpass

John H Terpstra jht at samba.org
Tue Jun 10 16:47:48 GMT 2003

On Tue, 10 Jun 2003, Sameer Zeidat wrote:

> Greetings all ..
> Is it possible to use pam_smbpass with a smbpasswd backend for login on
> a linux machine. If yes, how will it figure out things like home
> directory and shell?

Yes. You still need an /etc/passwd entry for each user though. The
smbpasswd file does NOT replace /etc/passwd, unless you are using Winbind.

If using Winbind then you will need to use pam_mount and / or
pam_mkhomedir to handle home directories. The shell information is se
either in smb.conf OR in your password backend. Obviously, the smbpasswd
file does NOT store this information so this is only possible with the
extended capability SAM formats (eg: tdbsam, ldapsam).

- John T.
John H Terpstra
Email: jht at samba.org

More information about the samba mailing list