> http://git.samba.org/?p=abartlet/samba.git/.git;a=commitdiff;h=7e7cae6801599e6377b9e05c8c289f0129005ef6 Looks OK to me, you might want to test for gss_maj != GSS_S_COMPLETE or GSS_ERROR(gss_maj) rather than != 0. But that's picky. -- Luke