Stefan Metzmacher
8acf6c90bd
s3:smbXsrv_session: add smb2srv_session_close_previous_send/recv
...
metze
2012-06-25 20:55:07 +02:00
Stefan Metzmacher
ed75069460
s3:smb2_sesssetup: inline gensec_session_info() call
...
metze
2012-06-25 20:55:07 +02:00
Stefan Metzmacher
1b8bcaeda3
s3:smb2_sesssetup: make use of gensec_update_send/recv
...
metze
2012-06-25 20:55:07 +02:00
Stefan Metzmacher
f32e99a0fc
s3:smb2_sesssetup: inline most of smbd_smb2_session_setup()
...
metze
2012-06-25 20:55:07 +02:00
Stefan Metzmacher
e77000259c
s3:smbd/sesssetup: implement dynamic re-authentication and expire session if client supports it
...
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
d2e1058f42
s3:smb2_sesssetup: implement dynamic re-authentication and expire sessions
...
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
9854ed6d01
s3:smbd: remove now unused invalidate_all_vuids()
...
Pair-Programmed-With: Michael Adam <obnox@samba.org>
metze
2012-06-25 20:55:06 +02:00
Michael Adam
77d1173aa2
s3:smbd: remove now unused conn_close_all()
...
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-25 20:55:06 +02:00
Michael Adam
d693ff54db
s3:smbd: use smbXsrv_session_logoff_all() and smb1srv_tcon_disconnect_all() in exit_server_common()
...
This removes the use of conn_close_all() and invalidate_all_vuids()
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
a129e271b5
s3:smbd: make use of smbXsrv_session for smb1
...
Pair-Programmed-With: Michael Adam <obnox@samba.org>
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
faa8edccef
s3:smbd: make use of smbXsrv_tcon for smb1
...
Pair-Programmed-With: Michael Adam <obnox@samba.org>
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
463b308f16
s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2
...
The removes the protocol specific smbd_smb2_session and
smbd_smb2_tcon.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
ef408e5068
s3:smb2_sesssetup: add support for SMB 2.24/3.00 signing
...
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
02d206ee64
s3:smb2_sesssetup: make use of the smbXsrv_session infrastructure
...
We still have smbd_smb2_session as primary structure,
but that will went away once we got rid of smbd_smb2_tcon.
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
1fffd35692
s3:smbXsrv_session: init and disconnect smbXsrv_tcon for SMB2/3
...
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
c36bd677f3
s3:smbd: add smbXsrv_tcon infrastructure
...
Pair-Programmed-With: Michael Adam <obnox@samba.org>
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
f3dce4cc95
sq smbXsrv_session_global_store no connection
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
85f8c14f30
s3:smbd: add smbXsrv_session infrastructure
...
Pair-Programmed-With: Michael Adam <obnox@samba.org>
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
130436f2fc
s3:smbd: add smbXsrv_version_* infrastructure
...
metze
2012-06-25 20:55:05 +02:00
Volker Lendecke
754b925ccd
s3: Fix a typo
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jun 25 17:13:59 CEST 2012 on sn-devel-104
2012-06-25 17:13:59 +02:00
Stefan Metzmacher
b40fa94360
s3:smbd: fix warning in smbd_tevent_trace_callback() without profile support
...
metze
2012-06-22 12:56:47 +02:00
Jeremy Allison
dd763d6d8e
Fix bug #8974 - Kernel oplocks are broken when uid(file) != uid(process).
...
Based on a fix from "Etienne Dechamps " <e-t172@akegroup.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 21 21:53:58 CEST 2012 on sn-devel-104
2012-06-21 21:53:58 +02:00
Andrew Bartlett
33ff033204
s4-provision: Give better clues on what Samba needs for s3fs ACL support
...
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Jun 21 14:07:55 CEST 2012 on sn-devel-104
2012-06-21 14:07:55 +02:00
Michael Adam
73b200064f
s3:util: rename procid_equal() to serverid_equal()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21 08:27:32 +02:00
Volker Lendecke
53cfde7204
s3: Remove a user of procid_is_me
...
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21 08:27:30 +02:00
Stefan Metzmacher
cd260391fa
s3:smbd: fix the build with the --with-profiling-data option
...
metze
2012-06-20 12:58:58 +02:00
Jeremy Allison
818fd7e917
Remove unused code now we set the correct command codes.
2012-06-19 10:27:24 -07:00
Jeremy Allison
6cef2a613c
Fix warning: variable ‘in_start_time’ set but not used.
2012-06-19 10:27:23 -07:00
Rusty Russell
6244f668a3
TDB2: make SAMBA use tdb1 again for the moment.
...
Otherwise the following surgery will break the SAMBA build and testsuite.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-19 05:38:05 +02:00
Jeremy Allison
bbb7cbfb7c
Same fix as bug 8989 - Samba 3.5.x (and probably all other versions of Samba) does not send correct responses to NT Transact Secondary when no data and no params
...
for the Trans2 calls. See MS-CIFS 2.2.4.47.2 for details.
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jun 16 07:59:19 CEST 2012 on sn-devel-104
2012-06-16 07:59:19 +02:00
Jeremy Allison
816c40cb0d
Fix Bug 8989 - Samba 3.5.x (and probably all other versions of Samba) does not send correct responses to NT Transact Secondary when no data and no params
...
Found by Richard Sharpe <realrichardsharpe@gmail.com>. The correct
command code in a reply to NT Transact Secondary (0xa1) is
NT Transact (0xa0).
2012-06-15 21:10:37 -07:00
Volker Lendecke
985dbedf27
s3: Slightly simplify grant_fsp_oplock_type
...
The "else" is not necessary, we did a return in the if-branch
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-06-15 21:07:55 -07:00
Stefan Metzmacher
8cca7b09ad
s3:smb2_server: remember the request_time on an incoming request
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jun 15 09:17:33 CEST 2012 on sn-devel-104
2012-06-15 09:17:32 +02:00
Stefan Metzmacher
d8b3687fcb
s3:smbd: remember the request_time on an incoming request
...
metze
2012-06-15 07:18:00 +02:00
Michael Adam
b27f88898a
s3:vfs: change files_struct.fnum from int to uint64_t
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jun 15 05:22:41 CEST 2012 on sn-devel-104
2012-06-15 05:22:41 +02:00
Michael Adam
67108c8e7e
s3:smbd: change trans2.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
d056fd14c8
s3:smbd: change smb2_write.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
bde02985e6
s3:smbd: change smb2_setinfo.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
1e0eb24270
s3:smbd: change smb2_read.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
632560b4d8
s3:smbd: change smb2_notify.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
ec111bd050
s3:smbd: change smb2_lock.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
7738b574c2
s3:smbd: change smb2_ioctl.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
cf380e168d
s3:smbd: change smb2_getinfo.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
66117c3312
s3:smbd: change smb2_flush.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
d82f1fada2
s3:smbd: change smb2_find.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
59225808fa
s3:smbd: change smb2_close.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
78b9e1afef
s3:smbd: change smb2_break.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:15 +02:00
Michael Adam
65ea1e427d
s3:smbd: change reply.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:14 +02:00
Michael Adam
3d7befa8f0
s3:smbd: change pipes.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:14 +02:00
Michael Adam
cd37c68fad
s3:smbd: change oplock.c to use fsp_fnum_dbg() for fsp->fnum logging.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-15 03:28:14 +02:00