[Samba] help with win2k and linux samba browsing

p at dirac.org p at dirac.org
Wed Oct 29 17:05:12 GMT 2003

hi all,

i've spent an incredible amount of time trying to get samba working
between linux (satan, debian testing, samba 3.0.0) and win2k (lucifer)
and i'm at wit's end.  i'm begging for help.

i spent most of the morning reading samba docs, and have gone from
knowing zilch about MS networking to, well, a little something about MS

my ultimate goal is to be able to click "my network places | computers
near me" from win2k and browse satan's filesystem.  here's what i've

1. account "p" exists on both machines and has same password.  the
   workgroup on both linux and win2k is "testgroup".

2. i want linux to be the WINS server, so i've entered linux's IP
   address in the WINS server box on win2k.

3. i want linux to be the browse master.  i've set:

      workgroup = testgroup
      domain master = yes
      local master = yes
      preferred master = yes
      wins support = yes
      os level = 100

   so samba should win negotiations of who's master.

4. i've gone through diagnostics.txt in the samba documentation.  all
   tests worked fine up till "test 8":

      On the PC type the command "net view \\BIGSERVER".

   when i type this, i see:

      System error 64 has occured.
      The specified network name is no longer avilable.

5. i've gone through each of the fixes listed in diagnostics.txt:

      * fixup the nmbd installation (i *think* this is ok)
      * add linux IP to wins server box.  (check)
      * enable windows name resolution via DNS in the advanced
        section of the tcp/ip setup.  (check, i think.  there's no
         box with "enable windows name resolution", but the other boxes
         seem to indicate that DNS is enabled)
      * add BIGSERVER to your lmhosts file.  (if the lmosts file has the
         same format as /etc/hosts, then check)

6. when i double click "my network places" | "computers near me", a pop
   appears that says:

      "Testgroup is not accessible.  The network path was not found."

7. /var/lib/samba/wins.dat looks like win2k at least broadcasted itself
   to linux, although i'm not sure what each entry means:

   VERSION 1 0
   "LUCIFER#00" 1067745381 64R
   "LUCIFER#03" 1067745381 64R
   "LUCIFER#20" 1067745381 64R
   "NAVALLE#00" 1067790845  4R
   "NAVALLE#03" 1067790845  4R
   "NAVALLE#20" 1067744970  4R
   "P#03" 1067745415 64R
   "SATAN#00" 1067705724 66R
   "SATAN#03" 1067705724 66R
   "SATAN#20" 1067705724 66R
   "TESTGROUP#00" 1067705724 e4R
   "TESTGROUP#1b" 1067705724 64R
   "TESTGROUP#1e" 1067705724 e4R
   "WORKGROUP#00" 1067743623 e4R

8. there is a win98 system on my home network, navalle.  samba seems to
   work great between linux and win98.  i can browse linux from win98
   and vice versa.  this makes me think the problem is with win2k.

i know this is a tremendous post, and i graciously thank you for reading
down this far.  i'm desperate to get this working, and have posted as
thorough a report as i could.  i'd be happy to post any more info that's

thank you VERY much!


# Global parameters
   server string = %h server (Samba %v)
   # hosts equiv = /etc/samba/hosts.equiv
   # hostname lookups = yes
   passdb backend = tdbsam, guest
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
   syslog = 0
   max log size = 1000
   name resolve order = lmhosts host wins bcast
   dns proxy = No
   panic action = /usr/share/samba/panic-action %d
   hosts allow =,,, 127.
   print command = /usr/bin/lpr -r -P%p %s
   lpq command = /usr/bin/lpq    -P%p %s
   lprm command = /usr/bin/lprm   -P%p %j
   queuepause command = /usr/sbin/lpc -P%p start

   workgroup = testgroup
   domain master = yes
   local master = yes
   preferred master = yes
   wins support = yes
   os level = 100

   comment = Home Directories
   read only = No
   create mask = 0700
   directory mask = 0700
   browseable = No

   path = /var/spool/lpd/samba
   read only = No
   create mask = 0700
   printable = Yes

   comment = Samba server's CD-ROM
   path = /cdrom
   guest ok = Yes
   locking = No

   comment = temporary files
   path = /tmp
   read only = yes

GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D

More information about the samba mailing list