One final thing. krb5_free_creds should also check that is has something to actually free before calling krb5_free_creds_contents. It makes life easier :-) -- Ake Sandgren, Dep. of Comp. Sci. & HPC2N, Umea University, S-90187 Umea, Sweden Internet: ake@{cs,hpc2n}.umu.se Phone: +46 90 7866134 Fax: +46 90 7866126 WWW: http://www.cs.umu.se/~ake