[PATCH 0/3] s3-auth: Fix memory context usage.

Andreas Schneider asn at samba.org
Tue Feb 18 06:50:56 MST 2014


Hi,

with the force user and a domain user patchset we run into some issues with the
memory context in use. Here is a patchset which passes down the memory context
correctly and uses a temporary one where appropriate.

Andreas Schneider (3):
  s3-auth: Pass mem_ctx to make_server_info_sam().
  s3-auth: Pass mem_ctx to auth_check_ntlm_password().
  s3-auth: Pass mem_ctx to do_map_to_guest_server_info().

 source3/auth/auth.c                         | 50 ++++++++++++++++----------
 source3/auth/auth_ntlmssp.c                 | 13 ++++---
 source3/auth/auth_util.c                    | 12 ++++---
 source3/auth/check_samsec.c                 |  2 +-
 source3/auth/proto.h                        | 21 ++++++-----
 source3/auth/server_info_sam.c              | 56 ++++++++++++++++++-----------
 source3/auth/user_krb5.c                    | 12 ++++---
 source3/rpc_server/netlogon/srv_netlog_nt.c |  6 ++--
 source3/torture/pdbtest.c                   |  5 ++-
 9 files changed, 111 insertions(+), 66 deletions(-)

-- 
1.8.5.2




More information about the samba-technical mailing list