Review your favorite Linux distribution.
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 03-16-2006, 04:51 PM   #1
Registered: Mar 2005
Location: USA - Oxford, Mississippi
Distribution: Kubuntu-Gutsy, SuSE, Mandriva, Debian
Posts: 89

Rep: Reputation: 15
Adding SuSE 10 workstation to a Windows Domain

Recently I have been trying to get a workstation running SuSE 10 to join my network at work. Our domain controller is IIS 5 Windows 2000 and we use Active Directory. For the life of me, I cannot get Samba to completely connect to the network. I have full admin rights to add a machine to the domain. In fact, if I logon to our server, I can see the machine name of the Linux machine that I tried to add, but from the Linux machine I cannot access all of the machines on the network. For instance, I can get to the main domain controller and the secondary domain controller, but not our server that hosts the website, which is not a domain controller. After setting up SuSE, I installed apt-get and upgraded Samba, so that should not be issue. I’ve tried to set SuSE up for the domain from the GUI as well as the command line, and have not been successful. The GUI gives me an error with no information. The box is literally blank except for the word "error" at the top. Is there anyone out there that has successfully done this? If so, please paste your config files and perhaps a walkthrough. I would eventually like to set up an Apache webserver to replace IIS, but if I cannot get a SuSE machine on the domain and demonstrate it to my superiors, this could hurt my efforts to get other open source solutions in to production. Any help would be appreciated.
Old 03-16-2006, 06:39 PM   #2
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
on my website there is plently of information on joining Linux machines to a windows domain - Authentication against Active Directories using winbind for pop3

the only difference between that and what you want to do is edit the /etc/pam.d/login pam file

you can try my setup scripts if you want, but i think they will only work on fedora/rhel

but they are well worth a go.

you will find plently of information on my website listed below for all kinds of linux/windows Integration.

Last edited by paul_mat; 03-16-2006 at 06:41 PM.
Old 03-17-2006, 10:03 AM   #3
Registered: Mar 2005
Location: USA - Oxford, Mississippi
Distribution: Kubuntu-Gutsy, SuSE, Mandriva, Debian
Posts: 89

Original Poster
Rep: Reputation: 15
SuSE 10 + Samba

Thanks. I will take a look at that today.
Old 03-23-2006, 10:24 AM   #4
Registered: Mar 2005
Location: USA - Oxford, Mississippi
Distribution: Kubuntu-Gutsy, SuSE, Mandriva, Debian
Posts: 89

Original Poster
Rep: Reputation: 15
Still having issues with SuSE 10 and AD Win 2000

I'm pretty much back to square one with SuSE 10 and Active Directory authentication. I can see my machine from other machines and from my Linux machine on the network. I was able to get my machine, Framboise, to join the domain. I can access my primary domain controller (PDC) and the backup dc, but I cannot access the third server that hosts the website from my SuSE machine. I attempted to set up Kerberos, but it does not seem to be working. I have my default domain as the one I wanted to join, LAW-LIBRARY0. I have the same for the realm. I then have the IP address of the primary domain controller in KDC server address. I do not have AFS support. When I run “kinit” with my username and password for AD, I get the following error: kinit(v5): KDC reply did not match expectations while getting initial credentials
The username and password supplied have full admin rights, so authorization should not be an issue.

Here is my Samba configure (smb.conf) file:

security = ads
restrict anonymous = yes
winbind use default domain = yes
domain master = no
preferred master = no
ads server = *IP address of my PDC*
workgroup = LAW-LIBRARY0
realm = LAW-LIBRARY0
max protocol = NT
ldap ssl = No
server signing = Auto
password server = *IP address of my PDC*
I attempted to use paul_mat's scripts above. To be fair, they seemed to work, but it did not resolve the problem. I also read over the other links, but I still do not see what I am doing wrong.

Any help would be appreciated.



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
Adding a Linux server to a Windows domain Yig Linux - Networking 3 12-01-2005 10:33 AM
Adding a Suse 9.0 machine to a windows domain Harry Seldon Linux - Newbie 1 02-26-2004 09:50 PM
Help adding Linux 9.0 Server to a windows domain akhan02 Linux - Newbie 1 09-02-2003 02:35 AM
Adding users from windows domain fmertus Linux - Networking 18 06-24-2003 11:47 AM
Linux workstation in a Windows domain Dr.Swing Linux - Newbie 1 03-19-2002 11:43 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:06 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
Open Source Consulting | Domain Registration