LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-27-2004, 10:35 AM   #1
wyndman
LQ Newbie
 
Registered: Jun 2003
Location: RI
Distribution: Red Hat 8.0
Posts: 8

Rep: Reputation: 0
Exclamation Samba and Win 2k


I have several Win 2k machines running with SAMBA as the domain controller, but I am not able to add another Win 2k machine to the domain. Now when I try to add the computer to the domain it tells me "user does not exist" when I use the root command
 
Old 02-29-2004, 11:27 AM   #2
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
Do you need to add the new client to the authorized users on the linux box before adding the box to the domain. It might be an authentication issue between Samba and Linux. Linux doesn't have the user so Samba says no. I don't know, it's just an idea.
 
Old 02-29-2004, 02:30 PM   #3
John-e
LQ Newbie
 
Registered: Feb 2004
Distribution: SuSE 8.2 Professional
Posts: 15

Rep: Reputation: 0
I ran into the same problem setting up smb.

I Added the local user first, then I was able to configure the user in smb... Change the password with smbpasswd, etc...

I'm wondering as well if this is the only way to get it to work...
 
Old 03-01-2004, 08:34 AM   #4
wyndman
LQ Newbie
 
Registered: Jun 2003
Location: RI
Distribution: Red Hat 8.0
Posts: 8

Original Poster
Rep: Reputation: 0
Angry Samba and Win 2k

The odd thing is I got four others without issue, so I am wondering if it is an authentication issue.
 
Old 03-01-2004, 08:44 AM   #5
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
The user will have to be added as a user on the Linux machine then you can add them to be an authorized Samba user. Thats one of the checks that Samba does for security (I guess). Try that and repost.
 
Old 07-19-2004, 05:28 PM   #6
tbeehler
Member
 
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
 
Old 07-20-2004, 10:04 AM   #7
ricc
LQ Newbie
 
Registered: Jul 2004
Location: Malaysia
Distribution: RH9.0
Posts: 15

Rep: Reputation: 0
Weird.. I though its okie if we add only the username without the machine identification?
I had this problem, I wonder if the problem is the same...
I can see the Samba server from my Win98 workstation, but when I tried to access it, it prompt me for password. the weird is, none of the password I typed is correct.. I did login using the same username and password in the Linux server.
 
Old 07-20-2004, 11:16 AM   #8
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
have you added the users with the smbpasswd command? such as smbpasswd -a root? I forgot to do that once and banged my head for a bit trying to find out why it wouldn't work.


Travis
 
Old 07-20-2004, 08:45 PM   #9
ricc
LQ Newbie
 
Registered: Jul 2004
Location: Malaysia
Distribution: RH9.0
Posts: 15

Rep: Reputation: 0
Thanz a lot tbeehler, it works now.. :-)

"Learn from other's mistake, cause u dun have that much time to learn it all by yourself"

A joke came from my cellular network provider..
 
Old 07-21-2004, 12:31 AM   #10
tbeehler
Member
 
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Sweet! Glad you got it up and running! Enjoy! If you have any other problems or questions, come on back!

Travis
 
Old 07-25-2004, 01:03 PM   #11
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
Congrats on getting it working. Samba can be very frustrating to get up and working and is often confusing because of it's vast configuration. It can be used as a very powerful application or a very simple one. Just depends on how much you need it to do. I am about to start using biometrics for authorization and verification; can't wait to see how that goes!
 
  


Reply


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
Win->Samba works, Samba->Win does'nt work outburst Linux - Networking 2 10-30-2003 09:31 AM
Win 95/98 and XP with Samba mankey Linux - Networking 1 04-26-2003 11:01 AM
win xp won't login to samba after reboot but win 2k works great davidekholm Linux - Networking 1 04-04-2003 10:44 AM
win xp won't login to samba but win 2k works great mrtwice Linux - Networking 4 03-28-2003 02:27 PM
Setting up Samba with SuSe 8.1 and Win 2K/Win XP Pro crstine Linux - Networking 1 12-11-2002 07:21 AM


All times are GMT -5. The time now is 09:26 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration