LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2003, 02:07 PM   #1
cjmaxey
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Rep: Reputation: 0
Question Samba as a member of a Windows Domain


Hey Everyone,

I have a samba server (version 2.2.5) within a windows domain. I would like the samba machine (being used as a file server) to show up in the windows clients' network neighborhood throughout the domain. Right now, it is showing up as a workgroup - specifically the MyGroup workgroup, which I remember seeing as the default. However, in my smb.conf, I changed the workgroup parameter to the domain name, but it still is showing up as MyGroup. So, people can see it and browse, but I would like to show up in the existing domain rather than as a separate workgroup. Any ideas?

Thanks,

CJM
 
Old 02-03-2003, 05:24 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,751

Rep: Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929Reputation: 5929
samba does reread the smb.conf file, can't remember the actual time period. You can restart samba to see changes immediately.

See the documentation at www.samba.org for info on a linux PC joining a windows domain.
 
Old 02-03-2003, 05:41 PM   #3
cjmaxey
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I have restarted samba on several occasions. Also, I did read that it may take up to 48 minutes to propagate the info throughout the domain and I have waited the 48. Any other clues, ideas? I want the samba server to act only as a file server. It seems that this would be pretty common. And it is working to some extent, but the default MYGROUP is showing up even though the smb.conf is set to
WORKGROUP = <DOMAIN_NAME>
 
Old 02-03-2003, 06:55 PM   #4
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Are you saying that samba still shows up in the "mygroup" workgroup or that the mygroup workgroup still shows up as a workgroup that other computers see even though the samba machine isn't in it? If the workgroup is there with no PCs in it that has to do with several things about windows networking, unrelated to samba.

If it is a production network and you are not the administrator of the domain controller you should ask your network administrator about settings to use in your smb.conf. Basically you need to be careful what settings you use. Samba can be configured to act like a domain controller so it can also be set in a way that it breaks a pre-existing windows domain controller or so that the current domain controller prevents samba from working. With power comes responsibility after all...

If you have a domain controller and the admin doesn't have settings for your smb.conf then you need to read carefully through the samba documentation. If it isn't working correctly then you should first think about downloading the latest version of samba. AFAIK samba doesn't re-read the smb.conf unless it is restarted so you do have to restart the services to get it to recognize new domain settings. There is documentation in the source tree when you download samba that explains many things such as how to get samba to coexist on an existing domain.

If you still are having problems then some more info related to your situation should help us understand what is happening. Roughly how many PCs on the network? What OS is the domain controller? Is there a WINS server on the LAN? Did it work when it was in the old workgroup and you just wanted to change it or did it not work before?
 
Old 02-03-2003, 08:13 PM   #5
cjmaxey
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks to everyone for all of their suggestions. It is working now. The reason why it wasn't working is very embarassing. I had read countless How-Tos and the documentation that came with samba. I was frustrated that for all the reading nothing seemed to be working.

Here is what the problem was - I was changing the /usr/local/samba/lib/smb.conf file. When I saw that there was also an /etc/samba/smb.conf file, I decided to back that up, stop the services and modify that with what I had learned through the readings. After restarting the services, everything is as I had wanted - so I guess I should be glad that I understood the configuration, but I am more concerned with my oversight!

With that in mind, I do have several new concerns/questions -
Is there a certain rule of thumb that configuration files follow as to the directories the actual config files are typically located? Why are there two different locations for smb.conf? I remember creating a soft link during the initial setup - was that just to have an easy way to view the config? Is something possibly wrong with my install?

I will research tomorrow, but in the mean time if anyone has some insight on the above questions that would be great! Sorry for my newbie-ism and thank you for your help! I hope that I at least provided you with a laugh.


 
  


Reply



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
Samba as a member of an NT Domain EzehM Solaris / OpenSolaris 2 07-23-2004 08:11 PM
Move w2k Member of Samba Domain to DMZ ollitronix Linux - Networking 2 07-19-2004 02:16 AM
Samba file srvr as AD domain member BruceC Linux - Newbie 0 05-07-2004 01:09 PM
XP clients as the member of the samba domain. bally Linux - General 7 08-27-2003 01:46 AM
setup samba as Windows Domain Member ateh Linux - Networking 4 06-06-2002 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:40 AM.

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