Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2006 09:24:36 -0400
From:      "Scott Hiemstra" <shiemstra@h2.com>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: public samba share annoyingly asking for password
Message-ID:  <20060504132224.6E4D743D49@mx1.FreeBSD.org>
In-Reply-To: <200605041410.06771.vdemart1@tin.it>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> No, it doesn't work. The problem is still there on win 2k or 
> NT clients.
> 
> Any other option?
> 
> Vittorio
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"
> 

Vittorio,

This works on my network with win NT/2k/2k3/XP machines and we do not get
prompted for username/password.  The "allow hosts" portion is not required,
I just needed to limit the share a bit.  This host is running "FreeBSD
4.10-STABLE" and samba "2.2.12" so it is a little old but it functions very
well.

[global]
    log file = /var/log/samba/log.%m
    dns proxy = No
    netbios name = SMBSERVER1
    server string = Samba Server
    socket options = TCP_NODELAY
    workgroup = OFFICE
    os level = 20
    security = share
    preferred master = no
    max log size = 50

[Public Share]
    guest account = guest
    writeable = yes
    public = yes
    guest only = yes
    path = /data/shared/public
    allow hosts = 192.168.1.3 192.168.128.6 192.168.128.35 192.168.128.60
192.168.64.60

Hope this helps,
Scott





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060504132224.6E4D743D49>