Share your knowledge at the LQ Wiki.
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 02-09-2007, 10:20 PM   #1
LQ Newbie
Registered: Aug 2005
Distribution: Red Hat Linux 9
Posts: 6

Rep: Reputation: 0
Question How to connect Fedora 6 to existing Windows 2003 AD?

Hey guys I'm new to Linux and want some help.

I've heard about Linux a lot and have finally downloaded Fedora 6 and installed it, somehow got the dual boot working with XP Professional, where both are installed on seperate HDD's.

I'm trying to use this software in the corporate environment to see if it is really feasible. We have an already existing everything Windows environment. We have 2003 AD, File server, Exchange server, ISA server, desktops completely XP Professionals which are 300+.

I'm using my machine as the test and have already got fedora 6 running and been fiddling a bit and got a little familiar with the GUI environment.

Now the question:

I wanted to know how to add my linux PC as another desktop to the Windows 2003 domain and use the AD to authenticate the usernames and passwords. Once this is done I want to know how to use the existing exchange server on linux as Microsoft Outlook can on Windows desktop.

I keep being pointed to samba but can't find how to run it, there is no command line to type where I can get this running or started. Also I've been to similar threads search and I can't understand a thing.

Thanks all for helping.

Old 02-10-2007, 03:04 AM   #2
Registered: Jan 2007
Location: Alberta Canada
Distribution: Fedora/Redhat/CentOS
Posts: 68

Rep: Reputation: 19
On FC6, use the System->Administration->Authentication Applet to configure Kerberos and Windbind support on the 'Authentication' tab.

If you don't have an Authentication icon in the Administration menu, or either Kerberos or Winbind are not selectable on the Authentication tab, use the Applications->Add/Remove Software to install these packages (some may already be installed):


The AD Domain is usually the net doamin in uppercase, but it can be different, it depends on how you set it up.
On the Kerberos Configuration, use your network domain name in uppercase as the realm where ever the Realm is needed.
for example: if the net domain is mydomain,com use MYDOMAIN.COM for the realm.
Use you Windows Domain Controller's full hostname as the KDC and Admin Server, for example:
Check off both 'Use DNS...' check boxes on the Kerberos Configuration.

On the Winbind configuration, use your Windows Domain as the Winbind Domain
Select 'ads' as security model. Enter the Realm again as above for Winbind ADS Realm and your DC full hostname as Winbind Domain Controller.

Click the 'Join Domain' button. Save changes, if asked. Enter a Windows AD Admin username and password when prompted. This windows user must have Join Domain permissions.

If the join fails, you will need to manually set the default realm in the /etc/krb5.conf file:
This requires you to be the 'root' user, so open a terminal window and enter 'su -' and the enter root password when prompted.
If using gnome, enter 'gedit /etc/krb5.conf' to edit the file.
Change the 'default_realm = EXAMPLE.COM' line under the '[libdefaults]' section to be, for example:
'default_realm = MYDOMAIN.COM'
Save the file, then go back to Winbind config and use the 'Join Domain' button again.

Once the domain is joined, you can use Windows username and password to browse network resources
(Places->Network Servers) and Windows Usernames and password to log onto Linux (the username must also exist in Linux, but passwords can be different)

I believe (but don't quote me) that the Evolution mail client supports MS Exchange servers, but you will have to try it to be sure.

Good luck
Old 02-10-2007, 09:35 PM   #3
LQ Newbie
Registered: Aug 2005
Distribution: Red Hat Linux 9
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the info I'm certainly going to try it. I wanted to know if I am locked out or unable to connect to the server after restart, how do I log in locally and do administrative changes?

I am asking this question because this happened last time I tried doing something, made the system changes in the same place mentioned and was able to browse the windows network and see the servers also but I was unable to connect to the main file server and isa server. So I thought, like any windows geek would do, restart as it solve 80% of the problems. And after restart I am not able to login even with the username and passwords I setup durring installation let alone domain authentication.

Thanks again...
Old 02-14-2007, 10:54 PM   #4
LQ Newbie
Registered: Aug 2005
Distribution: Red Hat Linux 9
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy That´s it I´ve given up on it.

I´ve finally given up.

I will not be trying to connect to the windows domain for a long long time now. If 8 re-installs and finally getting to know the hard way that with ´root´ not ´administrator´ you can login locally when there is a problem authentication agianst Windows AD.

Anyways thanks for the help, I´m sure it works but I think my approach to start with linux was wrong.


I´ll first see the potential as a single desktop, then the workgroup environment, then the Linux server / workstation environment and finally co-existence with other platforms.

Waiting to be amazed...
Old 08-09-2007, 03:10 PM   #5
LQ Newbie
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Fedora 7 on win 2003 AD

Can anyone please help further?

I have followed this thread, edited /etc/krb5.conf, /etc/samda/smb.conf, run: kinitnet and: ads joined successfully.

My Fedora box can see all of the network and shares on other network PC's, but it does not appear on the network and after restarting winbind, the logout & login is not able to logon via an ADS username and password.
When I run wbinfo -u -g I get all the users and groups from the windows AD

What have I missed?

Old 08-11-2007, 04:59 AM   #6
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
Joining Fedora to AD

Hi there.
I have Fedora 7 set up on one pc at work and what I wanted to do was to use it as a file server. We have a domain and AD. I wanted Fedora to check the DC for users and passwords and I found directions to do that. It worked perfect. I'm not at work now but when I get there I'll post again with more details or link to these directions.

Well, I'm back at work and I found this HowTo.
Here is a link to it:
I used this guide and am able to log on to my Fedora Core 7 box with my AD username and password. Haven't used X but it works in text mode.

Last edited by OdinnBurkni; 08-13-2007 at 09:15 AM.
Old 11-07-2007, 10:05 AM   #7
LQ Newbie
Registered: Sep 2003
Posts: 8

Rep: Reputation: 0
Also should tell you that I am using Fedora 7 if that matters at all

Last edited by progjm; 11-07-2007 at 12:01 PM.


desktop, environment, linux, samba, windows

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
Connect LINUX client to WINDOWS 2003 server linuxy2 Linux - Networking 8 07-29-2009 05:02 AM
Connect to Windows 2003 Server icebear Linux - Networking 4 08-07-2006 11:47 AM
samba to connect across subnets to windows 2003 DC?? pavila Linux - Networking 4 06-11-2005 01:48 PM
How do I connect from Mandrake 10 to Windows Server 2003? Mandrake10Guy Linux - Networking 1 10-25-2004 12:01 PM
How do I connect from Windows Server 2003 to Mandrake 10? Mandrake10Guy Linux - Newbie 1 10-24-2004 11:23 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:40 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