Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 02-23-2006, 11:30 PM   #1
LQ Newbie
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
unable to join xp to samba pdc

Im running xp pro one my PC, I aslo have a Fedora Core 4 PC setup running Samba as a PDC. But when I try to join my XP to the Samba PDC, I get "The following error occurred attemping to join to the domain "linux": Logon Failure: unknown user name or bad password"

I added root the smbpasswd file with smbpasswd -a root
here is my smb.conf file, I dont know where I am making the mistake, I have gotten my PC to join the domain before I redid the linux box. I also created the group "network" for the samba logins.

workgroup = linux
encrypt passwords = yes
netbios name = fedora
time server = yes
domain logons = yes
os level = 65
local master = yes
preferred master = yes
domain master = yes
security = user
wins support = yes
domain admin users = root

# Add machine script
add machine script = /usr/sbin/useradd -d /dev/null -g network -s /bin/false -M %u

read only = no
browseable = no
create mask = 0600
directory mask = 0700

path = /home/samba/netlogon
public = yes

path = /home/samba/profiles
read only = no
create mask = 0600
directory mask = 0700

Can you point me to where I am making the mistake??
I tried adding the machine manually and commented out the script, but same error.
Old 02-24-2006, 05:02 AM   #2
Registered: Jun 2005
Location: London, Uk
Distribution: RH-ES 3/4, FC 5/6
Posts: 51

Rep: Reputation: 15
I'm not good with Samba or linux domains (thinking about it, I last used Samba 3yrs ago!); Here's a few guides I found, maybe it can shed some more light on the issue:

Good luck, and post back if you have success


Last edited by RedHatCat; 02-24-2006 at 05:05 AM.
Old 02-24-2006, 06:08 AM   #3
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 36
Can't give you a link but have a nagging memory of threads where changes to the PDC required extensive work deleteing XP registry entries in order to start fresh.
In other words, think your problem is on XP side and that you had it working once.
Old 02-24-2006, 07:39 AM   #4
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
I probably think this has to do something to the nscd service. try service nscd restart


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 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 11:39 AM
Samba as PDC- Windows Client cant join gaston7392 Linux - Networking 1 06-24-2005 09:32 AM
How to join a Linux client to a Samba PDC Niceman2005 Linux - Networking 4 11-29-2004 10:23 PM
how do I give a user access to join a samba PDC? rtg2001 Linux - Networking 1 08-04-2004 07:03 PM
SAMBA PDC & XP can't join calabash Linux - Networking 5 02-16-2004 04:39 PM > Forums > Linux Forums > Linux - Networking

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