Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-24-2003, 07:36 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 22

Rep: Reputation: 15
Problems setting up a samba server

I've been working on setting this up for over a week now. I've made progress but seem to be stuck at a weird point.

Basically I'm trying to set up my rh 9.0 box as a samba server. I initially started with the directions from but I've tried O'Reilly's book and google to now avail. Here's the deal.

We have a number of xp/2000/nt machines that are currently on an nt domain. I want to move them (about 20 or so users) over to a samba domain. My current samba config file is as follows:

wins support = yes
netbios name = UBERBEAST
domain logons = yes
encrypt passwords = yes
workgroup = UBERBEAST
os level = 255
preferred master = yes
local master = yes
domain master = yes
security = user
logon path = \\%L\profiles\%u\%m
logon script = logon.bat
logon drive = H:
logon home = \\%L\%u\.win_profile\%m

time server = yes

domain admin group = @admins
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
log file = /var/log/samba/log.%m
log level = 3

path = /home/netlogon
writable = no
browsable = no

browsable = no
writable = yes
create mask = 0600
directory mask = 0700

read only = no
browseable = no
guest ok = no
map archive = yes
comment = %u's Home Directory
writeable = yes

The bottom line is, with my xp machine I'm able to switch over to the uberbeast domain. It even says, "Welcome to domain UBERBEAST". However, when I'm prompted to reboot (and I do it) upon rebooting I'm immediately greeted with "A duplicate name exists on the network" error. If I try and log into the samba domain anyway, I get "The system cannot log you on now because the domain UBERBEAST is not available". This error message does not generate any corresponding error in the samba log files. I haven't seen anybody who's problem is exactly like mine. Any ideas as to what I should do would be greatly appreciated.
Old 07-24-2003, 06:18 PM   #2
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Very stupid question: What's the name of the XP box? And does it conflict with any other name on your network(s)? Regardless of whether there's another machine on the network with the same name, have you tried using another name for the XP box (if only as a test)?
Old 07-25-2003, 02:26 AM   #3
LQ Newbie
Registered: Jul 2003
Posts: 14

Rep: Reputation: 0

I had a same problem,Please give a hint for that,i am also

trying here.

Old 07-25-2003, 07:35 AM   #4
LQ Newbie
Registered: Jun 2003
Posts: 22

Original Poster
Rep: Reputation: 15
Okay, I got my problem solved. First, I finally found an error message in the logs stating that the samba password file was corrupted. How that happened is beyond me. Secondly, it doesn't appear that the add user script command is working for me. Finally (on someone's suggestion in another forum) I changed the workgroup name to something other than the host name. Those three things did the trick. I still have other issues (which I'll post in a new thread), but at least I got past this one.


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
Setting up a samba server Tremendo Linux - Newbie 2 07-16-2004 11:47 AM
How to use Webmin to setting the SAMBA Server?! toniwong Linux - Networking 1 04-29-2004 09:32 AM
problems setting up apache and vsftp server behind a router that serves as a server xone Linux - Security 1 04-08-2004 10:46 AM
How do I go about setting a samba server on Linux? natalinasmpf Linux - General 1 02-22-2004 01:00 PM
RH9...Where did my Samba server setting go? naloxone Red Hat 1 09-17-2003 11:45 AM > Forums > Linux Forums > Linux - Software

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