From d96aeded6193cb6381540c1073182bfb7f079025 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Mon, 3 Dec 2012 01:34:32 +0100 Subject: 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 Reviewed-by: Stefan Metzmacher --- source3/include/passdb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include') 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 */ -- cgit