- Fix boo#912714: freeradius can't use ntlm_auth

* Create winbind group
  * Add radiusd to winbind group

OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=76
This commit is contained in:
Jochen Keil 2015-08-07 10:57:54 +00:00 committed by Git OBS Bridge
parent 001730056f
commit f5817bae13
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Aug 7 10:56:29 UTC 2015 - jkeil@suse.de
- Fix boo#912714: freeradius can't use ntlm_auth
* Create winbind group
* Add radiusd to winbind group
-------------------------------------------------------------------
Wed Jul 8 20:05:24 UTC 2015 - michael@stroeder.com

View File

@ -284,6 +284,13 @@ rm -rf %{buildroot}%{_sysconfdir}/raddb/mods-config/sql/main/oracle
%{_sbindir}/groupadd -r radiusd 2> /dev/null || :
%{_sbindir}/useradd -r -g radiusd -s /bin/false -c "Radius daemon" -d \
%{_localstatedir}/lib/radiusd radiusd 2> /dev/null || :
# 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
# add radiusd to winbind group
%{_bindir}/gpasswd -a radiusd winbind 1>/dev/null 2>/dev/null
%if 0%{?suse_version} > 1140
%service_add_pre %{unitname}.service
%endif