diff --git a/cifs-utils.spec b/cifs-utils.spec index 88a7db7..f73ad19 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -47,6 +47,20 @@ The SMB/CIFS protocol is a standard file sharing protocol widely deployed on Microsoft Windows machines. This package contains the header file necessary for building ID mapping plugins for cifs-utils. +%package -n pam_cifscreds +Summary: PAM module to manage NTLM credentials in kernel keyring +Group: System Environment/Base + +%description -n pam_cifscreds +The pam_cifscreds PAM module is a tool for automatically adding +credentials (username and password) for the purpose of establishing +sessions in multiuser mounts. + +When a cifs filesystem is mounted with the "multiuser" option, and does +not use krb5 authentication, it needs to be able to get the credentials +for each user from somewhere. The pam_cifscreds module can be used to +provide these credentials to the kernel automatically at login. + %prep %setup -q -n %{name}-%{version}%{pre_release} %patch1 -p1 @@ -85,7 +99,6 @@ rm -rf %{buildroot} %{_sbindir}/cifs.upcall %{_sbindir}/cifs.idmap %{_libdir}/%{name}/idmapwb.so -%{_libdir}/security/pam_cifscreds.so %{_mandir}/man1/getcifsacl.1.gz %{_mandir}/man1/setcifsacl.1.gz %{_mandir}/man1/cifscreds.1.gz @@ -93,7 +106,6 @@ rm -rf %{buildroot} %{_mandir}/man8/cifs.idmap.8.gz %{_mandir}/man8/mount.cifs.8.gz %{_mandir}/man8/idmapwb.8.gz -%{_mandir}/man8/pam_cifscreds.8.gz %ghost %{_sysconfdir}/cifs-utils/idmap-plugin %config(noreplace) %{_sysconfdir}/request-key.d/cifs.idmap.conf %config(noreplace) %{_sysconfdir}/request-key.d/cifs.spnego.conf @@ -109,6 +121,10 @@ fi %files devel %{_includedir}/cifsidmap.h +%files -n pam_cifscreds +%{_libdir}/security/pam_cifscreds.so +%{_mandir}/man8/pam_cifscreds.8.gz + %changelog * Fri Dec 13 2013 Jeff Layton 6.2-5 - fix linking of wbclient