[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

samba 2.0 troubles

I'm having problems with samba 2.0 (the .deb in potato) that I was hoping
someone could help me with.

My win95 box cannot be seen by smbclient, and my linux box cannot be seen
by my win95 box.  Both can ping each other, however, so I don't think it's
an ether problem.

odin@bolverk:[~]$ smbclient -N -L localhost
Added interface ip= bcast= nmask=
Domain=[ASGARD] OS=[Unix] Server=[Samba 2.0.2]

        Sharename      Type      Comment
        ---------      ----      -------
        tmp            Disk      Temporary file space
        IPC$           IPC       IPC Service (Samba Server)
        lp             Printer   Generic dot-matrix printer entry

        Server               Comment
        ---------            -------
        BOLVERK              Samba Server
        FRIGG                Printer

        Workgroup            Master
        ---------            -------
        ASGARD               FRIGG

Why is my samba box not the master? (I've got my smb.conf attached later)
btw, FRIGG isn't a printer, but I would like to have it serve a printer
which explains the Comment field.

odin@bolverk:[~]$ smbclient -N -L
Added interface ip= bcast= nmask=
session request to failed
session request to *SMBSERVER failed

odin@bolverk:[~]$ ping
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=32 time=4.0 ms
64 bytes from icmp_seq=1 ttl=32 time=3.1 ms

my linux box ( does not show up in the win95 browse window.

Here's the non-comment parts of my smb.conf:

   workgroup = ASGARD
   server string = Samba Server
   load printers = yes
   guest account = nobody
   log file = /var/log/samba/log.%m
   max log size = 50
   security = user
   socket options = TCP_NODELAY
   local master = yes
   preferred master = yes
   domain logons = yes
   dns proxy = no

   comment = Home Directories
   browseable = no
   writable = yes

   comment = All Printers
   path = /usr/spool/samba
   browseable = no
   guest ok = no
   writable = no
   printable = yes

   comment = Temporary file space
   broseable = yes
   path = /tmp
   read only = no
   public = yes

So in an smbclient -N -L localhost, I should see tmp shared as well as
some printers, and shouldn't my servername come up and workgroup name?

In my /usr/src/linux/.config:


root@bolverk:[/usr/src/linux]# uname -a
Linux bolverk 2.2.1 #3 Sun Feb 7 13:52:40 EST 1999 i586 unknown

In Windoze, neither Start>>Run>>\\bolverk or Start>>Run>>\\
work, but Network Neighborhood lists FRIGG and only FRIGG.

I think this has something to do with my samba server not being the master
browser, but why is it not?  Shouldn't those lines in the smb.conf ensure
the samba server being master browser?

When I set LM Announce = Yes and Browse Master = Disabled in Win95, the
smbclient output looks the same, but FRIGG no-longer shows up in the
network neighborhood window.  (From the default Browse Master = Automatic)

Any help would be greatly appreciated.

Thanks in Advance.

Reply to: