public samba share annoyingly asking for password

Scott Hiemstra shiemstra at h2.com
Thu May 4 13:22:25 UTC 2006


> 
> No, it doesn't work. The problem is still there on win 2k or 
> NT clients.
> 
> Any other option?
> 
> Vittorio
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at 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




More information about the freebsd-questions mailing list