s3-lsa: let _lsa_GetSystemAccessAccount() call into _lsa_EnumPrivsAccount().
authorGünther Deschner <gd@samba.org>
Mon, 18 May 2009 19:05:08 +0000 (21:05 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 18 May 2009 21:08:13 +0000 (23:08 +0200)
commit6ab0c83570b2e60e0cd3bd5f5bfb1923fd359994
treeb99ea363050ce400254f81de358c615222bb813d
parent4724fef8979c3f0e66cb8e41936af270901093b4
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
source3/rpc_server/srv_lsa_nt.c