r16827: Factor out some code into common samdb functions:
authorAndrew Bartlett <abartlet@samba.org>
Thu, 6 Jul 2006 05:23:29 +0000 (05:23 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:09:48 +0000 (14:09 -0500)
commitf2e8b3202c99065dafca3ba36a43450c509d0bd8
tree4775c5023eab78b1a3f8e95bea249f40b6d8cc26
parent3aa8a700e6b838ffc32bb7e9aebbb197e91c4704
r16827: Factor out some code into common samdb functions:
 - creation of ForeignSecurityPrincipals
 - template duplication code

Rework much of the LSA server to pass the RPC-LSA test.  Much of the
server code was untested.  In implementing the LSA Accounts feature, I
have opted to have it only create entires when privilages are applied,
and not to delete entries, but to delete the privilages.

We skip some parts of the test, but it is much better than not testing
it at all.

Andrew Bartlett
(This used to be commit 10eeea6da465564ed9f785d06e2d2ed06cfe29a4)
source4/dsdb/samdb/ldb_modules/samldb.c
source4/dsdb/samdb/samdb.c
source4/rpc_server/lsa/dcesrv_lsa.c
source4/rpc_server/samr/dcesrv_samr.c
source4/torture/rpc/lsa.c