Bug 9867 - Anonymous guest share access does not work if using "samba4" in "auth methods"
Anonymous guest share access does not work if using "samba4" in "auth methods"
Status: NEW
Product: Samba 4.0
Classification: Unclassified
Component: File services
4.0.5
All All
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-07 11:34 UTC by José A. Calvo
Modified: 2014-05-09 00:01 UTC (History)
2 users (show)

See Also:


Attachments
Contents of /etc/samba/smb.conf (1.56 KB, application/octet-stream)
2013-05-07 11:34 UTC, José A. Calvo
no flags Details
Patch to allow guest access based on the domain guest account status (3.45 KB, patch)
2013-05-10 22:59 UTC, Samuel Cabrero
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description José A. Calvo 2013-05-07 11:34:52 UTC
Created attachment 8863 [details]
Contents of /etc/samba/smb.conf

Not sure if this is a bug or a feature, but as reported in #9866,
Windows Vista is not able to join the Samba4 domain when using
s3fs if samba4 is not specified as auth method.

I've reproduced this problem with Windows XP, Windows Vista and Windows 7.

I'm using the samba 4.0.5 package that comes with Zentyal 3.0, but I
also compiled samba from the official 4.0.5 tgz with the same results.

When using Zentyal 2.2 (that comes with samba 3.4.17), this works perfectly,
in fact there is no need to set the value of "auth methods" to make guest
shares work (which is logical I suppose as there is no "samba4" method in samba3, which seems to be the problem here).

You can find attached my smb.conf. But please don't hesitate to ask me for any other information you may need to diagnose or fix this.
Comment 1 Samuel Cabrero 2013-05-10 22:59:37 UTC
Created attachment 8877 [details]
Patch to allow guest access based on the domain guest account status

Hi,

this patch allow guest access if the domain guest account is enabled. I would appreciate if someone take a look at and comment on.