Correct path to keytab

Helps quite a bit, really.

Change-Id: I43c96306c451b8c717eb5c2861d9cc7f16158ad7
Remove mechtype debugging

Change-Id: I0de648e4d013190e17e58dd6cc747630de3e9d2e
Add some init_sec_context error checking

Change-Id: Ic1545e20b03224ad1c8916751a3b861caf98d14f
More debugging prints

Change-Id: I00589630bc23f280f12237b81a3d205398dfd02f
Actually use the token we got back from the server

Otherwise init_sec_context complains about a malformed token, gee.

Change-Id: I80c243e25dad8044d7c7914ba7f1cfceaa7e92bc
Fix for multi-round on the client

Use the right variable as input for the next call to
gss_init_sec_context().
(We don't make it there right now because we claim success too soon.)

Change-Id: I96bd55dee4fe7fee40266e3dec716229a31336f8
ndebug cleanup

Make the code have some semblance of organizational structure
instead of having just been cobbled together while figuring out
how to make it work.

Change-Id: Ic856826acf8eea31e4ca6af9883f8a76904c1148
Handle multi-round negotiation better

The client should stop when both client and server's GSS routines
think they are complete, not just when the server is happy.

Change-Id: I7675bf4860e4cd970a2f8b6d0622ee90960b6e86
Some SRXGK_GSSNegotiate cleanup

Make the logic flow more smooth, and start working on the
memory leaks.

Change-Id: Ia12f7bdc8e7a26c2128d071ea6a476471fb010f8
More memory leak cleanup

Change-Id: Id274792ba7f7430b711843c1a184bd54ddc1574d
Semantic nicety

Use defined constant instead of NULL.

Change-Id: I6b985b0298d839789a8b910523985825ac1e3e29
Fix memory leaks

We don't need to know the actual mechs, I think.
Release the output token, and the client name (which we *do* need).

OS X's /usr/bin/leaks is pretty nifty.

Change-Id: I87d0474fda28787de46aeaaf59508fa6f007e134