Fix srvsvc_Net[Get|Set]FileSecurity
authorVolker Lendecke <vl@samba.org>
Sun, 27 Jul 2008 15:59:15 +0000 (17:59 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 27 Jul 2008 15:59:15 +0000 (17:59 +0200)
commit669771738422776f8c81086ffea4924b62d72957
tree3816ba77ae3e3011aaacf3e83dfae509a4de9ab5
parente115e2582256c34e6905afc8c2929efd6ea61088
Fix srvsvc_Net[Get|Set]FileSecurity

There were two bugs in those routines: They did not send INTERNAL_OPEN_ONLY to
open_file_ntcreate() and they did not chdir, so the file could never be found.

While there I decided to remove the become_root() calls and call create_file()
instead of the lower-level routines.
source/rpc_server/srv_srvsvc_nt.c