This commit is contained in:
parent
f5817bae13
commit
5e83dfc1d5
@ -287,9 +287,10 @@ rm -rf %{buildroot}%{_sysconfdir}/raddb/mods-config/sql/main/oracle
|
||||
|
||||
# boo#912714: add radiusd to winbind group for ntlm_auth
|
||||
# add winbind group and fail silently if it already exists
|
||||
%{_sbindir}/groupadd -r winbind 1>/dev/null 2>/dev/null
|
||||
%{_bindir}/getent group winbind \
|
||||
|| %{_sbindir}/groupadd -r winbind
|
||||
# add radiusd to winbind group
|
||||
%{_bindir}/gpasswd -a radiusd winbind 1>/dev/null 2>/dev/null
|
||||
%{_bindir}/gpasswd -a radiusd winbind
|
||||
|
||||
%if 0%{?suse_version} > 1140
|
||||
%service_add_pre %{unitname}.service
|
||||
|
Loading…
Reference in New Issue
Block a user