On Sunday 28 Jul 2002 10:54 am, Anne Wilson wrote:
> On Saturday 27 Jul 2002 1:51 pm, you wrote:
> > On Saturday 27 Jul 2002 1:28 pm, C.Anne Wilson wrote:
> > > Unfortunately the improvement was *very* shortlived.  I downloaded a
> > > file for
> > > use elsewhere, started to copy it to FD, it crashed and was
> > > unrecoverable.
> > >
> > > New start, then.   I've re-installed, and have things almost back to
> > > where they were.
> > >
> > > Win98 clients can see my shared directories.
> > >
> > > [homes] is not working properly:
> > >    If I enable File & print Sharing for Windows Networks
> > >          Clients can see each other
> > >          and the server
> > >          and a folder marked \\username
> > >
> > >          Opening this folder shows an apparently empty folder which
> > > cannot be written
> > > to.
> > >
> > >    If I remove F & P Sharing etc..
> > >          Clients can see each other
> > >          and the server
> > >          and a folder marked \\username
> > >
> > >          Attempting to open this folder fails, citing unknown error.
> > >
> > > log.nmbd has this message:
> > >
> > > [2002/07/27 13:20:42, 0]
> > > nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(359)
> > >    find_domain_master_name_query_fail:
> > >    Unable to find the Domain Master Browser name LYDGATE.NET<1b> for
> > > the workgroup LYDGATE.NET.
> > >    Unable to sync browse lists in this workgroup.
> > >
> > > I presume that I have missed something that is making this fail.  Any
> > > pointers, please?
> > >
> > > I'm now certain that the slowdowns I have experienced are connected
> > > with the
> > > network problems.  When I re-installed everything was a slick as you
> > > could want, but the moment I wrote the smb.conf and hosts files I was
> > > back to 20 sec. open times.
> > >
> > > Annene
> >
> > Can we see your smb.conf file please Anne.
> >
> > Also how are you connecting the network physically?  Gateway, firewall
> > etc.
> >
> > Thanks
> >
> > derek
>
> Connection - Cat45 cabling through hub, no firewall yet, this machine is
> gateway for Win98 m/cs internet connection sharing.
>
> smb.conf:
> [global]
>       smb passwd file = /etc/samba/smbpasswd
>       printing = cups
>       dns proxy = no
>       encrypt passwords = yes
>       socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>       wins support = true
>       printcap name = lpstat
>       max log size = 50
>       security = user
>       server string = Samba Server %v
>       workgroup = lydgate.net
>       local master = yes
>       netbios name = anne-linux
>       log file = /var/log/samba/log.%m
>       load printers = yes
>       os level = 33
>
> [homes]
>       writable = yes
>       valid users = anne,Micky,Andy,Gillian,Guest
>       comment = Home Directories
>       browseable = no
> *     public = yes
> *     guest ok = yes
>
> [printers]
>         comment = All Printers
>         path = /var/spool/samba
>         browseable = no
> # to allow user 'guest account' to print.
>         guest ok = yes
>         writable = no
>         printable = yes
>         create mode = 0700
> # =====================================
> # print command: see above for details.
> # =====================================
>         print command = lpr-cups -P %p -o raw %s -r
> #       using client side printer drivers.
> ;   print command = lpr-cups -P %p %s # using cups own drivers (use generic
> # PostScript on clients).
> # The following two commands are the samba defaults for printing=cups
> # change them only if you need different options:
> ;   lpq command = lpq -P %p
> ;   lprm command = cancel %p-%j
>
> [print$]
>         path = /var/lib/samba/printers
>         browseable = yes
>         read only = yes
>         write list = @adm root
>
> [Anne_Public]
>         path = /mnt/win_d2/Public
>         browsable = yes
>         writable = yes
>         public = yes
>         create mask = 0775
> #       guest ok = yes
>
>
> [Zips]
>         path = /mnt/win_c/Zips & Downloads
>         browsable = yes
>         writable = yes
>         public = yes
>         user = Andy,Gillian,Micky,Nigel
>         create mask = 0775
> #       guest ok = yes
>
> [KAV_Bases]
>         path = /mnt/win_c/Program Files/Common Files/AVP Shared Files/Bases
>         writable = no
>         browsable = yes
>         public = yes
>         create mask = 0775
> #       guest ok = yes
>
> [MP3]
>         path = /home/anne/Desktop/Mp3
>         comment = /home/anne/Desktop/Mp3
>         public = yes
> #       guest ok = yes
>         writable = yes
>
> The two starred lines were added yesterday (by Webmin) when I tried to
> check if they were not connecting as themselves - a silly idea, really,
> because I had already disabled guest access to the public directories, and
> they can see them OK.
>
> Anne


Anne

Looking at your smb.conf it looks like you are going to be broadcasting Samba 
over both of your interfaces.  To your local network, and to the internet.  
This is a severe security risk, and will make samba run very slow. It is 
possible your firewall will block it anyway, but just to be sure..

You should restrict Samba to the local network only by inserting the line 

interfaces = eth0   

in the [global] parameters   (assuming eth0 is the local network)

Also I doubt very much if you need WINS support in yout network, and suggest 
disabling it. You also have not declared a WINS server which may explain why 
nmbd  is giving you that error message.

Your Homes folder is not browsable and so will not be shown in a list of 
shares.


I have editied your smb.conf file with  the changes I think you need, and will 
send it to you as an attachment.  Note: I will only allow Samba to work over 
eth0  If your local network is on a different adapter you should edit the 
file.

derek




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to