Stratus 3.9 Single-Sign-On with ActiveDirectory and NTLM
This document provides a draft instruction for enabling directory-based authentication/authorization (ActiveDirectory or LDAP) and single sign-on with NTLM.
Notes:
- this document describes ActiveDirectory specifics, filters will need to be changed if using other LDAP implementations
- this document assumes Domain name to be “win2008”, AD server to be “win2008” and DNS suffix to be “dev.videonext.net”, so relevant parts would need to be changed for the actual environment in use
Top-level view on components interaction:
- Client browser makes an HTTP request to STRATUS server (login page)
- STRATUS server uses HTTP mechanisms to determine if the client browser is opened from the computer logged in into Windows Domain and if it does, checks if it is secured
- STRATUS login page is pre-populating username with the one recognized from Windows Domain, disables password entry and expects the user to click on “Login” button
- STRATUS looks up the user in Directory and authenticates the session
- STRATUS looks up user groups in Directory to determine Roles granted to the user
Note: Roles are mapped to Directory Groups within STRATUS Admin GUI - From this point, STRATUS user works with GUIs “as usual” within its permissions
Step-by-step guide
Prerequisites
STRATUS server having version 3.9.3+ installed
Windows Domain configured
Active Directory configured
An account (username/password) created in ActiveDirectory with permissions to search for users and groups
Configuration steps
Install additional packages to STRATUS server:
yum install mod_auth_ntlm_winbind samba-winbind samba-winbind-clients samba-client[Optional] if DNS is not in place, add ActiveDirectory and PDC servers into STRATUS’ /etc/hosts file
Ex: 207.207.163.187 win2008.dev.videonext.net win2008 PACSLAB.win2008.dev.videonext.netConfigure “winbind”: edit /etc/samba/smb.conf, [global] section:
workgroup = WIN2008
realm = WIN2008.DEV.VIDEONEXT.NET
security = ADSTest configuration to be valid:
testparm -sMake STRATUS to join domain:
net ads join -S win2008.dev.videonext.net -U domain_admin
usermod -G wbpriv apacheSet services for auto-start, reload configuration
systemctl enable winbind
systemctl restart winbind
systemctl restart httpdConfigure ActiveDirectory settings in STRATUS:
LDAP authentication - YES
Directory server - win2008.dev.videonext.net
Directory server port - 389
Authentication - password
Login username - domain_admin
Login password - domain_password
User search base template - CN=(0),CN=Users,DC=win2008,DC=dev,DC=videonext,DC=net
Group search base - DC=win2008,DC=dev,DC=videonext,DC=net
Group search filter - (objectClass=group)
Group membership template - (&(objectClass=group)(member=CN=(0),CN=Users,DC=win2008,DC=dev,DC=videonext,DC=net))Configure roles in STRATUS to map to ActiveDirectory Group:
open “Settings - Credentials - Role manager”, create role and associate it with role from Active directory in LDAP tab:
Related articles