LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-25-2010, 06:18 PM   #1
karozans
LQ Newbie
 
Registered: Apr 2006
Posts: 11

Rep: Reputation: 0
Samba server used as a PDC with XP and Windows 7 clients


Hi everyone I am having difficulties setting up Samba to act as a PDC.

First I work at a very large company that has their own DNS servers. I do not have any control over the DNS servers.

I need a Samba server to act as a PDC so that I can put several Windows XP SP3 and several Windows 7 clients on the domain.

I really don't know much about lmhosts files and other things like that.

Here is my smb.conf.

Code:
[global]
	workgroup = server.tucson.com
	passdb backend = tdbsam
	printing = cups
	printcap name = cups
	printcap cache time = 750
	cups options = raw
	map to guest = Bad User
	logon path = \\%L\profiles\.msprofile
	logon home = \\%L\%U\.9xprofile
	logon drive = P:
	usershare allow guests = No
	add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false %m$
	domain logons = Yes
	domain master = Yes
	local master = Yes
	os level = 65
	preferred master = Yes
	security = user
	wins support = Yes
	dns proxy = No
	netbios name = samba
	pam password change = Yes
	logon script = logon.cmd
	encrypt passwords = Yes

[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = Yes
	read only = No
	inherit acls = Yes
	create mask = 0600
	directory mask = 0700

[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	store dos attributes = Yes
	create mask = 0600
	directory mask = 0700
	profile acls = Yes
	browseable = No
[users]
	comment = All users
	path = /home
	read only = No
	inherit acls = Yes
	veto files = /aquota.user/groups/shares/
[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit acls = Yes

## Share disabled by YaST
# [printers]
#	comment = All Printers
#	path = /var/tmp
#	printable = Yes
#	create mask = 0600
#	browseable = No

## Share disabled by YaST
# [print$]
#	comment = Printer Drivers
#	path = /var/lib/samba/drivers
#	write list = @ntadmin root
#	force group = ntadmin
#	create mask = 0664
#	directory mask = 0775

[netlogon]
	comment = Network Logon Service
	path = /var/lib/samba/netlogon
	write list = root
	read only = Yes
	browseable = No
When I try to add a windows XP or a windows 7 client to the domain I get the following error.

Code:
The following error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain SERVER.TUCSON.COM:

The error was: "DNS name does not exist."
(error code 0x0000232B RCODE_NAME_ERROR)

The query was for the SRV record for _ldap._tcp.dc._msdcs.SERVER.TUCSON.COM

Common causes of this error include the following:

- The DNS SRV record is not registered in DNS.

- One or more of the following zones do not include delegation to its child zone:

SERVER.TUCSON.COM
TUCSON.COM
COM
. (the root zone)

For information about correcting this problem, click Help.
I assume that the windows xp client is trying to use DNS for something.

Keep in mind I have 0% control over the DNS servers I am using.
 
Old 05-26-2010, 04:00 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
XP is trying to reach the Samba PDC using DNS.

You need whomever manages your DNS to add an A record for your Samba PDC.

Last edited by mpapet; 05-26-2010 at 04:01 PM.
 
  


Reply



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 PDC, errors with Windows clients priyobarta Linux - Enterprise 2 06-10-2008 02:24 PM
samba pdc trust with windows 2003 server pdc samba_pk Linux - Networking 1 06-08-2007 01:22 AM
Tip: Samba PDC VMware Server Windows XP Pro kris.kj.jacobs Linux - Software 1 01-01-2007 05:31 PM
Samba PDC + ACL - howto map users and groups on windows clients myers Linux - Networking 0 09-04-2006 03:50 PM
Samba as a PDC with Linux Clients BAK2004 Linux - Networking 4 05-12-2005 05:57 AM

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

All times are GMT -5. The time now is 12:13 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