cannot join xp or vista to samba domain (PDC)

Thread Tools Search this Thread
Homework and Emergencies Homework & Coursework Questions cannot join xp or vista to samba domain (PDC)
# 1  
Old 02-18-2010
cannot join xp or vista to samba domain (PDC)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:
I have a barebones XP Pro SP2 with no firewall.

CentOS 5.xx running a Samba 3.xx Domain (PDC)

The XP machine has the Samba server set as the WINS server and netbios over tcp/ip is enabled.

The PDC is running a WINS server that is in fact working correctly.
-The xp machine can see it with the "net view" command.
-The xp machine can "ping" the server by using its netbios name.

2. Relevant commands, code, scripts, algorithms:
Here is the configuration of the /etc/samba/smb.conf file
#### SAMBA CONFIG ####

workgroup = WORKGROUP
netbios name = samba 
server string = i r samba
encrypt passwords = yes

wins support = Yes

hosts allow = 192.

load printers = Yes
printcap name = cups
show add printer wizard = Yes
printing = cups

passdb backend = tdbsam
security = user
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/groudel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null -g machines %u

# Followiing specifies the default logon script
# Per user logon scripts can be specified by the user
# account using pdbedit logon script = logon.bat
# This sets the default profile path
# Set per user paths with pbedit
logon drive = H:
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes

	valid users = %S
	read only = No

	path = /var/lib/samba/netlogon/scripts
	browseable = No
	read only = No

	path = /var/lib/samba/profiles
	read only = No
	browseable = No
	guest ok = Yes
	profile acls = Yes

	comment = ALL PRINTERS
	path = /var/spool/samba
	guest ok = Yes
	printable = Yes
	use client driver = Yes
	browseable = Yes

### $HARE$$$$
	comment = comment
	path = /share
	read only = Yes
	valid users = vmuser

3. The attempts at a solution (include all code and scripts):
I've tried to see so many different sites and solutions but none have worked. They seem to have done the same thing i've done just with a success. I've seriously been trying to get this fixed for like 2 weeks at school. Even though i failed i want to know what's going on!

4. School Info

University of Cincinnati
Cincinnati, OH, USA
32 IT 415 you have to go to Winter09-10 ==> 32 ==> IT.
# 2  
Old 02-18-2010
Explain in more detail what you mean by "doesn't work". Does it just reject you? Does it time out? Does it ask for a password?

Also remember that usernames must be synchronized between Windows and UNIX, and their passwords must be synchronized between Windows and Samba. If Samba recognizes the user and the passwords match, then it will let them login to UNIX as the specified local user.

For example, here at work, I have a local user 'leah' on the UNIX machine, with samba configured to let her access her own files on the server.

Her user's display name on Windows is "Leah", but it used to be Nathan's computer and the account was just renamed; the actual user name in windows (echo %USERNAME% in cmd prompt) remains "Nate". So in smbusers I needed to add this to let the "Nate" account login as leah:
leah = Nate

Next, I had to tell Samba to recognize the username 'leah' and the password she logs into Windows with.
smbpasswd -a leah

It will prompt for the password, which must match the password on the windows machine. If she changes her windows login password the server will stop recognizing her...!

Then I needed to add her to several groups on the server, so the local 'leah' user would have access to the correct files.

When that's all finally done, I did /etc/init.d/samba restart and she was finally able to get into the Samba share as the local user 'leah' with all the permissions and restrictions you'd expect someone logging into the machine as a local user to have.
# 3  
Old 02-18-2010
Sorry for the confusion... what I meant was that when I try to add the XP client to the domain, it doesn't find the Samba domain. It tells me make sure that the Netbios name is correctly registered, which it is, or fix the DNS problem, which i shouldnt need.

When I type the domain name, i should atleast get a prompt to enter the root password/username. Once i get that far, i should be good.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Open source s/w to join to AD domain

