Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-29-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
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.Code:[global] 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.Code:"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>.Code:testuser:x:1003:100::/home/testuser:/bin/bash adam-pc$:x:1005:100::/home/adam-pc:/bin/bash
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.
- 03-30-2009 #2Linux Enthusiast
- Join Date
- Aug 2006
- Location
- Portsmouth, UK
- Posts
- 539
Have you had a look at the worked examples in the "offical samba how-to"?
Chapter*2.*Fast Start: Cure for ImpatienceRHCE #100-015-395
Please don't PM me with questions as no reply may offend, that's what the forums are for.


Reply With Quote
