posible bug in credentials code

Andrew Bartlett abartlet at samba.org
Mon May 21 12:39:14 GMT 2007


On Mon, 2007-05-21 at 12:23 +0200, Stefan (metze) Metzmacher wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Andrew,
> 
> I just noticed the cli_credentials struct used by the winbind service in
> the member server has some double elements under it. Maybe this is the
> problem why we always do a new AP-REQ for each connection and the in
> memory ccache doesn't work correct...
> 
> Can you take a look at this please?
> 
> struct cli_credentials  contains  502 bytes in 20 blocks (ref 5)
>    struct gssapi_creds_container  contains 4 bytes in 1 blocks (ref 0)
>    LOCALMEMBER3$@SAMBA.EXAMPLE.COM contains 32 bytes in 1 blocks (ref 0)
>    struct ccache_container  contains 20 bytes in   2 blocks (ref 0)
>       reference to: struct smb_krb5_context
>    struct creds_CredentialState   contains  68 bytes in 1 blocks (ref 1)
>    struct gssapi_creds_container  contains   4 bytes in 1 blocks (ref 0)
>    LOCALMEMBER3$@SAMBA.EXAMPLE.COM contains 32 bytes in 1 blocks (ref 0)
>    struct ccache_container contains 20 bytes in   2 blocks (ref 0)
>       reference to: struct smb_krb5_context

BTW, I've found and I hope fixed the bug. 

Thanks,

Andrew Bartlett
-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070521/69320d77/attachment.bin


More information about the samba-technical mailing list