And I should really test that it works without our #defines. Sorry. :-( If create_kerberos_key_from_string() fails then ads_verify_ticket() should return NT_STATUS_LOGON_FAILURE (presumably) rather than continuing the loop which was deleted.
Also, ads_verify_ticket() might be leaky: "key" should probably be freed. -- Luke >From: Luke Howard <[EMAIL PROTECTED]> >Subject: Re: heimdal didn't have AP_OPTS_USE_SUBKEY >To: [EMAIL PROTECTED] >Cc: [EMAIL PROTECTED] >Date: Sun, 2 Feb 2003 23:17:42 +1100 >Organization: PADL Software Pty Ltd >Versions: dmail (bsd44) 2.4c/makemail 2.9d > > >Sorry, the previously posted patch was needlessly complicated. > >The attached patch just contains the Kerberos-related stuff. > >-- Luke > > >[Attachment: samba2.diff, text/plain] >-- >Luke Howard | PADL Software Pty Ltd | www.padl.com > -- Luke Howard | PADL Software Pty Ltd | www.padl.com
