return 0;
else
{
+#ifdef DEBUG
int ecode = tcbdbecode (h->db);
dprint (2, (debugfile, "tcbdbopen failed for %s: %s (ecode %d)\n", path, tcbdberrmsg (ecode), ecode));
+#endif
tcbdbdel(h->db);
return -1;
}
if (!tcbdbclose(h->db))
{
+#ifdef DEBUG
int ecode = tcbdbecode (h->db);
dprint (2, (debugfile, "tcbdbclose failed for %s: %s (ecode %d)\n", h->folder, tcbdberrmsg (ecode), ecode));
+#endif
}
tcbdbdel(h->db);
FREE(&h->folder);
gss_ctx_id_t context;
#ifdef DEBUG
gss_OID mech_name;
+ char server_conf_flags;
#endif
gss_qop_t quality;
int cflags;
OM_uint32 maj_stat, min_stat;
- char buf1[GSS_BUFSIZE], buf2[GSS_BUFSIZE], server_conf_flags;
+ char buf1[GSS_BUFSIZE], buf2[GSS_BUFSIZE];
unsigned long buf_size;
int rc;
dprint (2, (debugfile, "Credential exchange complete\n"));
/* first octet is security levels supported. We want NONE */
+#ifdef DEBUG
server_conf_flags = ((char*) send_token.value)[0];
+#endif
if ( !(((char*) send_token.value)[0] & GSS_AUTH_P_NONE) )
{
dprint (2, (debugfile, "Server requires integrity or privacy\n"));