mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
r1378: Better debugging so I don't get confused what principal we mean.
Jeremy.
(This used to be commit de80e8b169
)
This commit is contained in:
parent
5aadb88b53
commit
bd1fbdbd8a
@ -201,14 +201,14 @@ static ADS_STATUS ads_sasl_spnego_bind(ADS_STRUCT *ads)
|
|||||||
|
|
||||||
/* make sure the server understands kerberos */
|
/* make sure the server understands kerberos */
|
||||||
for (i=0;OIDs[i];i++) {
|
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 ||
|
if (strcmp(OIDs[i], OID_KERBEROS5_OLD) == 0 ||
|
||||||
strcmp(OIDs[i], OID_KERBEROS5) == 0) {
|
strcmp(OIDs[i], OID_KERBEROS5) == 0) {
|
||||||
got_kerberos_mechanism = True;
|
got_kerberos_mechanism = True;
|
||||||
}
|
}
|
||||||
free(OIDs[i]);
|
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
|
#ifdef HAVE_KRB5
|
||||||
if (!(ads->auth.flags & ADS_AUTH_DISABLE_KERBEROS) &&
|
if (!(ads->auth.flags & ADS_AUTH_DISABLE_KERBEROS) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user