>что и как вписано в конфиги пам - в студию. Конфиги в студии...
Это для ssh и kde.
Непонял я что нужно править для самбы? /etc/pam.d/login?
/etc/pam.d/kde
#
# $FreeBSD: src/etc/pam.d/kde,v 1.6 2003/04/30 21:57:54 markm Exp $
#
# PAM configuration for the "kde" service
#
# auth
auth required pam_nologin.so no_warn
auth sufficient /usr/local/lib/pam_winbind.so
#auth sufficient pam_krb5.so no_warn try_first_pass
#auth sufficient pam_ssh.so no_warn try_first_pass
auth required pam_unix.so no_warn try_first_pass
# account
#account required pam_krb5.so
account required pam_unix.so
# session
#session optional pam_ssh.so
session required pam_permit.so
session required /usr/local/lib/pam_mkhomedir.so
/etc/pam.d/ssh
#
# $FreeBSD: src/etc/pam.d/sshd,v 1.15.12.1 2007/08/17 11:28:25 yar Exp $
#
# PAM configuration for the "sshd" service
#
auth required pam_nologin.so no_warn
# auth
auth sufficient /usr/local/lib/pam_winbind.so
auth sufficient pam_opie.so no_warn no_fake_prompts
auth requisite pam_opieaccess.so no_warn allow_local
auth required pam_unix.so no_warn try_first_pass
# account
account sufficient /usr/local/lib/pam_winbind.so
account required pam_login_access.so
account required pam_unix.so
# session
session required /usr/local/lib/pam_mkhomedir.so
session required pam_permit.so
password required pam_unix.so no_warn try_first_pass