[Samba] Pam ignored?

Gaétan Quentin qg_tech at noos.fr
Sat Apr 22 10:50:13 GMT 2006


Hi,

 On Linux Mandriva:

 i have a binary smbd daemon and want to know if it can use PAM: 


 smbd -b |grep -i pam gives:
 HAVE_SECURITY_PAM_APPL_H
 HAVE_SECURITY_PAM_MODULES_H
 HAVE_SECURITY__PAM_MACROS_H
 HAVE_LIBPAM
 WITH_PAM
 WITH_PAM

ldd smbd |grep -i pam:
        libpam.so.0 => /lib/libpam.so.0 (0xb7d95000)

in my smb.conf:
   obey pam restrictions = yes
   encrypt passwords = no


Is that sufficient to say that samba can use pam? 

Because it looks like smbd ignores completly what i write in 
the /etc/pam.d/samba file: i can even write syntax errors, it does't matter. 

And with a high log level , if i grep logs (grep -i pam /var/log/samba/*) 
there is nothing.....I can't see anything about pam...

What have a forgotten for samba to be able to use 


More information about the samba mailing list