summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_proto.h15
-rw-r--r--source3/winbindd/winbindd_proto.h16
2 files changed, 0 insertions, 31 deletions
diff --git a/source3/utils/net_proto.h b/source3/utils/net_proto.h
index 8422d280fd..9e9e82fb84 100644
--- a/source3/utils/net_proto.h
+++ b/source3/utils/net_proto.h
@@ -24,21 +24,6 @@
#define _NET_PROTO_H_
-/* The following definitions come from auth/token_util.c */
-
-bool nt_token_check_sid ( const struct dom_sid *sid, const struct security_token *token );
-bool nt_token_check_domain_rid( struct security_token *token, uint32 rid );
-struct security_token *get_root_nt_token( void );
-NTSTATUS add_aliases(const struct dom_sid *domain_sid,
- struct security_token *token);
-struct security_token *create_local_nt_token(TALLOC_CTX *mem_ctx,
- const struct dom_sid *user_sid,
- bool is_guest,
- int num_groupsids,
- const struct dom_sid *groupsids);
-void debug_unix_user_token(int dbg_class, int dbg_lev, uid_t uid, gid_t gid,
- int n_groups, gid_t *groups);
-
/* The following definitions come from utils/net.c */
enum netr_SchannelType get_sec_channel_type(const char *param);
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 3a7a29885b..ecdbdfe684 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -23,22 +23,6 @@
#ifndef _WINBINDD_PROTO_H_
#define _WINBINDD_PROTO_H_
-
-/* The following definitions come from auth/token_util.c */
-
-bool nt_token_check_sid ( const struct dom_sid *sid, const struct security_token *token );
-bool nt_token_check_domain_rid( struct security_token *token, uint32 rid );
-struct security_token *get_root_nt_token( void );
-NTSTATUS add_aliases(const struct dom_sid *domain_sid,
- struct security_token *token);
-struct security_token *create_local_nt_token(TALLOC_CTX *mem_ctx,
- const struct dom_sid *user_sid,
- bool is_guest,
- int num_groupsids,
- const struct dom_sid *groupsids);
-void debug_unix_user_token(int dbg_class, int dbg_lev, uid_t uid, gid_t gid,
- int n_groups, gid_t *groups);
-
/* The following definitions come from winbindd/winbindd.c */
struct messaging_context *winbind_messaging_context(void);
void request_error(struct winbindd_cli_state *state);