LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2005, 07:33 PM   #1
oasisbhrnw99
Member
 
Registered: May 2004
Posts: 43

Rep: Reputation: 15
Samba problem


Hi all, I am running Suse Linux Enterprise Server 9 with samba verstion 3.0.4, and winxp clients.

When I attempt to join computer to my samba NT domain it prompts me for my username and password. I use root as the user, however it then says that "the username could not be found." Even though I know the root samba user exists as I added him with the

"smbpasswd -a root" command

Also, I am sure that it is checking the correct smbpasswd file, as if I try to join a computer to a domain using one of my other samba users it says "acces denied."

So, can anyone help me out with...

1. Getting root to be recognized as a samba user.

or

2. Getting another user that I add to my sama server to be able to join computers to the domain.

Any help is appreciated, thanks.
 
Old 09-25-2005, 02:31 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Sounds like its not making the machine account for the computer that's joining, computers are added as users under samba. Are you manually adding the machine account or are you creating in on the fly through your smb.conf file?

If not you can add this line to your smb.conf which will add the machine account on the fly, only root can add a machine to the domain controller for the very first time, after that anyone can use that computer to access the domain controller.

add machine script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false
-M %u
 
Old 09-25-2005, 11:05 AM   #3
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Almost complete procedure other then configuring smb.conf

I'll tell you a simple procedure & necessary steps for precaution too :

1. First create machine account over to your samba server..

useradd -g machines -d /dev/null -s /bin/false <machine-name>$

2. Add very same machine account to smbpassword

smbpasswd -a -e -m <machine-name>
-a - add user
-e - enable user
-m - machine

So in return it wont ask you for any password.

3. Next add the user you want to run over XP clients... I guess you must have done that.. Do enable your users in smbpasswd after adding them.

4. Add root for smbpasswd & enable it.

5. Do disable the XP- internal firewall.

6. Now do it , if problem still persists, feedback.. I'll help you.

Last edited by amitsharma_26; 09-25-2005 at 11:07 AM.
 
  


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
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 04:07 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Samba problem MichaelHall Slackware 0 03-03-2004 02:31 AM
Problem with Samba monowar Linux - Newbie 1 07-05-2002 05:56 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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