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:
parent
000e096c27
commit
4a4fc8cccb
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user