Linux Mint - Free and powerful

Tuesday, 2 February 2016

How to Join Ubuntu 15.10 Desktop to Active directory using Realmd | Ubuntu Geek

This tutorial will explain How to Join Ubuntu 15.10 to Active directory using Realmd.Active Directory (AD) is a directory service that Microsoft developed for Windows domain networks and is included in most Windows Server operating systems as a set of processes and services.An AD domain controller authenticates and authorizes all users and computers in a Windows domain type network—assigning and enforcing security policies for all computers and installing or updating software.

Preparing your system
Need to install all the required packages using the following command
sudo apt-get install realmd sssd sssd-tools samba-common krb5-user packagekit samba-common-bin samba-libs adcli ntp
During installation of krb5-user, it will prompt you for the default Kerberos realm. This should be your domain in all caps. Example: LOCALDOMAIN.XX
Now, go ahead and get a valid kerberos ticket for your AD admin: kinit DomainAdmin@LOCALDOMAIN.XX
Configuring realmd
You need to edit /etc/realmd.conf
sudo vi /etc/realmd.conf
Change the following option
automatic-install = no
Save and exit the file
Configuring sssd.conf file
First you need to change the sssd.confile using the following command
sudo chmod 0600 /etc/sssd/sssd.conf
Now edit the file using the following command
sudo /etc/sssd/sssd.conf
add the following lines
filter_groups = root
filter_users = root
reconnection_retries = 3
reconnection_retries = 3
Comment out the following line
use_fully_qualified_names = True
#use_fully_qualified_names = True
Save and exit the file
Join in unattended mode with new user principal using the following command
realm –-verbose join localdomain.xx –-user-principal=myubuntuserver/DomainAdmin@LOCALDOMAIN.XX –-unattended
Reboot your server. You should now be able to id a domain user as follows: id LOCALDOMAIN\\myuser
You can now su to a domain user: su myuser@localdomain
You can add the NTP servers to sync with your domain controller in /etc/ntp.conf

How to Join Ubuntu 15.10 Desktop to Active directory using Realmd | Ubuntu Geek:

'via Blog this'

1 comment :

  1. Its very useful to me. Wonderful blog.. Thanks for sharing informative Post.

    Installment loans
    Payday loans
    Title loans


Thank you for taking the time to comment. Your opinion is important and of value and we appreciate the positive feedback! If you are "Negative Nancy" then please do us, and humanity, a favor, and piss off.

Total Pageviews

Google+ Followers


Blog Archive

Popular Posts

Recent Comments

Rays Twitter feed


Web sites come and go and information is lost and therefore some pages are archived. @rayd123. Powered by Blogger.