1752679 Members
5205 Online
108789 Solutions
New Discussion юеВ

linux as a domain client

 
manab
Occasional Contributor

linux as a domain client

can someone help to join my linux samba system as a client to my window 2003 domain. so that i could use my domain username/password to login to my linux box.

Actually i need windows active directory authentication to log into my linux box...not separate linux/samba authentication...
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: linux as a domain client

Shalom,

You will need admin rights to at least add computers to the windows domain.

system-config-authentication

That brings up a gui interface to permit complete integration of the Linx pc into the windows domain.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
manab
Occasional Contributor

Re: linux as a domain client

thanks for your reply....but could you please explain it little ....I tried the command and got the GUI but not enough idea how to integrate my linux box in my 2003 domain.....
Sajjad Sahir
Honored Contributor

Re: linux as a domain client

(#) enter authconfig
u will get authetication wizard window
under User Information, select 'Use Winbind'. Under Authentication

at the bottom of the screen
u cna see dns to resolve hosts like these
next u have to set winbind
u can see domain button to authconfig
run net ads join
then save it
next is wbinfo
check wbinfo -u
# winbind
check it getent
First, you will need to add this line:

session required pam_mkhomedir.so skel=/etc/skel mask=0077

at the very end of these files:
/etc/pam.d/gdm
/etc/pam.d/sshd
That is, the inserted line will now be the last line in each file.
Now add that same line so that it is the next to the last line of this file:

/etc/pam.d/login
Again, the text to enter is:
session required pam_mkhomedir.so skel=/etc/skel mask=0077

create a directory for example saj
mkdir /home/saj
chmod 755 /home/saj
ssh red-1 ├в l Saj\\administrator