Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows XP Professional JOIN to samba PDC ? 1

Status
Not open for further replies.

inetd

Technical User
Jan 23, 2002
115
HK
I am using Redhat 7.1 with samba 2.2.2 configured as PDC.
Can samba support Windows XP to join to its domain?

Thanks,
inetd.
 
Hi,

With 2.2.2 it should be OK. You need to set up machine accounts for winnt/w2k/xp machines because they join the domain (unlike win9x machines which are never really true domain members). This is the same as the other way round. First you create a linux account with the netbios_name

# /usr/sbin/useradd -g 100 -d /dev/null -m -s /bin/false xp_box1$

Then create the equivalent smbpasswd entry..

# /usr/bin/smbpasswd -a -m xp_box1

(xp_box1 is an example of a netbiosname)

If you have a lot of boxes you can create on the fly by putting the following into smb.conf :

add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u

To to that, however, you must have a smbpasswd entry for root. If you set it up like this its best to use a different smb password for root to the 'real' root password for security reasons.

Hope this helps



 
Thanks ifincham .
I have tried to add the xp machine to my domain by these 2 command:

# /usr/sbin/useradd -g 100 -d /dev/null -m -s /bin/false xp_box1$

# /usr/bin/smbpasswd -a -m xp_box1$

At the xp machine it seems be added to the domain but after I reboot I can't login in with any domain user name.

I have done these on winnt and win2k. Both are successful.

Please help.

Thanks.

 
Hi,

Giving the details would have been more helpful ......... I guess you mean this :

REGEDIT4

;
; This registry key (gathered from the Samba-tng lists) is needed
; for a Windows XP client to join and logon to a Samba domain
;

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


Regards
 
I'm also having difficulty joining my Windows XP machine to a Samba domain. The Samba version is 2.2.1a running on Mandrake Linux 8.1. I am using the add user script to add Machine Trust Accounts on the fly, and have successfully added a Windows 2000 Machine. However, when I attempt the same fron the XP Pro mackine, I get the error "The Specified User Does Not Exist".

Any suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top