diff options
author | Jeremy Allison <jra@samba.org> | 2000-08-23 00:45:40 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-08-23 00:45:40 +0000 |
commit | 641d9e85ea6a134be1d3359b41b8872f6ef65872 (patch) | |
tree | f9975b976c689a116a18aa76d9771255c088eebb /source3/printing/nt_printing.c | |
parent | af0071c9b8d8dd0bfe554996a77e170afd36a3f8 (diff) | |
download | samba-641d9e85ea6a134be1d3359b41b8872f6ef65872.tar.gz samba-641d9e85ea6a134be1d3359b41b8872f6ef65872.tar.bz2 samba-641d9e85ea6a134be1d3359b41b8872f6ef65872.zip |
Added code to do SID to uid/gid conversion. Needed for ACL support.
Jeremy.
(This used to be commit 81c5380f91839b6416c8a42739dadf00e7388528)
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r-- | source3/printing/nt_printing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 2444c38847..510432ea74 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -1967,7 +1967,7 @@ static SEC_DESC_BUF *construct_default_printer_sdb(void) SEC_DESC *psd = NULL; DOM_SID owner_sid; size_t sd_size; - uint8 name_type; + enum SID_NAME_USE name_type; /* Create an ACE where Everyone is allowed to print */ @@ -2067,7 +2067,7 @@ BOOL nt_printing_getsec(char *printername, SEC_DESC_BUF **secdesc_ctr) if (sid_equal((*secdesc_ctr)->sec->owner_sid, &global_sid_World)) { DOM_SID owner_sid; - uint8 name_type; + enum SID_NAME_USE name_type; /* Change sd owner to workgroup administrator */ |