Ronal Andadinata
2010-Nov-03 05:12 UTC
[Samba] Public no-password share with "security = domain", is it possible ?
Hi, I have one samba act as PDC controlling a domain and another one act as a Fileserver joined to that domain. Now i need to create a public share that doesn't need user/password. Is that possible ? I tried the following on the Fileserver but didnt work : [public] path=/share/public public=yes read only=no The directory is already in 777 mode. When i try to connect to them from a Windows box that's not it keeps asking me username/password. If enter a domain username/password, it works, but that's not not what i wanted :( Thanks.
Chris Weiss
2010-Nov-03 13:17 UTC
[Samba] Public no-password share with "security = domain", is it possible ?
On Wed, Nov 3, 2010 at 12:12 AM, Ronal Andadinata <ronal at e-online.co.id> wrote:> [public] > path=/share/public > public=yes > read only=no > > The directory is already in 777 mode. When i try to connect to them from a > Windows box that's not it keeps asking me username/password. > If enter a domain username/password, it works, but that's not not what i > wanted :(did you also set in global: map to guest = bad user guest account = nobody (or some other appropriate for your host OS) these are the same options required for guest on a standalone server as well also, if your windows pc is using the same username as one of your domain logins, this won't work, you'd have to use "bad password" or "bad uid", but you should read about the caveats in man smb.conf before doing that.
Max León
2010-Nov-03 15:10 UTC
[Samba] Public no-password share with "security = domain", is it possible ?
You can try to use: guest ok = yes also you might need to specify the guest account. On 11/2/10 11:12 PM, Ronal Andadinata wrote:> Hi, > > I have one samba act as PDC controlling a domain and another one act > as a Fileserver joined to that domain. > Now i need to create a public share that doesn't need user/password. > Is that possible ? I tried the following on the Fileserver but didnt > work : > > [public] > path=/share/public > public=yes > read only=no > > The directory is already in 777 mode. When i try to connect to them > from a Windows box that's not it keeps asking me username/password. > If enter a domain username/password, it works, but that's not not what > i wanted :( > > > > > > Thanks.-- Max Le?n Systems Director Wire Watchers : enterprise : technology : genius ------------------------------------------------------------------------------------------------------------------ Avenida 11 y Calle 7-9, Barrio Am?n, San Jos?, Costa Rica cel: +(506) 8364-6261 | fax: +(506) 2258-3695 email: mleon at wirewatchers.com <mailto:mleon at wirewatchers.com> | www.wirewatchers.com <http://www.wirewatchers.com> ------------------------------------------------------------------------------------------------------------------