r6772: Fix a valgrind error for samr_open_alias uncovered by one of John's test.
authorVolker Lendecke <vlendec@samba.org>
Fri, 13 May 2005 09:18:50 +0000 (09:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:54 +0000 (10:56 -0500)
commit88a67e96d1c54fddadbb6a33e4bc5fba884e58e6
treed9a03949f8f4d0adc3c62517b028297b2eb3460f
parentf406dda687b457b8247151cf86d39f03608b5503
r6772: Fix a valgrind error for samr_open_alias uncovered by one of John's test.

Jerry, in query_aliasmem, set_aliasinfo and set_groupinfo (and possibly
others) need become_root()/unbecome_root() around the pdb calls. I'm not sure
I would do the access checks correctly, I would much rather leave that to
you.

Volker
source/rpc_server/srv_samr_nt.c