LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   winxp won't join to SAMBA PDC (https://www.linuxquestions.org/questions/linux-server-73/winxp-won%27t-join-to-samba-pdc-577971/)

aswinkillua_z 08-18-2007 04:47 AM

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

Au_Squirrel 08-20-2007 06:56 AM

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


All times are GMT -5. The time now is 05:27 AM.