mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +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 commit is contained in:
committed by
Gerald (Jerry) Carter
parent
0b82b9dba1
commit
75c037cae2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user