From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705) Description of problem: Neither os samba packages contains pam_smbpass.so in RedHat 8.0 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install samba, samba-common and samba-client 2. where is pam_smbpass.so ? 3. Actual Results: Enable to use pam_smbpass.so Expected Results: Expected to find /lib/security/pam_smbpass.so Additional info:
The most recent samba-2.2.7-1.7.3 errata release for Valhalla is missing this PAM module, too.
https://listman.redhat.com/pipermail/valhalla-list/2002-November/021392.html
Created attachment 88689 [details] Patch to samba.spec for samba-2.2.7-2.src.rpm I don't know if 'pam_smbpass' was removed from this RPM due to security issues, but this patch reenables this PAM module. You can recompile the samba packages with: rpm -ivh samba-2.2.7-2.src.rpm cd /usr/src/redhat/SPECS patch < samba.spec.patch rpmbuild -bb samba.spec
Linking for cross-reference: bug #79059
Comment on attachment 88689 [details] Patch to samba.spec for samba-2.2.7-2.src.rpm Sorry, the patch's file name was included as attachment instead of its contents. --------------------------------8<----------------8<--------------------------- ----------------- --- samba.spec.orig 2002-11-20 17:57:19.000000000 +0100 +++ samba.spec 2002-12-13 14:49:24.000000000 +0100 @@ -103,7 +103,7 @@ %patch3 -p1 -b .gawk %patch5 -p1 -b .krb5-1.2 %patch6 -p1 -b .buildroot -%patch7 -p1 -b .smbpass +#%patch7 -p1 -b .smbpass %patch13 -p1 -b .winsfixes %patch14 -p1 -b .locfix %patch15 -p1 -b .lfs @@ -138,8 +138,8 @@ --with-utmp \ --with-piddir=/var/run/samba \ --with-acl-support \ + --with-pam_smbpass \ --with-vfs -# --with-pam_smbpass \ make CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" \ @@ -201,9 +201,10 @@ # pam_smbpass mkdir -p $RPM_BUILD_ROOT/lib/security -#mv $RPM_BUILD_ROOT%{_bindir}/pam_smbpass.so $RPM_BUILD_ROOT/lib/security/pam_smbpass.so -#cp -r source/pam_smbpass/ docs/ -rm -f docs/pam_smbpass/*.* +mv $RPM_BUILD_ROOT%{_bindir}/pam_smbpass.so $RPM_BUILD_ROOT/lib/security/pam_smbpass.so +mkdir docs/pam_smbpass +cp -r source/pam_smbpass/{CHANGELOG,INSTALL,README,samples,TODO} docs/pam_smbpass +#rm -f docs/pam_smbpass/*.* # winbind install -m 755 source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/lib/security/pam_winbind.so @@ -299,7 +300,7 @@ %doc examples/printing %doc examples/VFS/recycle/recycle.conf examples/VFS/recycle/README.vfs-recycle -#attr(755,root,root) /lib/security/pam_smbpass.so +%attr(755,root,root) /lib/security/pam_smbpass.so %{_sbindir}/smbd %{_sbindir}/nmbd %{_bindir}/make_unicodemap --------------------------------8<----------------8<--------------------------- ----------------- As you can see, I only removed patch #7 which is no longer needed (it causes to duplicate an object module in pam_smbpass.so compilation), enabled pam_smbpass during configuration, and uncomented the lines regarding to pam_smbpass inclussion on samba RPM (I also modified the copy of documentation files to avoid inclusion of source and temporary object files into docs/pam_smbpass).
Samba 2.2.7-5.8.0 also lacks pam_smbpass.so
triage->duplicate (78881) : Same resolution as bug 78881 comment 2 and comment 3?
pam_smbpass is included in current Samba rpms.