summaryrefslogtreecommitdiff
path: root/source3/libads/sasl.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-07-07 18:12:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:08 -0500
commitbd1fbdbd8a9d5a0cfd9789852caa7eef335767ed (patch)
treee1c8c03bc2142d9cbc6555823da398dedc869305 /source3/libads/sasl.c
parent5aadb88b537e8beb994b9c7e063b1725d41fad8f (diff)
downloadsamba-bd1fbdbd8a9d5a0cfd9789852caa7eef335767ed.tar.gz
samba-bd1fbdbd8a9d5a0cfd9789852caa7eef335767ed.tar.bz2
samba-bd1fbdbd8a9d5a0cfd9789852caa7eef335767ed.zip
r1378: Better debugging so I don't get confused what principal we mean.
Jeremy. (This used to be commit de80e8b1698d34637cf9c105a8fe02f435d83b02)
Diffstat (limited to 'source3/libads/sasl.c')
-rw-r--r--source3/libads/sasl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index 18cbb46588..8eb2c86bed 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -201,14 +201,14 @@ static ADS_STATUS ads_sasl_spnego_bind(ADS_STRUCT *ads)
/* make sure the server understands kerberos */
for (i=0;OIDs[i];i++) {
- DEBUG(3,("got OID=%s\n", OIDs[i]));
+ DEBUG(3,("ads_sasl_spnego_bind: got OID=%s\n", OIDs[i]));
if (strcmp(OIDs[i], OID_KERBEROS5_OLD) == 0 ||
strcmp(OIDs[i], OID_KERBEROS5) == 0) {
got_kerberos_mechanism = True;
}
free(OIDs[i]);
}
- DEBUG(3,("got principal=%s\n", principal));
+ DEBUG(3,("ads_sasl_spnego_bind: got server principal name =%s\n", principal));
#ifdef HAVE_KRB5
if (!(ads->auth.flags & ADS_AUTH_DISABLE_KERBEROS) &&