Hi all, I've looked through the archives and I can't seem to find a solution, so here's my problem. I have three Win2k clients and one Samba server which I set up as a PDC (or at least I thought so.) The domain is "THEMOLE" yet when I try to join the domain from the clients it says; "The following error occured validaing the name "THEMOLE" The specified domain either does not exist or could not be contacted." I've included my smb.conf below and was just wondering if I've done something stupidly wrong? Thanks in advance. --- My smb.conf is : # Global parameters [global] workgroup = THEMOLE netbios name = TATTY netbios aliases = PDC server string = Samba Server %v encrypt passwords = Yes log file = /var/log/samba/log.%m max log size = 50 printcap name = lpstat domain logons = Yes os level = 64 preferred master = True domain master = True dns proxy = No wins support = Yes preload = pdf-generator printing = cups [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba create mask = 0700 guest ok = Yes printable = Yes print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. browseable = No [print$] path = /var/lib/samba/printers write list = @adm root [pdf-generator] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I & [netlogon] path = /home/netlogon write list = root
On Thu, Nov 21, 2002 at 02:30:05PM +0000, Brett.Cook@students.dmu.ac.uk wrote:> Hi all, > > I've looked through the archives and I can't seem to find a solution, so > here's my problem. > > I have three Win2k clients and one Samba server which I set up as a PDC > (or at least I thought so.) > > The domain is "THEMOLE" yet when I try to join the domain from the > clients it says; > > "The following error occured validaing the name "THEMOLE" > > The specified domain either does not exist or could not be contacted." > > I've included my smb.conf below and was just wondering if I've done > something stupidly wrong?Add "security = user". In samba 2.2 this is default.> > Thanks in advance. > > --- > > My smb.conf is : > > # Global parameters > [global] > workgroup = THEMOLE > netbios name = TATTY > netbios aliases = PDC > server string = Samba Server %v > encrypt passwords = Yes > log file = /var/log/samba/log.%m > max log size = 50 > printcap name = lpstat > domain logons = YesAck.> os level = 64Ack.> preferred master = TrueTrue? I prefer "Yes", possibly it run's with "True". Check with the testparm command, all settings as you expect.> domain master = TrueYes. Add "local master = Yes". Take a look in Samba-HOWTO-Collection.pdf Page 49/88> dns proxy = No > wins support = YesAck. Make sure that your clients will use this wins server. Frank. -- Frank Matthie? fm+samba@Microdata-pos.de
On Thu, Nov 21, 2002 at 03:49:16PM +0000, Brett.Cook@students.dmu.ac.uk wrote:> I've added all those and still no joy :( > > Any other hints? >Do you use the docu from the Samba howto collection? Did you check your running config (get this with testparm) and verified it against docu and "man smb.conf". -- Frank Matthie? fm+samba@Microdata-pos.de
On Fri, Nov 22, 2002 at 09:07:48AM +0000, Brett.Cook@students.dmu.ac.uk wrote:> >Do you use the docu from the Samba howto collection? > > Yes. I used the "How to Configure Samba 2.2 as a Primary Domain > Controller" HOWTO. > > >Did you check your running config (get this with testparm) and verified > it > >against docu and "man smb.conf". > > Yes, all seems to be fine. Is there any other configs I should change?I think no.> > All workstations are on the same subnet, server by the DHCP server > (Samba machine) which gives out the WINS server address as itself.Do you try to setup the machine account manually on the samba pdc?> > I just don't understand what it could be. It's so frustrating! >Does the local connection funtion properly? Make it running first. Than you are sure, that all other problems must be client and/or network problems. What happend, if you try to "browse" via smbclient from samba server commandline to your samba service? smbclient -L samabservername -U adminusername -W domainname With smbclient //samabservername/sharename -U adminusername -W domainname you are logon and get another commandline ontop of samba in the named share. What happend? Any error messages? Which? -- Frank Matthie? fm+samba@Microdata-pos.de
On Fri, Nov 22, 2002 at 02:34:18PM +0000, Brett.Cook@students.dmu.ac.uk wrote:> Just saw this in my System log. > > Nov 22 > > 14:20:09 nmbd query_name: Failed to send packet trying to query name > THEMOLE<1d> > > (with the <1d> on the end)<1d> is for local master browser. "Samba-HOWTO-Collection.pdf" section 2.3 page 9 (14/88) In my first answer i give you the hint to add "local master broswer = yes". Do you forgot this in your smb.conf? Please make a crosscheck from your actual samba config(no - not the smb.conf, try testparm to get _all_ parm's) and the "Samba-HOWTO-Collection.pdf". Do a "testparm > samba.config". You must press _one_ key to dump this to the file ;-) It will save a loot of your time if you check all unknown parm's in testparm output with "man smb.conf" in another console/terminal window. I've learned much about samba with this crosscheck. Every parameter you don't understand will left with default values.> > What's that about? Could it have something to do with anything?I think so. Please make sure that your samba server is the only pdc for THEMOLE and the only one wins server for your network. Are there runnning nt server systems? Do the serve wins or the domain? There can only by one wins server in your network. samba is abelt to use a nt wins server with the globale smb.conf parm "wins server". It is preferred to use the nt winsserver if you have one.> > Thanks.This questions should be send to the sambalist, because this is helpfull for all other new people, which want to setup a samba server as pdc. For you there is a better chance to get approbiate answers. Think about timzone diff's ;-). -- Frank Matthie? fm+samba@Microdata-pos.de
I've checked all the settings in the smb.conf against the man pages, all seem correct. What else could I be missing? Why can't it see the server? The following is my config file. /etc/samba/smb.conf [global] workgroup = THEMOLE netbios name = TATTY netbios aliases = PDC server string = Samba Server %v encrypt passwords = Yes log file = /var/log/samba/log.%m max log size = 50 printcap name = lpstat domain logons = Yes os level = 64 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes preload = pdf-generator printing = cups security = user local master = yes [homes] comment = Home Directories read only = No browseable = No [print$] path = /var/lib/samba/printers write list = @adm root [pdf-generator] comment = PDF Generator (only valid users) path = /var/tmp printable = Yes print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m %I & [netlogon] path = /home/netlogon write list = root -- ::TheMole::. "did i mistake your words? did i betray your well worn trust?" http://themole.yi.org ~ http://www.buhsnarf.net