Skip to content

Commit

Permalink
spec files: remove pam_smbpass
Browse files Browse the repository at this point in the history
Remove remaining pam_smbpass options from RHEL spec file templates.

Signed-off-by: Alexander Bokovoy <[email protected]>
Reviewed-by: Jeremy Allison <[email protected]>
  • Loading branch information
abbra authored and jrasamba committed Nov 6, 2015
1 parent 21d0082 commit 278c257
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion packaging/RHEL-CTDB/configure.rpm
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ CC="$CC" CFLAGS="-Wall -g -D_GNU_SOURCE -O3" ./configure -C \
--with-ads \
--with-automount \
--enable-fhs \
--with-pam_smbpass \
--with-libsmbclient \
--without-smbwrapper \
--with-pam \
Expand Down
4 changes: 1 addition & 3 deletions packaging/RHEL-CTDB/samba.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ CFLAGS="$RPM_OPT_FLAGS $EXTRA -D_GNU_SOURCE" ./configure \
--with-ads \
--with-automount \
--enable-fhs \
--with-pam_smbpass \
--with-libsmbclient \
--without-smbwrapper \
--with-pam \
Expand Down Expand Up @@ -199,7 +198,7 @@ fi


make -j %{numcpu} %{?_smp_mflags} \
everything modules pam_smbpass
everything modules

# check that desired suppor has been compiled into smbd:
export LD_LIBRARY_PATH=./bin
Expand Down Expand Up @@ -522,7 +521,6 @@ exit 0
%attr(755,root,root) /%{_libarch}/libnss_winbind.so
%attr(755,root,root) /%{_libarch}/libnss_winbind.so.2
%attr(755,root,root) /%{_libarch}/security/pam_winbind.so
%attr(755,root,root) /%{_libarch}/security/pam_smbpass.so
/usr/share/locale/*/LC_MESSAGES/pam_winbind.mo
/usr/share/locale/*/LC_MESSAGES/net.mo

Expand Down
4 changes: 1 addition & 3 deletions packaging/RHEL/samba.spec.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ CC="$CC" CFLAGS="$RPM_OPT_FLAGS $EXTRA -D_GNU_SOURCE" ./configure \
--with-ads \
--with-automount \
--with-fhs \
--with-pam_smbpass \
--with-libsmbclient \
--without-smbwrapper \
--with-pam \
Expand All @@ -188,7 +187,7 @@ if [ ${CC_MAJOR} -ge 3 ]; then
fi


make all modules pam_smbpass
make all modules

# Remove some permission bits to avoid to many dependencies
cd ..
Expand Down Expand Up @@ -444,7 +443,6 @@ fi
%attr(755,root,root) /%{_libarch}/libnss_wins.so*
%attr(755,root,root) /%{_libarch}/libnss_winbind.so*
%attr(755,root,root) /%{_libarch}/security/pam_winbind.so
%attr(755,root,root) /%{_libarch}/security/pam_smbpass.so
/usr/share/locale/de/LC_MESSAGES/net.mo
/usr/share/locale/de/LC_MESSAGES/pam_winbind.mo
/usr/share/locale/ar/LC_MESSAGES/pam_winbind.mo
Expand Down

0 comments on commit 278c257

Please sign in to comment.