Tuesday, September 18, 2012

Adding LINUX Server In AD for authetication RHEL LINUX

Steps to add the server in Domain:-

from root prompt :-

#install samba* (YUM INSTALL SAMBA*)
#/etc/resolv.conf should have your Domain server Hostname
[root@linux1 ~]# cat /etc/resolv.conf as an example
search myloveunix.com
nameserver     1.2.3.6
[root@linux1 ~]#

# service winbind restart
# service smb restart
# etc/hosts should have Hostname of the machine.
#setup u will be fwdd to below screen :-

 
 
now select as it is selected below for adding the server in AD for authetication.
 
now write all details in next window of your AD server and getready woth credenatials after clicking yes.
 
 
now you have to insert the crendentials of the AD server admin and if credentials are correct then you will be able to add the server in domain.
 
You can run the below commands to get the list of users in your domain or AD.
 
"wbinfo -u"
"wbinfo -g"

you should get a list of user with -u and with -g group.

Trouble shooting needs to be done everytime for the correct requirement. but we can reach upto requirement.

No comments: