summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/lookup_sid.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/passdb/lookup_sid.h b/source3/passdb/lookup_sid.h
index f3fdcc7c86..c9f8dddfea 100644
--- a/source3/passdb/lookup_sid.h
+++ b/source3/passdb/lookup_sid.h
@@ -24,7 +24,8 @@
#define _PASSDB_LOOKUP_SID_H_
#include "../librpc/gen_ndr/lsa.h"
-#include "../nsswitch/libwbclient/wbclient.h"
+
+struct passwd;
#define LOOKUP_NAME_NONE 0x00000000
#define LOOKUP_NAME_ISOLATED 0x00000001 /* Look up unqualified names */
@@ -85,6 +86,7 @@ void uid_to_sid(struct dom_sid *psid, uid_t uid);
void gid_to_sid(struct dom_sid *psid, gid_t gid);
bool sid_to_uid(const struct dom_sid *psid, uid_t *puid);
bool sid_to_gid(const struct dom_sid *psid, gid_t *pgid);
+struct wbcUnixId;
bool sids_to_unix_ids(const struct dom_sid *sids, uint32_t num_sids,
struct wbcUnixId *ids);
NTSTATUS get_primary_group_sid(TALLOC_CTX *mem_ctx,