Michael Adam [Sat, 18 Feb 2012 17:17:26 +0000 (18:17 +0100)]
TMP - add some debug
Michael Adam [Sat, 18 Feb 2012 17:16:10 +0000 (18:16 +0100)]
s3:smbd:smb2_create_send: add some debug
Michael Adam [Sat, 18 Feb 2012 16:54:49 +0000 (17:54 +0100)]
SQUASH fix a comment typo
Michael Adam [Sat, 18 Feb 2012 15:46:57 +0000 (16:46 +0100)]
durable_reopen: It does not crash any more... :)
Michael Adam [Sat, 18 Feb 2012 15:38:57 +0000 (16:38 +0100)]
durable reconnect: fix return code if SMB_VFS_OPEN failed.
Michael Adam [Sat, 18 Feb 2012 15:30:19 +0000 (16:30 +0100)]
durable_reconnect: fix a segfault
Michael Adam [Sat, 18 Feb 2012 15:30:03 +0000 (16:30 +0100)]
s3:smbd:smb2_create: add some comment
Michael Adam [Sat, 18 Feb 2012 13:18:52 +0000 (14:18 +0100)]
TMP durable reconnect: add some debug
Michael Adam [Sat, 18 Feb 2012 13:11:36 +0000 (14:11 +0100)]
TMP - durable_reconnect: add some debug
Michael Adam [Sat, 18 Feb 2012 13:08:56 +0000 (14:08 +0100)]
TMP - add some debug (durable reconnect)
Michael Adam [Sat, 18 Feb 2012 12:52:16 +0000 (13:52 +0100)]
durable reconnect - create dhnq response blob for successful durable reconnect
Michael Adam [Fri, 17 Feb 2012 17:18:14 +0000 (18:18 +0100)]
smb2 durable reconnect attempts -- it compiles :-o --- INCOMPLETE
Michael Adam [Fri, 17 Feb 2012 17:00:52 +0000 (18:00 +0100)]
durable-reopen - adapt a comment
Michael Adam [Fri, 17 Feb 2012 16:49:54 +0000 (17:49 +0100)]
UNFINISHED - move the call to durable reconnect further down,
in parallel to the SMB_VFS_CREATE() call. We need some info
(like smb_fname).
Michael Adam [Tue, 14 Feb 2012 15:00:55 +0000 (16:00 +0100)]
SQUASH - DOES NOT COMPILE - work towards durable reconnect
Michael Adam [Tue, 14 Feb 2012 00:02:52 +0000 (01:02 +0100)]
DOES NOT COMPILE - call file_new and SMB_VFS_OPEN
Michael Adam [Mon, 13 Feb 2012 23:39:00 +0000 (00:39 +0100)]
SQUASH - comment
Michael Adam [Mon, 13 Feb 2012 22:00:30 +0000 (23:00 +0100)]
TODO smb2_create_durable_reconnect: release the sharemode lock at the end
(temporary this way, there is still stuff missing in between)
Michael Adam [Mon, 13 Feb 2012 21:59:53 +0000 (22:59 +0100)]
smb2_create_durable_reconnect: update the pid in the share-mode entry from the smbXsrv_open
Michael Adam [Mon, 13 Feb 2012 21:55:29 +0000 (22:55 +0100)]
SQUASH smb2_create_durable_reconnect: re-add a TODO comment part that got dropped
Michael Adam [Mon, 13 Feb 2012 21:03:43 +0000 (22:03 +0100)]
smb2_create_durable_reconnect: refetch the share mode entry with lock
Michael Adam [Mon, 13 Feb 2012 21:01:46 +0000 (22:01 +0100)]
smb2_create_durable_reconnect: change a comment
Michael Adam [Mon, 13 Feb 2012 21:01:25 +0000 (22:01 +0100)]
smb2_create_durable_reconnect: change a comment
Michael Adam [Mon, 13 Feb 2012 21:00:45 +0000 (22:00 +0100)]
smb2_create_durable_reconnect: change a comment
Michael Adam [Mon, 13 Feb 2012 20:48:48 +0000 (21:48 +0100)]
smb2_create_durable_reconnect: fix typo in comment
Stefan Metzmacher [Mon, 13 Feb 2012 14:46:15 +0000 (15:46 +0100)]
cleanup invalid pid in locking on modify
Stefan Metzmacher [Mon, 13 Feb 2012 14:36:47 +0000 (15:36 +0100)]
sq only one invaliud
Stefan Metzmacher [Mon, 13 Feb 2012 14:35:03 +0000 (15:35 +0100)]
update TODO in smb2_create_durable_reconnect
Stefan Metzmacher [Mon, 13 Feb 2012 14:34:38 +0000 (15:34 +0100)]
share_mode_lock only keep invalid if it's the only entry
Stefan Metzmacher [Mon, 13 Feb 2012 14:34:10 +0000 (15:34 +0100)]
share conflict invalid pid...
Stefan Metzmacher [Mon, 13 Feb 2012 14:33:56 +0000 (15:33 +0100)]
sq recreate
Stefan Metzmacher [Mon, 13 Feb 2012 14:05:15 +0000 (15:05 +0100)]
server id per open
Stefan Metzmacher [Mon, 13 Feb 2012 14:04:40 +0000 (15:04 +0100)]
smb2srv_open_recreate
Stefan Metzmacher [Mon, 13 Feb 2012 14:02:09 +0000 (15:02 +0100)]
don't talloc_free(open)
Stefan Metzmacher [Mon, 13 Feb 2012 14:01:40 +0000 (15:01 +0100)]
don't use 'open'
Stefan Metzmacher [Mon, 13 Feb 2012 13:11:55 +0000 (14:11 +0100)]
oplock don't conflict with invalid pid
Stefan Metzmacher [Mon, 13 Feb 2012 13:11:25 +0000 (14:11 +0100)]
smb2 durable close vs. normal close...
Stefan Metzmacher [Mon, 13 Feb 2012 13:09:48 +0000 (14:09 +0100)]
TODO s3:smbd: close all files per smb2 session before closing tcons
This will be important for durable opens.
metze
Stefan Metzmacher [Mon, 13 Feb 2012 13:07:57 +0000 (14:07 +0100)]
HACKS - bug 8760
special UINTxy_MAX as server-id
Christian Ambach [Thu, 1 Mar 2012 20:54:53 +0000 (12:54 -0800)]
MOVE Revert "TMP dbwrap: db_open() - add debug"
This reverts commit
af3c208c1c344b459063af518db78e1cee57c807.
Christian Ambach [Thu, 1 Mar 2012 20:54:33 +0000 (12:54 -0800)]
Revert "TMP - some dbwrap lock order debugging"
This reverts commit
0fdd9ba0e1ab66615d100c2c06f3ceaccd82d59b.
Stefan Metzmacher [Mon, 13 Feb 2012 13:06:33 +0000 (14:06 +0100)]
TMP dbwrap: db_open() - add debug
Stefan Metzmacher [Mon, 13 Feb 2012 13:06:13 +0000 (14:06 +0100)]
TMP - some dbwrap lock order debugging
Stefan Metzmacher [Mon, 13 Feb 2012 10:13:32 +0000 (11:13 +0100)]
debug
Stefan Metzmacher [Mon, 13 Feb 2012 10:12:39 +0000 (11:12 +0100)]
reach NT_STATUS_NOT_IMPLEMENTED
Stefan Metzmacher [Mon, 13 Feb 2012 08:40:37 +0000 (09:40 +0100)]
fix the build
Michael Adam [Sun, 12 Feb 2012 12:20:28 +0000 (13:20 +0100)]
UNFINISHED - does not compile - work on durable reconnect
Stefan Metzmacher [Fri, 10 Feb 2012 14:36:02 +0000 (15:36 +0100)]
printers...
Michael Adam [Sat, 11 Feb 2012 00:46:22 +0000 (01:46 +0100)]
UNFINISHED - smb2_create: start implementing durable reconnect
Michael Adam [Sat, 11 Feb 2012 00:41:55 +0000 (01:41 +0100)]
don't we need a "durable" flag in the global open structure?
Michael Adam [Sat, 11 Feb 2012 00:20:39 +0000 (01:20 +0100)]
smb2_create.c: remove a comment (allocation of persistent_id is now done)
Christian Ambach [Thu, 1 Mar 2012 01:12:22 +0000 (17:12 -0800)]
fix autoconf build
Michael Adam [Fri, 10 Feb 2012 23:49:45 +0000 (00:49 +0100)]
smbXsrv_open.c: fix a return code (by copy from smbXsrv_session.c)
Michael Adam [Fri, 10 Feb 2012 23:05:34 +0000 (00:05 +0100)]
s3:smbd:smb2: add smb2srv_open_global_lookup() - look up in global open db by persistent id
Michael Adam [Fri, 10 Feb 2012 23:03:06 +0000 (00:03 +0100)]
smbXsrv_open.c - some space fix
Michael Adam [Fri, 10 Feb 2012 23:11:17 +0000 (00:11 +0100)]
smbXsrv.idl: add file_id to the open_global structure
so that we can look up the backend info in the locking.tdb
This is a preliminary hack. Later we should use a
"DATA_BLOB backend_info" with pack/unpack functions
so that the implementation is hidden from the
smb layer.
Stefan Metzmacher [Fri, 10 Feb 2012 12:43:17 +0000 (13:43 +0100)]
open... printer
Stefan Metzmacher [Fri, 10 Feb 2012 09:02:40 +0000 (10:02 +0100)]
TODO open_time / open_path
Stefan Metzmacher [Fri, 10 Feb 2012 08:50:51 +0000 (09:50 +0100)]
don't limit global persistent open ids to 16bit
Stefan Metzmacher [Fri, 10 Feb 2012 08:45:59 +0000 (09:45 +0100)]
lock ...
Stefan Metzmacher [Fri, 10 Feb 2012 08:35:25 +0000 (09:35 +0100)]
split persistene and volatile ids
Stefan Metzmacher [Fri, 10 Feb 2012 08:23:59 +0000 (09:23 +0100)]
others persistent check
Stefan Metzmacher [Fri, 10 Feb 2012 07:12:16 +0000 (08:12 +0100)]
write check persistent_id
Michael Adam [Thu, 9 Feb 2012 23:55:59 +0000 (00:55 +0100)]
smb2_create: hand out the persistent and volatile IDs gotten from the smbXsrv open code
(instead of the fnum)
Michael Adam [Thu, 9 Feb 2012 21:28:40 +0000 (22:28 +0100)]
update (C) smbXsrv_session.c
(ich hab da ja auch bisschn mitgemacht bei den letzten änderungen...:)
Stefan Metzmacher [Thu, 9 Feb 2012 21:06:28 +0000 (22:06 +0100)]
hack durable open...
Stefan Metzmacher [Thu, 9 Feb 2012 18:34:07 +0000 (19:34 +0100)]
smb2 works
Stefan Metzmacher [Thu, 9 Feb 2012 17:47:31 +0000 (18:47 +0100)]
use it...
Stefan Metzmacher [Tue, 13 Mar 2012 10:09:17 +0000 (11:09 +0100)]
smb1 add open table
Michael Adam [Thu, 9 Feb 2012 11:14:14 +0000 (12:14 +0100)]
s3:smbd: make smbXsrv_open.c compile
Michael Adam [Thu, 9 Feb 2012 11:13:08 +0000 (12:13 +0100)]
s3:smbd: add a smbXsrv_open_table member to smbXsrv_connection (for now)
Ultimately, for SMB2 at least, the open table could be subordinate to
the session. For SMB1, it needs to be subordinate to the connection.
Michael Adam [Thu, 9 Feb 2012 11:12:29 +0000 (12:12 +0100)]
s3:smbd: define struct smbXsrv_open_table
Michael Adam [Wed, 8 Feb 2012 23:30:35 +0000 (00:30 +0100)]
TODO - smbXsrv_open : some changes
Stefan Metzmacher [Wed, 8 Feb 2012 18:31:08 +0000 (19:31 +0100)]
change it ...
Stefan Metzmacher [Wed, 8 Feb 2012 18:28:32 +0000 (19:28 +0100)]
build smbd/smbXsrv_open.c
Michael Adam [Tue, 7 Feb 2012 11:01:05 +0000 (12:01 +0100)]
UNFINISHED - add smbXsrv_open.c - adapt from smbXsrv_session.c
Stefan Metzmacher [Mon, 6 Feb 2012 22:06:41 +0000 (23:06 +0100)]
TODO - s3:smbXsrv.idl: add structures for open files
especialy contains the persistent file id.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
Stefan Metzmacher [Mon, 6 Feb 2012 22:05:03 +0000 (23:05 +0100)]
TODO: s3:smbXsrv.idl: comment out some (yet) unused session struct members
Michael Adam [Mon, 6 Feb 2012 22:04:16 +0000 (23:04 +0100)]
s3:smbXsrv.idl: add a comment
Stefan Metzmacher [Mon, 6 Feb 2012 22:02:08 +0000 (23:02 +0100)]
TMP: source3/smbd/smb2_close.c - add some DEBUG
Michael Adam [Mon, 6 Feb 2012 00:15:25 +0000 (01:15 +0100)]
TODO: some comments in preparation of durable handle open hack
Stefan Metzmacher [Fri, 3 Feb 2012 16:58:38 +0000 (17:58 +0100)]
TODO s3:smbd: implement the smb2_create durable-handle request
Stefan Metzmacher [Tue, 7 Feb 2012 09:12:30 +0000 (10:12 +0100)]
Revert "vuid => session_id"
This reverts commit
f75fc237481172b58460e1c1b54d4e9bc16f24ee.
Stefan Metzmacher [Fri, 3 Feb 2012 15:00:04 +0000 (16:00 +0100)]
vuid => session_id
Stefan Metzmacher [Fri, 3 Feb 2012 09:57:50 +0000 (10:57 +0100)]
use smbXsrv_session step1
Stefan Metzmacher [Fri, 3 Feb 2012 09:33:53 +0000 (10:33 +0100)]
s3:smb2:sesssetup: s/session/smb2sess
This prepares the following commits.
metze
Stefan Metzmacher [Fri, 3 Feb 2012 12:37:31 +0000 (13:37 +0100)]
HACK: smbXsrv_session limit to UINT16_MAX for now
Stefan Metzmacher [Fri, 3 Feb 2012 12:37:02 +0000 (13:37 +0100)]
smbXsrv_session_update and lookup fixes
Stefan Metzmacher [Fri, 3 Feb 2012 10:33:09 +0000 (11:33 +0100)]
smbXsrv_session destructor
Stefan Metzmacher [Wed, 1 Feb 2012 12:15:50 +0000 (13:15 +0100)]
impove session setup code: functions for finding free session ids
Stefan Metzmacher [Tue, 31 Jan 2012 10:30:10 +0000 (11:30 +0100)]
smbXsrv_session...
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
HACK use smbXsrv_session
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
smbXsrv_session.c
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
smbXsrv.idl
Stefan Metzmacher [Mon, 12 Mar 2012 18:26:32 +0000 (19:26 +0100)]
Revert "s3:smbd: introduce struct smbXsrv_connection"
This reverts commit
8d459aa9fba80782d8f3a1fc179702c0067d4ba1.
Stefan Metzmacher [Fri, 20 Apr 2012 12:36:31 +0000 (14:36 +0200)]
Revert "s3:librpc: add smbXsrv.idl"
This reverts commit
443dad4f14ec0bccf882da669c4c375b35acec15.
Stefan Metzmacher [Mon, 12 Mar 2012 18:26:14 +0000 (19:26 +0100)]
Revert "TODO s3:smbXsrv.idl: add smbXsrv_session* structures"
This reverts commit
373a179f78da4fbe3984045b33ee32d800cc64cb.
Stefan Metzmacher [Mon, 12 Mar 2012 18:26:10 +0000 (19:26 +0100)]
Revert "TODO NDR_SMBXSRV before? s3:smbd: add smbXsrv_session infrastructure"
This reverts commit
99a1ee657d6a70a7f3036999ed068cc19a31be31.
Stefan Metzmacher [Mon, 12 Mar 2012 18:26:06 +0000 (19:26 +0100)]
Revert "s3:smbd: call file_close_user() before removing tree connects in conn_close_all()"
This reverts commit
a36c813660e79e5717f987f5f74d95931696e09d.
Stefan Metzmacher [Mon, 12 Mar 2012 18:26:02 +0000 (19:26 +0100)]
Revert "TODO s3:smbXsrv.idl: add smbXsrv_open*"
This reverts commit
3425903e3dc2a0393856d49becccf582bab0f0ad.