Mailinglist Archive: opensuse (1480 mails)

< Previous Next >
Re: [opensuse] Samba allow guest access
On Thu, Mar 15, 2012 at 05:36:37AM -0700, Steven Hess wrote:
"guest ok = yes" for each share makes it password-less if you have
guests enabled and "security = share" set.

Setting 'security = share' is not a must requirement to get a public
accessible share.

lmuelle@hip:~> smbget -a
smb://hip/ftp/opensuse/distribution/12.1/iso/openSUSE-12.1-Addon-Lang-i586.iso
Using workgroup WORKGROUP, guest user
smb://hip/ftp/opensuse/distribution/12.1/iso/openSUSE-12.1-Addon-Lang-i586.iso
Downloaded 623,48MB in 8 seconds

All I did is adding this share definition to the defualt smb.conf we use
by default as part of the samba-client package:

[ftp]
comment = ftp area
path = /srv/ftp/pub
guest ok = Yes

Lars
--
Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
< Previous Next >
Follow Ups