Fix id command to return new groups after successful user login
resolves: rhbz#2114884
This commit is contained in:
parent
a2371b50d0
commit
6363fb98d3
46
samba.spec
46
samba.spec
@ -239,6 +239,7 @@ Requires: %{name}-common-libs = %{samba_depver}
|
||||
Requires: %{name}-common-tools = %{samba_depver}
|
||||
Requires: %{name}-client-libs = %{samba_depver}
|
||||
Requires: %{name}-libs = %{samba_depver}
|
||||
Requires: %{name}-dcerpc = %{samba_depver}
|
||||
Requires: libnetapi = %{samba_depver}
|
||||
%if %{with libwbclient}
|
||||
Requires(post): libwbclient = %{samba_depver}
|
||||
@ -537,6 +538,20 @@ Provides: bundled(libreplace)
|
||||
The samba-common-tools package contains tools for Samba servers and
|
||||
SMB/CIFS clients.
|
||||
|
||||
### RPC
|
||||
%package dcerpc
|
||||
Summary: DCE RPC binaries
|
||||
Requires: samba-common-libs = %{samba_depver}
|
||||
Requires: samba-client-libs = %{samba_depver}
|
||||
Requires: samba-libs = %{samba_depver}
|
||||
Requires: libnetapi = %{samba_depver}
|
||||
%if %{with libwbclient}
|
||||
Requires: libwbclient = %{samba_depver}
|
||||
%endif
|
||||
|
||||
%description dcerpc
|
||||
The samba-dcerpc package contains binaries that serve DCERPC over named pipes.
|
||||
|
||||
### DC
|
||||
%if %{with dc} || %{with testsuite}
|
||||
%package dc
|
||||
@ -967,6 +982,7 @@ Requires: %{name}-winbind-modules = %{samba_depver}
|
||||
Requires(post): libwbclient = %{samba_depver}
|
||||
Requires: libwbclient = %{samba_depver}
|
||||
%endif
|
||||
Requires: %{name}-dcerpc = %{samba_depver}
|
||||
|
||||
Provides: samba4-winbind = %{samba_depver}
|
||||
Obsoletes: samba4-winbind < %{samba_depver}
|
||||
@ -1383,6 +1399,7 @@ touch %{buildroot}%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
|
||||
|
||||
%if %{without dc} && %{without testsuite}
|
||||
for i in \
|
||||
%{_libdir}/samba/libauth4-samba4.so \
|
||||
%{_libdir}/samba/libdfs-server-ad-samba4.so \
|
||||
%{_libdir}/samba/libdsdb-garbage-collect-tombstones-samba4.so \
|
||||
%{_libdir}/samba/libscavenge-dns-records-samba4.so \
|
||||
@ -1749,15 +1766,6 @@ fi
|
||||
|
||||
%dir %{_libexecdir}/samba
|
||||
%{_libexecdir}/samba/samba-bgqd
|
||||
%{_libexecdir}/samba/samba-dcerpcd
|
||||
%{_libexecdir}/samba/rpcd_classic
|
||||
%{_libexecdir}/samba/rpcd_epmapper
|
||||
%{_libexecdir}/samba/rpcd_fsrvp
|
||||
%{_libexecdir}/samba/rpcd_lsad
|
||||
%{_libexecdir}/samba/rpcd_mdssvc
|
||||
%{_libexecdir}/samba/rpcd_rpcecho
|
||||
%{_libexecdir}/samba/rpcd_spoolss
|
||||
%{_libexecdir}/samba/rpcd_winreg
|
||||
|
||||
%dir %{_datadir}/samba
|
||||
%dir %{_datadir}/samba/mdssvc
|
||||
@ -1771,7 +1779,6 @@ fi
|
||||
%{_mandir}/man1/smbstatus.1*
|
||||
%{_mandir}/man8/eventlogadm.8*
|
||||
%{_mandir}/man8/samba-bgqd.8*
|
||||
%{_mandir}/man8/samba-dcerpcd.8*
|
||||
%{_mandir}/man8/smbd.8*
|
||||
%{_mandir}/man8/nmbd.8*
|
||||
%{_mandir}/man8/vfs_acl_tdb.8*
|
||||
@ -2078,6 +2085,20 @@ fi
|
||||
%{_mandir}/man8/samba-tool.8*
|
||||
%{_mandir}/man8/smbpasswd.8*
|
||||
|
||||
### RPC
|
||||
%files dcerpc
|
||||
%dir %{_libexecdir}/samba
|
||||
%{_libexecdir}/samba/samba-dcerpcd
|
||||
%{_libexecdir}/samba/rpcd_classic
|
||||
%{_libexecdir}/samba/rpcd_epmapper
|
||||
%{_libexecdir}/samba/rpcd_fsrvp
|
||||
%{_libexecdir}/samba/rpcd_lsad
|
||||
%{_libexecdir}/samba/rpcd_mdssvc
|
||||
%{_libexecdir}/samba/rpcd_rpcecho
|
||||
%{_libexecdir}/samba/rpcd_spoolss
|
||||
%{_libexecdir}/samba/rpcd_winreg
|
||||
%{_mandir}/man8/samba-dcerpcd.8*
|
||||
|
||||
### DC
|
||||
%if %{with dc} || %{with testsuite}
|
||||
%files dc
|
||||
@ -2092,7 +2113,6 @@ fi
|
||||
%{_libdir}/krb5/plugins/kdb/samba.so
|
||||
|
||||
%{_libdir}/samba/auth/samba4.so
|
||||
%{_libdir}/samba/libpac-samba4.so
|
||||
%dir %{_libdir}/samba/gensec
|
||||
%{_libdir}/samba/gensec/krb5.so
|
||||
%{_libdir}/samba/ldb/acl.so
|
||||
@ -2156,7 +2176,9 @@ fi
|
||||
|
||||
### DC-LIBS
|
||||
%files dc-libs
|
||||
%{_libdir}/samba/libauth4-samba4.so
|
||||
%{_libdir}/samba/libdb-glue-samba4.so
|
||||
%{_libdir}/samba/libpac-samba4.so
|
||||
%{_libdir}/samba/libprocess-model-samba4.so
|
||||
%{_libdir}/samba/libservice-samba4.so
|
||||
|
||||
@ -2375,7 +2397,6 @@ fi
|
||||
%{_libdir}/libdcerpc-samr.so.*
|
||||
|
||||
%{_libdir}/samba/libLIBWBCLIENT-OLD-samba4.so
|
||||
%{_libdir}/samba/libauth4-samba4.so
|
||||
%{_libdir}/samba/libauth-unix-token-samba4.so
|
||||
%{_libdir}/samba/libdcerpc-samba4.so
|
||||
%{_libdir}/samba/libdnsserver-common-samba4.so
|
||||
@ -4318,6 +4339,7 @@ fi
|
||||
- related: rhbz#2131993 - Update to version 4.17.4
|
||||
- resolves: rhbz#2154373 - Fix CVE-2022-38023
|
||||
- resolves: rhbz#2143196 - Fix %U include directive for share listing (netshareenum)
|
||||
- resolves: rhbz#2114884 - Fix id command to return new groups after successful user login
|
||||
|
||||
* Wed Nov 02 2022 Pavel Filipenský <pfilipen@redhat.com> - 4.17.2-103
|
||||
- Always add epoch to samba_depver to fix osci.brew-build.rpmdeplint.functional
|
||||
|
Loading…
Reference in New Issue
Block a user