diff options
| author | Andreas Schneider <asn@samba.org> | 2013-10-23 11:02:39 +0200 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2013-10-29 15:52:58 +0100 |
| commit | 13d840ad2ff0db7320e0cbef86cd47872493292c (patch) | |
| tree | 41f0d4aa405e984e68f32349ce26cfcf52f828eb /source3/include | |
| parent | 9e723f9d69bbbaefd9e15399654668693854628b (diff) | |
| download | samba-13d840ad2ff0db7320e0cbef86cd47872493292c.tar.gz samba-13d840ad2ff0db7320e0cbef86cd47872493292c.tar.xz samba-13d840ad2ff0db7320e0cbef86cd47872493292c.zip | |
s3-smbd_shim: Add become_authenticated_pipe_user().
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include')
| -rw-r--r-- | source3/include/proto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 497828e529..277547bef7 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1253,7 +1253,7 @@ bool ea_list_has_invalid_name(struct ea_list *ea_list); void become_root(void); void unbecome_root(void); -/* The following definitions come from lib/dummysmbd.c */ +/* The following definitions come from lib/smbd_shim.c */ int find_service(TALLOC_CTX *ctx, const char *service_in, char **p_service_out); void cancel_pending_lock_requests_by_fid(files_struct *fsp, @@ -1263,6 +1263,9 @@ void send_stat_cache_delete_message(struct messaging_context *msg_ctx, const char *name); NTSTATUS can_delete_directory_fsp(files_struct *fsp); bool change_to_root_user(void); +bool become_authenticated_pipe_user(struct auth_session_info *session_info); +bool unbecome_authenticated_pipe_user(void); + void contend_level2_oplocks_begin(files_struct *fsp, enum level2_contention_type type); void contend_level2_oplocks_end(files_struct *fsp, |
