[Patches] Fixes for machine password problems [bug #12262]

Ralph Böhme slow at samba.org
Tue Feb 21 15:08:47 UTC 2017


On Tue, Feb 21, 2017 at 03:43:36PM +0100, Stefan Metzmacher wrote:
> Am 20.02.2017 um 20:08 schrieb Stefan Metzmacher:
> > Hi,
> > 
> > here's some patches to fix problem with the random passwords
> > winbindd sets every week (by default).
> > https://bugzilla.samba.org/show_bug.cgi?id=12262
> > 
> > In Samba 4.2 we only used ascii passwords, but with 4.3
> > we're using random unicode passwords. This causes
> > a lot of trouble if someone uses "unix charset != utf8".
> > But also with unix charset = utf8 it can sometimes happen
> > that kerberos authentication start to fail if
> > the password uses code points > 0xffff.
> > 
> > Please review and push:-)
> > 
> > Thanks!
> > metze
> > 
> > PS: As future improvement we could calculate the
> > ENCTYPE_ARCFOUR_HMAC in smb_krb5_create_key_from_string()
> > ourself using E_md4hash().
> 
> Here's the patch :-)
> 
> Please review and push :-)

pushed.

Cheerio!
-slow



More information about the samba-technical mailing list