Hi!
I am trying to setup a WIndows Domain controller using Samba. When I try to add a Windows XP Machine to the domain it says that it cannot find the SRV entry for the domain name.
The message from windows suggests that it is looking for an LDAP Server. BUt I have no ldap server. Only my samba server and my precious DNS and DHCP servers.
What have I done wrong? Obviously I missed something.
I followed "Domain Controller" at
http://www.samba.org/samba/docs/man/...html#id2533093
If someone could help me out that would be great.
THanks,
David
Everything from smb.conf except for shares:
################################
[global]
workgroup = mydomain.net
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
#Samba Domain Controller
netbios name = pdc
passdb backend = tdbsam
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/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u
# Note: The following specifies the default logon script.
# Per user logon scripts can be specified in the user account using pdbedit
logon script = scripts\logon.bat
# This sets the default profile path. Set per user paths with pdbedit
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes
idmap uid = 15000-20000
idmap gid = 15000-20000
## END OF DOMAIN LOGONS
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
# NETLOGON FOR DOMAIN LOGONS