[Samba] %S Macro seems broken in default service
Ty! Boyack
Ty.Boyack at colostate.edu
Fri Jun 7 16:39:47 MDT 2013
That's great info -- thanks. I will start following that bug report
with great interest.
I can see where the issue is and how this could be a serious problem.
It will be good to see how it is fixed.
One suggestion that I'll make both here and over there (I don't know if
you have any pull on this), is that this "feature" is documented in the
4.0 man pages. In smb.conf(5) it says:
"Also note that the apparent service name will be changed to equal that
of the requested service, this is very useful as it allows you to use
macros like %S to make a wildcard service."
I'd like to see the feature available again (maybe with an understanding
of risk that it can entail), but if not then that description should
probably be struck from the documentation.
Thanks for the spot-on tip of where the bug is and the issues
surrounding it!
-Ty!
On 06/07/2013 04:02 PM, Andrew Bartlett wrote:
> On Fri, 2013-06-07 at 14:37 -0600, Ty! Boyack wrote:
>
>> Does anyone know if this is intentional, or a bug? I don't see any
>> references to others having the problem, so I'm wondering if I've missed
>> something in the transition to 4.0 that needs to be done.
> It's a bit of both. See
> https://bugzilla.samba.org/show_bug.cgi?id=8935
>
> That is, it wasn't anticipated that folks would use %S in this way, and
> the change avoids clients being able to consume memory as we
> re-interpret the service for each incoming name.
>
> Andrew Bartlett
>
--
-===========================-
Ty Boyack
NREL Senior IT Engineer
Ty.Boyack at colostate.edu
(970) 491-1186
-===========================-
More information about the samba
mailing list