r23132: Resolve an issue where we would use the ccache after we free()ed it.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 25 May 2007 05:19:02 +0000 (05:19 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:52:53 +0000 (14:52 -0500)
commit79d3f82f3383fd4e09d3fd1fefdc45cf53fdb5c1
tree0010cfef2b904da669e888248adb0112087b8cae
parentd875b7d620c1007f38fb886cb8d5342a2d261585
r23132: Resolve an issue where we would use the ccache after we free()ed it.

The problem was, we would set the ccache, then invalidate it as we set
details from it (like the principal name from the ccache).

Instead, set the ccache onto the credentials structure after we are
done processing it.

Andrew Bartlett
(This used to be commit d285bd927c604d930fc44cc84ef3321aa4ce9d9a)
source4/auth/auth_util.c
source4/auth/credentials/credentials_krb5.c