1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

r20139: only add GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG if the caller requested it!

this is needed to create plain, singed or sealed LDAP connections.

this should go into lorikeet and main heimdal...

metze
(This used to be commit 75c037cae2)
This commit is contained in:
Stefan Metzmacher
2006-12-12 22:38:23 +00:00
committed by Gerald (Jerry) Carter
parent 6de9ae9e43
commit f2784a8bb0

View File

@ -470,8 +470,11 @@ init_auth
if (req_flags & GSS_C_EXTENDED_ERROR_FLAG)
flags |= GSS_C_EXTENDED_ERROR_FLAG;
flags |= GSS_C_CONF_FLAG;
flags |= GSS_C_INTEG_FLAG;
if (req_flags & GSS_C_CONF_FLAG)
flags |= GSS_C_CONF_FLAG;
if (req_flags & GSS_C_INTEG_FLAG)
flags |= GSS_C_INTEG_FLAG;
flags |= GSS_C_TRANS_FLAG;
if (ret_flags)