1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r24062: fix logic for broken krb5 libs which always force

sign and seal...

metze
This commit is contained in:
Stefan Metzmacher 2007-07-27 07:19:36 +00:00 committed by Gerald (Jerry) Carter
parent 000e096c27
commit 4a4fc8cccb

View File

@ -486,7 +486,8 @@ static ADS_STATUS ads_sasl_spnego_gsskrb5_bind(ADS_STRUCT *ads, const char *snam
status = ADS_ERROR_NT(NT_STATUS_NOT_SUPPORTED);
goto failed;
} else if (req_flags & GSS_C_INTEG_FLAG) {
} else if ((req_flags & GSS_C_INTEG_FLAG) &&
!(ret_flags & GSS_C_INTEG_FLAG)) {
/*
* here we wanted siging but didn't got it
* from the gssapi library