[Samba] PAM session trouble

Buchan Milne bgmilne at cae.co.za
Mon Aug 5 07:40:02 GMT 2002


> 
> Well, there isn't any point.  In Samba '2.999' aka HEAD snapshot Samba
> will never call PAM for authenticaion when 'encrypt passwords = yes',
> and while it will use pam for 'account' controls, it won't gain you
> anything - its the same checks that are already done.

Well, in 2.2.5, I can use "obey pam restrictions = yes" with winbind to 
create home directories via pam_mkhomedir. Are you saying

1)This won't work in 3.0
2)Samba does this (creating the homedir) already
3)"obey pam restrictions = yes" is effectively set (thus my:

session     required      /lib/security/pam_mkhomedir.so skel=/etc/skel/ 
umask=0022

in /etc/pam.d/samba will work anyway)?

Buchan

-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x121
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7





More information about the samba mailing list