Download your favorite Linux distribution at LQ ISO.
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 04-07-2004, 08:00 PM   #1
Registered: Oct 2003
Location: TX
Distribution: RH 8.0
Posts: 97

Rep: Reputation: 15
Samba: can't add workstations to a domain.

I've had a pre-existing domain on my rh9.0 pdc for a while. Then a ghosted a couple of the computers and tried to use webmin to administrate things.

All of this spelt out problems. I've made the user accounts for the worstations, no shell, no home directory, "passwd -l". Then I put the machines one samba "smbpasswd -a -m" But when I try to join w2k boxes, I get the error "The specified user does not exist" when I put in root and his password.

Any thoughts?
Old 04-08-2004, 06:24 AM   #2
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
Maybe all of the machines are fighting each other to become PDC's ?
Check /var/log/samba/log.smb and log.nmb
Old 07-19-2004, 04:18 PM   #3
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
I had the exact same problem, and here's what I did to fix it. I found that my machine name "test2k" without the quotes, was already set up as a samba user (I was fiddling with it for quite a while) Once I removed it, and tried to re-add my machine to the domain, it worked fine. Just make sure you have the add script line be something like "add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u" without the quotes. I mistakenly made it "add user script" instead of machine, and that was another problem I ran into. Hope that helps you out!! If you have ANY problems or questions, feel free to post and let me know! Linux is worth it, it just takes some time getting it all set up the way you want.

Travis Beehler


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
server runs redhat , workstations win 2k ,workstations cannot connect to internet snkambule Linux - Networking 7 04-27-2005 10:08 AM
Windows 2000 Workstations on a Samba Domain MurrayL Linux - Networking 1 11-18-2004 05:59 AM
SAMBA 3 - XP Workstations Losing Mappings soopafresh Linux - Networking 0 10-19-2004 06:29 PM
Linux/samba with XP workstations Dogface1SG Linux - Networking 1 11-10-2003 11:46 PM
Restricting which workstations a user may use with samba PDC peterab85 Linux - Networking 1 09-22-2003 11:33 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:21 AM.

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