[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gss_krb5_import_creds can't work with memory keytab




Andrew Bartlett <abartlet@samba.org> writes:

>> This works, except that the reference count 'works' on a keytab of name
>> 'MEMORY:'.  Perhaps this should be a special case that always makes a
>> new keytab?  I'm thinking an application may have relied on the previous
>> behaviour.  (early Samba3 I know used 'MEMORY:', but only ever had one
>> keytab).
>
> One bug.  d->refcount is uninitialised (must be initialised to 1).

There was some more bugs I found after lunch when I added more more
assertions and expanded the test-suite. I commited the code.

Love

PGP signature