[Samba] Practicality of fixing samba's case mangling problems?
samba at tlinx.org
Wed Dec 28 19:58:10 MST 2011
Christopher R. Hertel wrote:
> If you have filed a bugzilla report,
2011-07-27 *Bug 8325*
<https://bugzilla.samba.org/show_bug.cgi?id=8325> - WINS should no
longer be changing 'case' on hostnames' inconsistent with domain practice
2011-08-17 *Bug 8380*
<https://bugzilla.samba.org/show_bug.cgi?id=8380> - Samba needs to
preserve casename on user/group/host to be MS-compat (all versions)
2011-08-29 *Bug 8417*
<https://bugzilla.samba.org/show_bug.cgi?id=8417> - Samba needs to not
mess with case of domain and host names
2011-09-05 *Bug 8435*
<https://bugzilla.samba.org/show_bug.cgi?id=8435> - NMBD altering case
of file names causes other subsystems to fail.
--- I've filed a few.
> ... and can identify the code that needs review, that would help.
Well, that's why I'm whining in public... it's a bit too much for me to
The files (just looked at samba3 code):
Ones with a "-" in front of them mention strup/lo, but don't use it for
user or dom mangling.
There are a few.
Not really sure about how good the case mangling that is in there is...
as it tries to handle unicode, w/out knowing that max UTF-8 len for
current unicode (up through
bit plane 17), takes 4 bytes , not 5 as a the code comments.
Also this made me wonder about making modifications, as I don't know
what I' might
be trying to base code on...
* Conversion not supported. This is actually an error, but there are so
* many misconfigured iconv systems and smb.conf's out there we
* fail. Do a very bad conversion instead.... JRA.
So not sure what one would end up with or what types of
incompatibilities one might
introduce if one were to try to introduce changes to code to code that
errors... how does one define case for erroneous charset usage?
> How are you at digging into the code?
Not ALOT of 'endurance', easily distracted....
> and can identify the code that needs review, that would help. Patches are
> even better.
Last patch of mine got modified into a personal statement by someone
about their bad experiences
w/the security 'community'[sic]... *ahem*...
> The more specific details that you can provide the better able
> one of us will be to work with you on resolving the problems you are seeing.
> Chris -)-----
Well, I have raised the issue a few times...
More information about the samba