summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-08-23 00:45:40 +0000
committerJeremy Allison <jra@samba.org>2000-08-23 00:45:40 +0000
commit641d9e85ea6a134be1d3359b41b8872f6ef65872 (patch)
treef9975b976c689a116a18aa76d9771255c088eebb /source3/lib
parentaf0071c9b8d8dd0bfe554996a77e170afd36a3f8 (diff)
downloadsamba-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/lib')
-rw-r--r--source3/lib/util_sid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c
index 52e9f63039..439bb74a83 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -46,7 +46,7 @@ const DOM_SID *global_sid_everyone = &global_sid_World;
typedef struct _known_sid_users {
uint32 rid;
- uint8 sid_name_use;
+ enum SID_NAME_USE sid_name_use;
char *known_user_name;
} known_sid_users;
@@ -134,7 +134,7 @@ BOOL map_domain_sid_to_name(DOM_SID *sid, char *nt_domain)
Looks up a known username from one of the known domains.
***************************************************************************/
-BOOL lookup_known_rid(DOM_SID *sid, uint32 rid, char *name, uint8 *psid_name_use)
+BOOL lookup_known_rid(DOM_SID *sid, uint32 rid, char *name, enum SID_NAME_USE *psid_name_use)
{
int i = 0;
struct sid_name_map_info *psnm;