Looking for open source software to join my RHEL6.x to AD domain for . - Domain login - Group based restriction Already tested - Pbis open -> But rejected as some library conflicts - Realmd -> Not supportive for RHEL 6.x Please suggest any open source tools (2 Replies)
Discussion started by: Shirishlnx
2 Replies

2. Red Hat

RHEL 6 SAMBA PDC not loading user's profile

Hi all I am facing a problem. I have configured SAMBA PDC on RHEL 6. Everything is going very smooth. Users are being logged in properly & their network drives (i-e; z: drives) are being shown. But either i login to Windows XP or Windows 7, user's profile does not get loaded. I get an error... (0 Replies)
Discussion started by: Yawar_Aziz
0 Replies

3. Windows & DOS: Issues & Discussions

Lost Domain Admin Privileges in Samba

Hello, I have apparently lost all domain admin privledges in Samba. I have had several problems ever since I installed the 1/31 Solaris patch cluster. I had to roll out one Samba update (146363-01), which denied all logons network access. However, this particular problem seems to have begun... (0 Replies)
Discussion started by: stringman
0 Replies

4. Debian

Testing a SAMBA Domain Controller

Hello,,, We have an existing(working) MS PDC in our office. I have already installed SAMBA with LDAP Authentication on a TEST machine (on same LAN). But, am unable to join a WinXP machine to this domain. in smb.conf i have: WORKGROUP = mydomain and tried to join the XP machine to... (0 Replies)
Discussion started by: coolatt
0 Replies

5. UNIX for Dummies Questions & Answers

Samba change domain controller

Hello people i have a samba and they changed domain controller from a windows 2003 to a windows 2008, there is a problem with the version of samba maybe incompatibilities i dont know what show me this domain_client_validate: unable to validate password for user xxxx in domain xxxx to Domain... (0 Replies)
Discussion started by: enkei17
0 Replies

6. UNIX for Dummies Questions & Answers

migrate samba pdc from one server to another

Hi there, Hope this forum is adapted to my question. I have : + 1 Debian server with Samba set to authenticate users in the domain HOME (workgroup = HOME / domain logons = yes). + 3 Windows XP Laptops configured to belong to the domain HOME. So on startup, I'm invited to enter a login password... (2 Replies)
Discussion started by: chebarbudo
2 Replies

7. Ubuntu

How To Join NIS Domain to an Ubuntu workstation

Hi guys, i am having a problem :confused:actually i never did this before,so please help me to join nis domain to an ubuntu workstation. As i have configured and running NIS Server on RedHat 4.0 in my network and want to set an ubuntu workstation as client. please tell all steps......looking for... (2 Replies)
Discussion started by: daya.pandit
2 Replies

8. UNIX for Advanced & Expert Users

Samba does not connect to domain

I have a samba server and a raid SAN which is actually running samba. Neither one lets me access anything on the samba unix side. I really do not know where to look anymore. there are no errors. When I try to connect to the samba server I get prompted with login and password repeatedly. Frank (4 Replies)
Discussion started by: frankkahle
4 Replies

9. UNIX for Dummies Questions & Answers

domain logon problem - FreeBSD PDC w/ win2k pro and winxp pro

this is the seventh problem i'm having with samba. for some reason, i cannot logon to the domain. i've created user accounts... and i was able to establish a connection between the samba server (my PDC) and my workstations by logging in as "root." however now when i try to logon it gives... (5 Replies)
Discussion started by: xyyz
5 Replies

10. UNIX for Dummies Questions & Answers

Using Samba to join a win 2000 Domain

I am trying to set samba up to join my windows 2000 domain and I am having troubles If anyone if familiar with this help would be greatly appreciated I issue the following command # ./smbpasswd -j DOMAIN -r DOMAINCONTROLER And the following gets returned load_client_codepage: filename... (4 Replies)
Discussion started by: gennaro
4 Replies
Login or Register to Ask a Question

Featured Tech Videos