Posts

Showing posts from July, 2017

Active Directory SSO login in Linux

To Enable Active Directory SSO login in Linux server, configure mod_auth_ntlm_winbind module with apache and PHP. It is possible in Linux: http://adldap.sourceforge.net/faq.php Setup: RHEL, CentOS 6 and 7 server Active Directory admin user logins and authenticated browser Step 1. Install ntp and synchronize clocks service ntpd start #and keep in sync chkconfig ntpd on #after reboot as well Step 2. Update system and install required software # yum update # yum install mc vim httpd php svn httpd-devel make autoconf gcc ntp krb5-workstation samba-common authconfig samba-winbind - In centos install additional package required : samba-winbind-clients Step 3. Connect to active directory # authconfig --enableshadow --enablemd5 --passalgo=md5 --krb5kdc=DC.domain.com --krb5realm=domain.com --smbservers=DC.domain.com --smbworkgroup=domain --enablewinbind --enablewinbindauth --smbsecurity=ads --smbrealm=domain.com --smbidmapuid="16777216-