diff options
author | Volker Lendecke <vl@samba.org> | 2010-11-05 15:38:28 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-11-05 15:54:05 +0100 |
commit | 5915d4a0b63882573a406a543f9cd5b72de061ff (patch) | |
tree | dfb3451dad90293d4ec034721ad03486957e8848 /source3 | |
parent | c1e3c8b550e10199ad29983cc759f6e259cac613 (diff) | |
download | samba-5915d4a0b63882573a406a543f9cd5b72de061ff.tar.gz samba-5915d4a0b63882573a406a543f9cd5b72de061ff.tar.bz2 samba-5915d4a0b63882573a406a543f9cd5b72de061ff.zip |
s3: Remove some duplicate prototypes
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_proto.h | 15 | ||||
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 16 |
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); |