LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-18-2007, 04:47 AM   #1
aswinkillua_z
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 :

[global]
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.

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

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

[netlogon]
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, 06:56 AM   #2
Au_Squirrel
Member
 
Registered: Nov 2005
Location: Brisbane AU
Distribution: FC29
Posts: 52

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 http://www.samba.org/samba/docs/man/...TO-Collection/

Regards
 
  


Reply

Tags
samba



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:31 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
Open Source Consulting | Domain Registration