Date: Sun, 18 Jul 2010 19:44:46 -0700 From: Michael McGrew <mmcgrew1@mail.csuchico.edu> To: freebsd-questions@freebsd.org Subject: samba pam_smbpass & passwd seg fault Message-ID: <AANLkTikzr7M2BFjaTSal7NjKoFSrlkBKXIM6yqHHqpuj@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm trying to sync the local unix account passwords to the samba smbpass db using pam. When i run passwd, after it's done it seg faults and produces a core dump. The odd thing is that it works, the users local unix password gets synced to the smbpass db, but it seg faults. Below are my relevant config files. Is this a bug or am I doing something wrong? /usr/local/etc/smb.conf security = user passdb backend = smbpasswd cat /etc/pam.d/passwd # # $FreeBSD: src/etc/pam.d/passwd,v 1.3.36.1 2010/02/10 00:26:20 kensmith Exp $ # # PAM configuration for the "passwd" service # # passwd(1) does not use the auth, account or session services. # password #password requisite pam_passwdqc.so enforce=users password required pam_unix.so no_warn try_first_pass nullok password optional /usr/local/lib/pam_smbpass.so try_first_pass smbconf=/usr/local/etc/smb.conf [root@localhost ~]# passwd Changing local password for root New Password: Retype New Password: Segmentation fault: 11 (core dumped)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikzr7M2BFjaTSal7NjKoFSrlkBKXIM6yqHHqpuj>