I have been trying to set up freeradius
service for our network devices which would authenticate against Active Directory. I have the authentication working right now. The next piece I am trying to accomplish is to check whether the user is part of a group. Which is quite easy using the paramater "require-membership-of
" for ntlm_auth
The config I have is this:
program = "/usr/bin/ntlm_auth --request-nt-key --domain=DOMAIN --require-membership-of='DOMAIN\NetworkAdmins' --username=%{mschap:User-Name} --password=%{User-Password}"
But I cannot find a way to check against 2 or more groups. Is there a way to do it somehow ?
Thanks