CVS update: tng/source/lib

Tim Potter tpot at linuxcare.com.au
Wed Jan 10 12:00:29 EST 2001


Elrond writes:

> > if this function gets used by NTLMv2, and the client sends the domain
> > username over-wire in lower-case, and then the HMAC-MD5 calculation of the
> > challenge-response is based on the upper-case version, you're screwed.
> 
> Unlikely.
> 
> parse_domain_user() parses a string of the form
> 
> 	domain (lp_winbind_separator()) user
> 
> into
> 
> 	DOMAIN
> 	user
> 
> I have to admit, that the function name is not realy nice.
> It should include something about winbind. (hint)

I think I might move it from the lib directory into winbindd so
no-one else can get confused.

> I don't know, if the uppercasing is realy needed by
> winbind.

It's one way of fixing a particular bug and making things more
consistent when winbindd is passed a domain/username directly
from NT.  Winbindd is otherwise case insensitive.


Tim.





More information about the samba-cvs mailing list