How to Integrate RedHat based distributions in Zentyal PDC
To Integrate CentOS/RedHat/Fedora in Zentyal PDC
Integration of CentOS 6 Desktop into Zentyal PDC is explained in this article.
To Integrate CentOS in Zentyal PD
Login with root in the terminal and Download the PowerBroker Identity Services using the following command.
[root@linuxhelp:~]# wget http://download.beyondtrust.com/PBISO/8.3/pbis-open-8.3.0.3287.linux.x86_64.rpm.sh
Install the required packages for CentOS 6 to join Zentyal 3.4 PDC by executing the following command
[root@linuxhelp:~]# sh pbis-open-8.3.0.3287.linux.x86_64.rpm.sh
Reply with “ yes” and reboot your system.
To Configure Network Connections
Navigate to Network icon, right click on it and choose edit connections.
Select Network Interface and choose edit.
Move to IPv4 tab and choose method as Manual or Automatic (DHCP) address only. Type all DNS configurations as per the requirement and click Apply.
Execute ping command on domain name to check DNS functionality.
[root@linuxhelp:~]# ping linuxhelp.com
Open ‘ /etc/sysconfig/network‘ file and set hostname for CentOS.
[root@linuxhelp:~]# vim /etc/sysconfig/network
To Join CentOS to Zentyal PDC
Open a terminal as root user, and run the following command to join CentOS 6 system to Zentyal PDC
[root@linuxhelp:~]# domainjoin-cli join domain_name domain_administrative_user
To do it from a Graphical User Interface, run the following command.
[root@linuxhelp:~]# /opt/likewise/bin/domainjoin-gui
Next, type the Domain settings and click Join domain.
Type your Zentyal PDC Administrator' s credentials and click Ok
Joing Domain prompt appears.
To Check whether CentOS system has been added to Active Directory
Go to Zentyal PDC server&rarr Users and Computers &rarr Manage and verify, if CentOS hostname is added in domain list on Computers.
To login Domain Controller
Run the following command to login with a user, who belongs to the domain.
[root@linuxhelp:~]# su - domain_name\domain_user
To login through GUI Login screen, choose Other option by using keyboard arrows and then enter domain_namedomain_user
If you would like to change “ sh” prompt switch to /bin/bash shell.
To Enable Active Directory Administrative Rights
CentOS does not allow remote users from Active Directory to perform administrative tasks. To enable Active Directory Administrative rights on User, add the user to sudoers file.
[root@linuxhelp:~]# vim /etc/sudoers
Add the below lines with your Zentyal Administrative user.
DOMAIN_NAME\domain_administrative_user ALL=(ALL) ALL domain_administrative_user ALL=(ALL) ALL
Now Zentyal PDC Administrative User has full root privileges to manage services.
vim /etc/sysconfig/network
# wget http://download.beyondtrust.com/PBISO/8.3/pbis-open-8.3.0.3287.linux.x86_64.rpm.sh
# domainjoin-cli join domain_name domain_administrative_user