summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-12-03 01:34:32 +0100
committerStefan Metzmacher <metze@samba.org>2012-12-03 08:48:30 +0100
commitd96aeded6193cb6381540c1073182bfb7f079025 (patch)
treeee62f6e4cd834101bc96031973939e2861a7a371 /source3/include
parentef0ed56eb15f24db5934f174f90f65d3f5c3c526 (diff)
downloadsamba-d96aeded6193cb6381540c1073182bfb7f079025.tar.gz
samba-d96aeded6193cb6381540c1073182bfb7f079025.tar.bz2
samba-d96aeded6193cb6381540c1073182bfb7f079025.zip
s3:passdb: factor pdb_sid_to_id_unix_users_and_groups() out of pdb_default_sid_to_id()
The special treatment of the "Unix User" and "Unix Group" pseudo domains can be reused. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/passdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h
index 5202bd3af4..908631de31 100644
--- a/source3/include/passdb.h
+++ b/source3/include/passdb.h
@@ -908,6 +908,9 @@ NTSTATUS pdb_set_secret(const char *secret_name,
DATA_BLOB *secret_old,
struct security_descriptor *sd);
NTSTATUS pdb_delete_secret(const char *secret_name);
+bool pdb_sid_to_id_unix_users_and_groups(const struct dom_sid *sid,
+ struct unixid *id);
+
/* The following definitions come from passdb/pdb_util.c */