Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-18-2007, 05:47 AM   #1
LQ Newbie
Registered: May 2007
Location: jakarta
Distribution: OpenSuse 10.1
Posts: 8

Rep: Reputation: 0
winxp won't join to SAMBA PDC

i have problem about samba as PDC

this is my smb.conf :

workgroup = ZERO
netbios name = MDK92
server string = Samba PDC running %v
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
unix password sync = Yes
log level = 2
log file = /var/log/samba/log.%m
max log size = 50
logon script = %U.bat
logon path = \\%L\profiles\%a\%U
logon drive = N:
logon home = \\%L\%U\Win-profile
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
hosts allow = 192.168.1.

comment = Home Directories
valid users = %U
read only = No
browseable = No

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

comment = Network Logon Service
path = /home/netlogon
browseable = No


and i have change the setting at regedit winxp sp2

but when i try to join domain it failed

is there anything wrong .... ?

i have made account too... and give smbpasswd
Old 08-20-2007, 07:56 AM   #2
Registered: Nov 2005
Location: Brisbane AU
Distribution: FC16
Posts: 51

Rep: Reputation: 17
Are you trying to join a workstation to the domain or adding the PDC to an existing workgroup?

To allow you to add workstations users and groups, you also will need the following in your smb.conf

add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/groupmod -A %u %g
delete user from group script = /usr/sbin/groupmod -R %u %g
add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u

Check out the Samba guide at




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 SLES 10 PDC, Cannot join domain brentos Linux - Networking 1 03-26-2007 12:19 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 11:39 AM
unable to join xp to samba pdc terran2k Linux - Networking 3 02-24-2006 07:39 AM
Samba as PDC- Windows Client cant join gaston7392 Linux - Networking 1 06-24-2005 09:32 AM
SAMBA PDC & XP can't join calabash Linux - Networking 5 02-16-2004 04:39 PM > Forums > Linux Forums > Linux - Server

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