Overview
You want to utilize Active Directory authentication within your Xinet environment. You want to verify whether your environment is compatible with the Xinet Active Directory integration.
Solution
Active Development of the Apache AD Modules necessary for the integration is limited. An updated AD module for use with RHEL/CentOS Linux 7 and Apache 2.4.6 has been made available and can be found attached.
The steps below are provided as guidance for System Admins looking to integrate Active Directory with Xinet, however, newer versions of Xinet have not been tested or verified, and support is limited.
Prerequisites
- Xinet Server joined to Active Directory Domain. (Ex. Realmd, Centrify)
Configuration
- Backup the "Xinet" folder and overwrite it with the contents of "Login":
# cp /etc/pam.d/xinet /etc/pam.d/xinet.backup
# cp /etc/pam.d/login /etc/pam.d/xinet - Download and Install Xinet
- Download the appropriate legacy Xinet Apache module. (See Additional Resources below)
- Place the module within
/etc/httpd/modules/
- Verify the permissions match that of the other modules.
- Place the module within
- Edit
/etc/httpd/conf/httpd.conf
:- Backup before continuing:
# cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak
- Add the following line to the LoadModule section:
LoadModule auth_xinet_module "<full path to the module>"
- Example:
LoadModule auth_xinet_module "/usr/lib64/httpd/modules/mod_auth_xinet2.so"
- Replace all instances of "AuthUserFile" with "XinetAuthUserFile":
- Search for this line:
AuthUserFile /var/adm/webnative/apache.userfile
- Replace it with:
XinetAuthUserFile /var/adm/webnative/apache.userfile
- Note: There should be 3 instances to replace.
- Search for this line:
- Backup before continuing:
- Restart Apache:
# /usr/sbin/apachectl restart
- While Apache is loading module auth_xinet2.so, it may complain that it can’t find library ‘libldap.so.2’. Usually, that library is in the /usr/lib directory. If the library is not there, make a symbolic link to the latest libldap version and restart Apache again.
- For example, if the latest LDAP library is libldap-2.3.so.0.2.15:
# cd /usr/lib
# ln –s libldap-2.3.so.0.2.15 libldap.so.2
- For example, if the latest LDAP library is libldap-2.3.so.0.2.15:
- While Apache is loading module auth_xinet2.so, it may complain that it can’t find library ‘libldap.so.2’. Usually, that library is in the /usr/lib directory. If the library is not there, make a symbolic link to the latest libldap version and restart Apache again.
- Create a system.userlist file
- In order for WebNative to pull the user information from Active Directory, you will need
to create a blank file named system.userlist by running this command in the terminal:# touch /usr/etc/webnative/system.userlist
- Upon logging into the WebNative Admin portal, your AD users should appear in the Users list.
- In order for WebNative to pull the user information from Active Directory, you will need
/etc/samba/smb/conf
: "winbind use default domain = true"
Additional Resources
The Legacy Team originally provided these details within Tech Note 218 for Xinet 17 or earlier. You can access these directly by logging into the Xinet Reseller Portal and selecting Tech Notes for additional details.
- Xinet Apache Module - RHEL/CentOS 7 (Updated)
- Xinet Apache Module - Red Hat Linux 32bit (Legacy)
- Xinet Apache Module - Red Hat Linux 64bit (Legacy)
- Xinet Apache Module - Windows Server 2003 R2 Standard (Legacy)
Legacy Configuration Guides
- Xinet Active Directory Integration on Red Hat Linux ES 5 32bit/64bit (352KB PDF file)
- Xinet Active Directory Integration on Windows Server 2003 R2 Standard (568KB PDF file)
- Xinet Open Directory Integration on OS X Server (656KB PDF file)
Please contact your Account Manager directly with any inquiries relating to future development plans.
Priyanka Bhotika
Comments