posible bug in credentials code

Stefan (metze) Metzmacher metze at samba.org
Mon May 21 10:23:36 GMT 2007


-----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
   struct smb_krb5_context   contains   8 bytes in 1 blocks (ref 2)
   LOCALMEMBER3$           contains     14 bytes in   1 blocks (ref 0)
   SAMBA.EXAMPLE.COM       contains     18 bytes in   1 blocks (ref 0)
   SAMBADOMAIN             contains     12 bytes in   1 blocks (ref 0)
   cK4nOr,K                contains      9 bytes in   1 blocks (ref 0)
   (&(flatname=SAMBADOMAIN)(objectclass=primaryDomain)) contains 53 ...
   SAMBA.EXAMPLE.COM       contains     18 bytes in   1 blocks (ref 0)
   LOCALMEMBER3            contains     13 bytes in   1 blocks (ref 0)
   SAMBADOMAIN             contains     12 bytes in   1 blocks (ref 0)
                           contains      1 bytes in   1 blocks (ref 0)

metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGUXMom70gjA5TCD8RAjcmAJ9qL5Dpj/NpfiF4bjcJGAQ4jl2oKACgnEaM
fmMus9R+9R7Z+pg7H32sGag=
=4uiQ
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list