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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XP and Samba Hello, I am new to li

Status
Not open for further replies.

edgarv

MIS
Jul 25, 2003
248
US
XP and Samba
Hello, I am new to linux, I am trying to bild a PDC I have Redhat 9.0 and Samba 2.8
I edited my smb.conf file and added a couple of workstations and users. I am able to see the samba server on the network, but when I try to connect my XP machine to the Samba Server it gives me an error:
a domanin controler for the domain could not be contacted
Any idea???

thanks

Edgar V
 
XP home cannot join a domain.
Are you having XP home/ XP pro.

regards
MP
 
I was able to get part of it going, I can see my linux domain in my windows computers, but when I try to join the domain, it asks for a user name and password, I typed "root" as the user name and typed "*******" my password but it says that that is either not a valid user or to check that I have typed my password correct, I have checked both, they are correct.

here is what my smb.conf look like


[global]
security = user
status = yes
workgroup = newdomain
wins server = 192.168.1.7
encrypt passwords = yes
domain logons =yes
logon script = scripts\%U.bat
domain admin group = @adm
add user script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %m$
guest account = ftp
share modes=no
os level=65
[homes]
guest ok = no
read only = no
create mask = 0700
directory mask = 0700
oplocks = false
locking = no
[netlogon]
path = /usr/local/samba/netlogon
writeable = no
guest ok = no


any suggestions would be greatly appreciated.


Thanks

EV
 
Try adding the following to global, its what we use.

domain logons = yes
admin user = root
printer admin = root

I believe the key one you are missing is admin user.

Matt J.
 
You may need to add the machine to the passwd and smbpasswd files this is done by the following:

adduser -g machines -d /dev/null/ -s /bin/fasle -n machine_name$

smbpasswd -a -m machine_name$

Replace machine_name$ with the full machine name (all lower case). You must also have the group machines on the server. Then when you try to add XP to the domain put in root as the username and the root password for password.
 
Before a WinXP Pro box can join a domain, you'll need to change a few registry key in WinXP Pro, Namely

hklm\system\currentcontrolset\services\netlogon\parameters
- requiresignorseal = 0
- requirestrongkey = 0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top