s3-lsa: let _lsa_GetSystemAccessAccount() call into _lsa_EnumPrivsAccount().
commit7303efac8438c17290d66ef48ba6321e57b7bdf9
authorGünther Deschner <gd@samba.org>
Mon, 18 May 2009 19:05:08 +0000 (18 21:05 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 18 May 2009 21:31:50 +0000 (18 23:31 +0200)
treec41bd35f1913abae8ad14ac458566dab3fc536fb
parent0792ff10d5d7379bd5da81a05c642db1e66c6f4b
s3-lsa: let _lsa_GetSystemAccessAccount() call into _lsa_EnumPrivsAccount().

Inspired by lsa server from Samba 4.

Just removing a user in SAMR does not remove a user in LSA. If you use
usermanager from windows, the "User Rights" management gui gets unaccessable as
soon as you delete a user that had privileges granted. With this fix, that
no longer existing user would properly appear as an unknown account in the GUI
(as it does while using usermanager with windows domains).

This almost makes Samba3 pass the RPC-SAMR-USERS-PRIVILEGES test.

Guenther
(cherry picked from commit 6ab0c83570b2e60e0cd3bd5f5bfb1923fd359994)
source3/rpc_server/srv_lsa_nt.c