LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 02-20-2004, 05:33 AM   #1
jgnasser
Member
 
Registered: Feb 2004
Location: Kenya
Distribution: Red Hat
Posts: 57

Rep: Reputation: 15
WinXP/Win2K unable to join Samba Domain


I have a Samba (2.2.3a) Domain running on RH Linux 7.3

In the past I have been able to add clients without a problem but lately when I try to add a client, I get this error "Logon failure: unknown user or bad password". When I try with another logon (my domain logon), I get the error "Access is denied". I thought this was a problem with XP and I was reffered to this registry entry which has not solved the problem.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\netlogon\parameters
"RequireSignOrSeal"=dword:00000000

Is it possible that the master account that I was using to admit the clients to the domain is damaged and if so, how do I create another account on samba which has privileges to admit a new XP or Win 2K client.

Help appreciated.
 
Old 02-20-2004, 05:48 AM   #2
blubbfish
LQ Newbie
 
Registered: Feb 2004
Posts: 29

Rep: Reputation: 15
did you update samba to 3.x?
what is if you add the user/machine acc with the scripts referred in smb.conf manually?
 
Old 02-20-2004, 05:59 AM   #3
jgnasser
Member
 
Registered: Feb 2004
Location: Kenya
Distribution: Red Hat
Posts: 57

Original Poster
Rep: Reputation: 15
I have not updated Samba and not planning to do so while it works fine for my small network and until I'm very comfortable tweaking it.

You mean I try to run the add user script as entered in smb.conf manually on the command line? I have this line: add user script = /usr/bin/useradd -d /dev/null............
 
Old 02-20-2004, 06:06 AM   #4
blubbfish
LQ Newbie
 
Registered: Feb 2004
Posts: 29

Rep: Reputation: 15
yes is it possible to add user and/or machine acc's with this commands?
just try to add the accs ... with smbpasswd you can modify your samba admin acc like you want this acc should always be able to be used as "log on" acc or to add machine accs if not please paste your error log
 
Old 02-20-2004, 06:25 AM   #5
jgnasser
Member
 
Registered: Feb 2004
Location: Kenya
Distribution: Red Hat
Posts: 57

Original Poster
Rep: Reputation: 15
I have run useradd -d /dev/null -g 100 -s /bin/false -M toshiba-user$ where toshiba-user is the name of the XP computer and the account was created. However when I try to change the XP comp to the domain, I get the same error as before. I believe this procedure adds the machine as a user but how do you add it to samba. If I was adding a new user I would then run 'smbpasswd -a user' but what do you do for a computer name? Also, how do I edit the computer account that I was using as a master account just in case it has a problem too?
 
Old 02-20-2004, 06:58 AM   #6
jgnasser
Member
 
Registered: Feb 2004
Location: Kenya
Distribution: Red Hat
Posts: 57

Original Poster
Rep: Reputation: 15
I managed to solve this. Apparently the account I was using to usher in the clients into samba was corrupted (no idea how) so I refreshed this and I was then able to enjoin the Win XP computer onto the domain.

Thank you for your help blubbfish.
 
Old 09-01-2006, 11:10 AM   #7
jeb083079
LQ Newbie
 
Registered: Jul 2004
Distribution: Fedora Core, Red Hat
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by jgnasser
I managed to solve this. Apparently the account I was using to usher in the clients into samba was corrupted (no idea how) so I refreshed this and I was then able to enjoin the Win XP computer onto the domain.

Thank you for your help blubbfish.

I just want to know how you refresh this, the account you use for ushering in the clients into samba. Because I wanted to reset my password because I can not join a Windows 2000 client to samba with ldap. Thanks.
 
  


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 - Cannot join domain m4rk Linux - Software 6 06-27-2007 09:40 AM
Cannot join Samba domain. codedv Linux - Networking 0 10-12-2004 06:33 PM
Can't join my Samba Domain subaruwrx Linux - Networking 53 09-30-2004 11:29 AM
join samba domain! egyptian Linux - Networking 1 07-29-2004 11:18 AM
Win2k AD server because of very tight secuirty i can't make my linux box join domain keshif Linux - Networking 7 02-05-2004 03:04 AM


All times are GMT -5. The time now is 06:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration