Samba as PDC
Hi I'm trying to setup a small test network with Samba as a Primary Domain Controller (PDC) for Windows boxs to connect to it. I'm kind new to Linux and don't know where I am going wrong.
I've read and trying to setup Samba to do the PDC role. Below is the 'global' section of the smb.conf file.
I can ping the Linux box be the netbios name. Can see the Samba shares if in Windows I go to \\test.
workgroup = 1domain
server string =
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 -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
domain master = Yes
security = user
netbios name = test
local master = Yes
os level = 65
preferred master = Yes
wins support = yes
debug level = 2
dns proxy = yes
time server = yes
But when I go to join the domain (1domain) I get the following error message.
Apart from editing the smb.conf file I have also added the user and client PC to the Linux box and edited the /etc/passwd file as below. Tutorial I was using said to put the $ after the PC name.
"The following error occurred attempting to join the domain "1domain".
The specified domain either does not exist or could not be contacted.
Also I used the smbpasswd -s <username> and smbpasswd -a -m <client-pc>.
Rebooted the Linux box to confirm all settings/Samba was active with new settings then when I try to join the Domain I get that above error message.
I am running openSUSE 11.0.
Does anyone know any good tutorials I should have a read of on how to do what I am after, for beginners or can you provide any help with what else I might need to do or where I am going wrong.
Thanks in advanced.
Have you had a look at the worked examples in the "offical samba how-to"?
Chapter*2.*Fast Start: Cure for Impatience