r8700: Propmted by tridge's need to do plaintext auth in ejs, rework the
authorAndrew Bartlett <abartlet@samba.org>
Fri, 22 Jul 2005 04:10:07 +0000 (04:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:55 +0000 (13:29 -0500)
commitb16362fab65d0700bd6a8cf6569a9e21c7e6b069
treecd68807d497dac925038d03c3786308825b02e10
parent176c0d1b771d0e81167a12eb81eddb40732b074a
r8700: Propmted by tridge's need to do plaintext auth in ejs, rework the
user_info strcture in auth/

This moves it to a pattern much like that found in ntvfs, with
functions to migrate between PAIN, HASH and RESPONSE passwords.

Instead of make_user_info*() functions, we simply fill in the control
block in the callers, per recent dicussions on the lists.  This
removed a lot of data copies as well as error paths, as we can grab
much of it with talloc.

Andrew Bartlett
(This used to be commit ecbd2235a3e2be937440fa1dc0aecc5a047eda88)
14 files changed:
source4/auth/auth.c
source4/auth/auth.h
source4/auth/auth_anonymous.c
source4/auth/auth_domain.c
source4/auth/auth_sam.c
source4/auth/auth_unix.c
source4/auth/auth_util.c
source4/auth/auth_winbind.c
source4/auth/ntlm_check.c
source4/auth/ntlmssp/ntlmssp_server.c
source4/rpc_server/lsa/dcesrv_lsa.c
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/scripting/ejs/smbcalls_auth.c
source4/smb_server/sesssetup.c