r10810: This adds the hooks required to communicate the current user from the
authorAndrew Bartlett <abartlet@samba.org>
Fri, 7 Oct 2005 11:31:45 +0000 (11:31 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:39:32 +0000 (13:39 -0500)
commit1377cca5f4beb43cf67fcc65eed79f14178d6349
tree79a693899d0c1377e4009e4088018bc561ea9af4
parent5158636aff545de3115e747b53ce68f753151bd7
r10810: This adds the hooks required to communicate the current user from the
authenticated session down into LDB.  This associates a session info
structure with the open LDB, allowing a future ldb_ntacl module to
allow/deny operations on that basis.

Along the way, I cleaned up a few things, and added new helper functions
to assist.  In particular the LSA pipe uses simpler queries for some of
the setup.

In ldap_server, I have removed the 'ldasrv:hacked' module, which hasn't
been worked on (other than making it continue to compile) since January,
and I think the features of this module are being put into ldb anyway.

I have also changed the partitions in ldap_server to be initialised
after the connection, with the private pointer used to associate the ldb
with the incoming session.

Andrew Bartlett
(This used to be commit fd7203789a2c0929eecea8125b57b833a67fed71)
27 files changed:
source4/auth/auth_sam.c
source4/auth/auth_util.c
source4/cldap_server/netlogon.c
source4/dsdb/samdb/samdb.c
source4/dsdb/samdb/samdb_privilege.c
source4/kdc/hdb-ldb.c
source4/ldap_server/config.mk
source4/ldap_server/ldap_backend.c
source4/ldap_server/ldap_bind.c
source4/ldap_server/ldap_hacked_ldb.c [deleted file]
source4/ldap_server/ldap_rootdse.c
source4/ldap_server/ldap_server.c
source4/ldap_server/ldap_server.h
source4/ldap_server/ldap_simple_ldb.c
source4/lib/ldb/tools/cmdline.c
source4/libcli/security/security_token.c
source4/libnet/libnet_join.c
source4/libnet/libnet_samsync_ldb.c
source4/nbt_server/dgram/netlogon.c
source4/ntvfs/common/sidmap.c
source4/rpc_server/drsuapi/dcesrv_drsuapi.c
source4/rpc_server/drsuapi/drsuapi_cracknames.c
source4/rpc_server/dssetup/dcesrv_dssetup.c
source4/rpc_server/lsa/dcesrv_lsa.c
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/rpc_server/samr/dcesrv_samr.c
source4/rpc_server/samr/samr_password.c