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.


Tag : Zentyal
FAQ
Q
how To Join CentOS to Zentyal PDC?
A
you can Join CentOS to Zentyal PDC by following command

# domainjoin-cli join domain_name domain_administrative_user
Q
Where to configure network and set hostname in centos?
A
by using the following command to set hostname and network configuration are done
vim /etc/sysconfig/network
Q
how to download the package of zentyal PDC?
A
use the following command to download the package,
# wget http://download.beyondtrust.com/PBISO/8.3/pbis-open-8.3.0.3287.linux.x86_64.rpm.sh
Q
can I use Network configuration file to configure the network setup?
A
Yes, you can either use a Graphical interface or command line change the network configuration
Q
I used sudo command with a normal user and I can't able to open the PDC. how to solve this problem?
A
You should install and run completely as an root user to perform this operation