diff options
author | Günther Deschner <gd@samba.org> | 2011-02-24 22:30:16 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-30 01:13:06 +0200 |
commit | d85f140826374dd5ad3e7099b6bdb74967c6b9da (patch) | |
tree | 97fccf6f5b5c53a1e4f92c81460f85abeb6896dd /source3/include | |
parent | 96487959e90b1aeec071d94e7f2c744af17fb5d0 (diff) | |
download | samba-d85f140826374dd5ad3e7099b6bdb74967c6b9da.tar.gz samba-d85f140826374dd5ad3e7099b6bdb74967c6b9da.tar.bz2 samba-d85f140826374dd5ad3e7099b6bdb74967c6b9da.zip |
s3-winbind: remove global inclusion of libwbclient.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 1 | ||||
-rw-r--r-- | source3/include/proto.h | 35 |
2 files changed, 1 insertions, 35 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index 7d98cd583a..346829d2dc 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -582,7 +582,6 @@ enum flush_reason_enum { NUM_FLUSH_REASONS}; #include "modules/nfs4_acls.h" -#include "nsswitch/libwbclient/wbclient.h" /***** prototypes *****/ #ifndef NO_PROTO_H diff --git a/source3/include/proto.h b/source3/include/proto.h index 600ed7aa8f..b1138234e0 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -159,6 +159,7 @@ NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx, const char *domain, struct auth_serversupplied_info **server_info, struct netr_SamInfo3 *info3); +struct wbcAuthUserInfo; NTSTATUS make_server_info_wbcAuthUserInfo(TALLOC_CTX *mem_ctx, const char *sent_nt_username, const char *domain, @@ -1449,40 +1450,6 @@ int islower_ascii(int c); const char *samba_version_string(void); -/* The following definitions come from lib/winbind_util.c */ - -bool winbind_lookup_name(const char *dom_name, const char *name, struct dom_sid *sid, - enum lsa_SidType *name_type); -bool winbind_lookup_sid(TALLOC_CTX *mem_ctx, const struct dom_sid *sid, - const char **domain, const char **name, - enum lsa_SidType *name_type); -bool winbind_ping(void); -bool winbind_sid_to_uid(uid_t *puid, const struct dom_sid *sid); -bool winbind_uid_to_sid(struct dom_sid *sid, uid_t uid); -bool winbind_sid_to_gid(gid_t *pgid, const struct dom_sid *sid); -bool winbind_gid_to_sid(struct dom_sid *sid, gid_t gid); -struct passwd * winbind_getpwnam(const char * sname); -struct passwd * winbind_getpwsid(const struct dom_sid *sid); -wbcErr wb_is_trusted_domain(const char *domain); -bool winbind_lookup_rids(TALLOC_CTX *mem_ctx, - const struct dom_sid *domain_sid, - int num_rids, uint32 *rids, - const char **domain_name, - const char ***names, enum lsa_SidType **types); -bool winbind_allocate_uid(uid_t *uid); -bool winbind_allocate_gid(gid_t *gid); -bool winbind_get_groups(TALLOC_CTX *mem_ctx, - const char *account, - uint32_t *num_groups, - gid_t ** _groups); -bool winbind_get_sid_aliases(TALLOC_CTX *mem_ctx, - const struct dom_sid *dom_sid, - const struct dom_sid *members, - size_t num_members, - uint32_t **pp_alias_rids, - size_t *p_num_alias_rids); - - /* The following definitions come from lib/wins_srv.c */ bool wins_srv_is_dead(struct in_addr wins_ip, struct in_addr src_ip); |