mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
smbd: Move sesssetup.c -> smb1_sesssetup.c
sesssetup.c only contains smb1 code. Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
2266fd4cce
commit
92b6efe3ab
@ -1132,10 +1132,6 @@ int list_sessions(TALLOC_CTX *mem_ctx, struct sessionid **session_list);
|
||||
int find_sessions(TALLOC_CTX *mem_ctx, const char *username,
|
||||
const char *machine, struct sessionid **session_list);
|
||||
|
||||
/* The following definitions come from smbd/sesssetup.c */
|
||||
|
||||
void reply_sesssetup_and_X(struct smb_request *req);
|
||||
|
||||
/* The following definitions come from smbd/share_access.c */
|
||||
|
||||
bool token_contains_name_in_list(const char *username,
|
||||
|
25
source3/smbd/smb1_sesssetup.h
Normal file
25
source3/smbd/smb1_sesssetup.h
Normal file
@ -0,0 +1,25 @@
|
||||
/*
|
||||
Unix SMB/CIFS implementation.
|
||||
handle SMBsessionsetup
|
||||
Copyright (C) Andrew Tridgell 1998-2001
|
||||
Copyright (C) Andrew Bartlett 2001
|
||||
Copyright (C) Jim McDonough <jmcd@us.ibm.com> 2002
|
||||
Copyright (C) Luke Howard 2003
|
||||
Copyright (C) Volker Lendecke 2007
|
||||
Copyright (C) Jeremy Allison 2007
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
void reply_sesssetup_and_X(struct smb_request *req);
|
@ -28,6 +28,7 @@ struct dptr_struct;
|
||||
#include "smbd/fd_handle.h"
|
||||
#if defined(WITH_SMB1SERVER)
|
||||
#include "smbd/smb1_message.h"
|
||||
#include "smbd/smb1_sesssetup.h"
|
||||
#endif
|
||||
|
||||
struct trans_state {
|
||||
|
@ -618,7 +618,7 @@ bld.SAMBA3_LIBRARY('smbd_base',
|
||||
smbd/nttrans.c
|
||||
smbd/pipes.c
|
||||
smbd/reply.c
|
||||
smbd/sesssetup.c
|
||||
smbd/smb1_sesssetup.c
|
||||
smbd/trans2.c
|
||||
smbd/uid.c
|
||||
smbd/dosmode.c
|
||||
|
Loading…
x
Reference in New Issue
Block a user