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.