Moved access check for nt_printing_setsec() up into rpc function.
commitba7b78f291453bd27f597adfe5e30cf7c1a93771
authorTim Potter <tpot@samba.org>
Mon, 17 Jul 2000 02:41:38 +0000 (17 02:41 +0000)
committerTim Potter <tpot@samba.org>
Mon, 17 Jul 2000 02:41:38 +0000 (17 02:41 +0000)
tree0c6da3cc68e5f8a2e12aa97a010fdd62293f1a6e
parent53c91652c62c3629904be94902be64b5652cc02a
Moved access check for nt_printing_setsec() up into rpc function.

Use sid + rid instead of lp_workgroup()/Administrator for printer owner sid
as per JF's advice.

Default printer owner is either the administrator of the pdc workgroup or
Everyone depending on whether winbindd is running.  Still the subject of
some debate...

Renamed se_access_check() parameters.
(This used to be commit e92e161a813ac0793897ffe3d33b01054912d4c7)
source3/printing/nt_printing.c