Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-22-2006, 10:20 AM   #1
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Joining An Active Directory Domain

I want to setup a CentOS machine on our Active Directory network at work to run a small web server. I don't need to authenticate the user and password with Active Directory. I just need to be able to join the domain so that all the Windows clients can get to the CentOS server.

Is this done by simply adding the following lines to smb.conf and starting the samba service???

netbios name = LINUX_SERVER_NAME
realm = DOMAIN.COM
ads server =
security = ADS
encrypt passwords = yes
Thanks in advance.
Old 09-22-2006, 10:58 AM   #2
Registered: Dec 2004
Location: Western Pennsylvania, USA
Distribution: Red Hat
Posts: 150

Rep: Reputation: 15
If you want your Samba server to be a member server of the AD Domain, it actually needs to join the domain. Take a look at this article:

If you wan't to take it further and use Kerberos authentication, look at this article:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems joining a linux box to an active directory eantoranz Linux - Networking 2 10-05-2005 03:05 PM
Linux in a Active Directory Domain kemplej Linux - Software 5 09-06-2005 11:12 AM
Joining a Linux workstation to a Active Directory Domain Terrence Hinds Linux - Networking 3 10-21-2004 06:45 AM
Samba 3 in MS Active Directory domain psychobyte Linux - Software 3 10-16-2004 05:14 PM
So can Samba3 emulate an Active Directory domain? trey85stang Linux - Networking 9 04-22-2004 02:08 AM

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration