summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-13 14:56:37 +0200
committerGünther Deschner <gd@samba.org>2011-10-14 12:07:25 +0200
commit111372541f63cf171d05107c95f7d6d71463ba6a (patch)
treebdcc4e56bc326f6438d0ef544106be03c8c8ae64
parent876f48ffb134f844de9846086fad66be15af98fb (diff)
downloadsamba-111372541f63cf171d05107c95f7d6d71463ba6a.tar.gz
samba-111372541f63cf171d05107c95f7d6d71463ba6a.tar.bz2
samba-111372541f63cf171d05107c95f7d6d71463ba6a.zip
s3-passdb: remove libwbclient header dependency for passdb/lookup_sid.h.
Guenther
-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,