metze/samba/wip.git
11 years agos3:selftest: run smbtorture3 CLEANUP3 in the s3dc:local environment master3-smb2
Stefan Metzmacher [Wed, 16 May 2012 07:11:40 +0000 (09:11 +0200)]
s3:selftest: run smbtorture3 CLEANUP3 in the s3dc:local environment

metze

11 years agolibcli/smb: git mv smb2_session.c smb2cli_session.c
Stefan Metzmacher [Mon, 14 May 2012 07:41:10 +0000 (09:41 +0200)]
libcli/smb: git mv smb2_session.c smb2cli_session.c

metze

11 years agofind_unused
Stefan Metzmacher [Sun, 18 Dec 2011 18:03:12 +0000 (19:03 +0100)]
find_unused

11 years agofind_unused.py
Stefan Metzmacher [Sun, 18 Dec 2011 14:30:29 +0000 (15:30 +0100)]
find_unused.py

11 years agoTODO no,no... s3:modules/onefs_cbrl: pass smbd_server_connection to onefs_cbrl_find_blr()
Stefan Metzmacher [Fri, 16 Dec 2011 16:08:29 +0000 (17:08 +0100)]
TODO no,no... s3:modules/onefs_cbrl: pass smbd_server_connection to onefs_cbrl_find_blr()

metze

11 years agoTODO no, no... s3:modules/onefs_cbrl: pass smbd_server_connection to onefs_cbrl_enume...
Stefan Metzmacher [Fri, 16 Dec 2011 16:08:29 +0000 (17:08 +0100)]
TODO no, no... s3:modules/onefs_cbrl: pass smbd_server_connection to onefs_cbrl_enumerate_blq()

11 years agoSHARING_VIOLATION smb2
Stefan Metzmacher [Wed, 14 Dec 2011 15:15:44 +0000 (16:15 +0100)]
SHARING_VIOLATION smb2

11 years agoTODO s3:smbd/signing: use smbd_server_connection as talloc parent for its smb1 signin...
Stefan Metzmacher [Mon, 12 Dec 2011 12:50:04 +0000 (13:50 +0100)]
TODO s3:smbd/signing: use smbd_server_connection as talloc parent for its smb1 signing state

metze

11 years agoRevert "TODO s3:smbd: call file_init() after fork as smbd_server_connection is per...
Stefan Metzmacher [Mon, 12 Dec 2011 12:08:59 +0000 (13:08 +0100)]
Revert "TODO s3:smbd: call file_init() after fork as smbd_server_connection is per connection"

This reverts commit b5b691870d646a66ff4ead1e9b07de0f7f62214b.

11 years agoTODO s3:smbd: call file_init() after fork as smbd_server_connection is per connection
Stefan Metzmacher [Mon, 12 Dec 2011 10:52:13 +0000 (11:52 +0100)]
TODO s3:smbd: call file_init() after fork as smbd_server_connection is per connection

metze

11 years agoresilient
Stefan Metzmacher [Fri, 9 Dec 2011 10:06:41 +0000 (11:06 +0100)]
resilient

11 years agoRevert "REVERT??? s4 smb1 on top TODO"
Stefan Metzmacher [Tue, 29 Nov 2011 14:27:53 +0000 (15:27 +0100)]
Revert "REVERT??? s4 smb1 on top TODO"

This reverts commit b46f9704515ca516125b23e0366f972edb7327f0.

11 years agoREVERT??? s4 smb1 on top TODO
Stefan Metzmacher [Fri, 23 Sep 2011 06:35:17 +0000 (08:35 +0200)]
REVERT??? s4 smb1 on top TODO

11 years agoresilient without durable
Stefan Metzmacher [Tue, 8 Nov 2011 15:31:37 +0000 (16:31 +0100)]
resilient without durable

11 years agoresilient NT_STATUS_OK 9ca9b44c58d96ef2691fd0935a859ea373117d70
Stefan Metzmacher [Tue, 8 Nov 2011 13:36:16 +0000 (14:36 +0100)]
resilient NT_STATUS_OK 9ca9b44c58d96ef2691fd0935a859ea373117d70

11 years agoTODO lib/util/charset: use a stack buffer in smb_iconv() again
Stefan Metzmacher [Fri, 21 Oct 2011 11:36:24 +0000 (13:36 +0200)]
TODO lib/util/charset: use a stack buffer in smb_iconv() again

metze

11 years agovfs_aio_fork
Stefan Metzmacher [Wed, 9 Nov 2011 07:51:16 +0000 (08:51 +0100)]
vfs_aio_fork

11 years agoTODO fix ndr_set_flags...
Stefan Metzmacher [Thu, 17 Nov 2011 22:15:18 +0000 (23:15 +0100)]
TODO fix ndr_set_flags...

11 years agos3:vfs_gpfs: add "gpfs:posixacl" per share option
Stefan Metzmacher [Thu, 22 Dec 2011 16:48:11 +0000 (17:48 +0100)]
s3:vfs_gpfs: add "gpfs:posixacl" per share option

Based on a patch from Hans-Dieter Schuster <hans-dieter.schuster@ts.fujitsu.com>

metze

11 years agoRevert "smb1cli_conn_set_encryption talloc move s3-libsmb: Convert struct smb_trans_e...
Stefan Metzmacher [Mon, 23 Jan 2012 14:49:12 +0000 (15:49 +0100)]
Revert "smb1cli_conn_set_encryption talloc move s3-libsmb: Convert struct smb_trans_enc_state to talloc"

This reverts commit 512dbd4e05a993440887bdaeb9e00e3ef0899498.

11 years agosmb1cli_conn_set_encryption talloc move s3-libsmb: Convert struct smb_trans_enc_state...
Stefan Metzmacher [Mon, 23 Jan 2012 14:49:00 +0000 (15:49 +0100)]
smb1cli_conn_set_encryption talloc move s3-libsmb: Convert struct smb_trans_enc_state to talloc

Conflicts:

libcli/smb/smbXcli_base.c
source3/libsmb/clifsinfo.c

11 years agos3:selftest: add ktest-krb5.keytab and use as "dedicated keytab file"
Stefan Metzmacher [Thu, 19 Jan 2012 13:37:07 +0000 (14:37 +0100)]
s3:selftest: add ktest-krb5.keytab and use as "dedicated keytab file"

With the same secrets of ktest-secrets.tdb.

metze

11 years agoTODO backport? smb1 spnego smb1.sessions.done_sesssetup
Stefan Metzmacher [Sat, 14 Jan 2012 12:37:05 +0000 (13:37 +0100)]
TODO backport? smb1 spnego smb1.sessions.done_sesssetup

11 years agotest gensec_set_max_update_size
Stefan Metzmacher [Wed, 4 Jan 2012 10:59:54 +0000 (11:59 +0100)]
test gensec_set_max_update_size

11 years agogensec_set_max_update_size TODO
Stefan Metzmacher [Sat, 24 Dec 2011 00:32:17 +0000 (01:32 +0100)]
gensec_set_max_update_size TODO

11 years agotldap talloc_realloc
Stefan Metzmacher [Wed, 4 Jan 2012 22:08:36 +0000 (23:08 +0100)]
tldap talloc_realloc

11 years agofncall talloc_realloc
Stefan Metzmacher [Wed, 4 Jan 2012 22:08:23 +0000 (23:08 +0100)]
fncall talloc_realloc

11 years agosmbXcli_base talloc_realloc
Stefan Metzmacher [Wed, 4 Jan 2012 22:08:07 +0000 (23:08 +0100)]
smbXcli_base talloc_realloc

11 years agotest_lifeless
Stefan Metzmacher [Wed, 4 Jan 2012 22:07:53 +0000 (23:07 +0100)]
test_lifeless

11 years agotalloc/testsuite: remove invalid talloc_realloc_size(NULL, ...) from test_realloc()
Stefan Metzmacher [Wed, 4 Jan 2012 12:26:52 +0000 (13:26 +0100)]
talloc/testsuite: remove invalid talloc_realloc_size(NULL, ...) from test_realloc()

...

11 years agoRevert "talloc: abort in talloc_unlink with a wrong parent"
Stefan Metzmacher [Tue, 10 Jan 2012 09:28:55 +0000 (10:28 +0100)]
Revert "talloc: abort in talloc_unlink with a wrong parent"

This reverts commit 923b8e9e01bbe7858d0710026168c83a53ba285c.

11 years agoRevert "sq talloc"
Stefan Metzmacher [Tue, 10 Jan 2012 09:28:51 +0000 (10:28 +0100)]
Revert "sq talloc"

This reverts commit 42dc6ff74624a3ad7f247e8468fb2bdc59ea4666.

11 years agosq talloc
Stefan Metzmacher [Wed, 4 Jan 2012 11:49:15 +0000 (12:49 +0100)]
sq talloc

11 years agotalloc: abort in talloc_unlink with a wrong parent
Stefan Metzmacher [Wed, 4 Jan 2012 11:06:58 +0000 (12:06 +0100)]
talloc: abort in talloc_unlink with a wrong parent

If a caller passes a pointer that is not the parent
and also not a reference parent, we should handle it
like a double free.

metze

11 years agoTHIS IS WRONG!!! libcli: make more clear why it is 16 bytes
Christian Ambach [Fri, 2 Mar 2012 21:58:20 +0000 (13:58 -0800)]
THIS IS WRONG!!! libcli: make more clear why it is 16 bytes

11 years agoREMOVE ME: build with older ctdb
Christian Ambach [Thu, 1 Mar 2012 20:44:42 +0000 (12:44 -0800)]
REMOVE ME: build with older ctdb

11 years agofunctions twice - obnox please fix...
Stefan Metzmacher [Tue, 6 Mar 2012 08:29:06 +0000 (09:29 +0100)]
functions twice - obnox please fix...

11 years agoTMP selftest/target/Samba3 --- logs
Michael Adam [Thu, 23 Feb 2012 14:23:28 +0000 (15:23 +0100)]
TMP selftest/target/Samba3 --- logs

11 years agoall durable
Stefan Metzmacher [Thu, 23 Feb 2012 08:17:09 +0000 (09:17 +0100)]
all durable

11 years agomove lease => skip
Stefan Metzmacher [Thu, 23 Feb 2012 13:47:53 +0000 (14:47 +0100)]
move lease => skip

11 years agoUNFINISHED - work on persistent open tests ( honour share-cap-ca and share-cap scaleout)
Michael Adam [Thu, 1 Mar 2012 23:35:38 +0000 (00:35 +0100)]
UNFINISHED - work on persistent open tests ( honour share-cap-ca and share-cap scaleout)

11 years agoUNFINISHED s4:torture:smb2:durable-v2: check whether the share is continuously-available
Michael Adam [Thu, 1 Mar 2012 01:00:47 +0000 (02:00 +0100)]
UNFINISHED s4:torture:smb2:durable-v2: check whether the share is continuously-available

11 years agos4:torture:smb2: fix the matrix in the persistent open tests: you always get persiste...
Michael Adam [Wed, 29 Feb 2012 18:56:45 +0000 (19:56 +0100)]
s4:torture:smb2: fix the matrix in the persistent open tests: you always get persistent...

11 years agos4:torture:smb2:durable-v2-open: add tests for persistent handles
Michael Adam [Wed, 29 Feb 2012 22:43:21 +0000 (23:43 +0100)]
s4:torture:smb2:durable-v2-open: add tests for persistent handles

11 years agoREMOVE Revert "TMP - torture: smb2.durable_open.reopen2: skip closing and deleting...
Michael Adam [Mon, 20 Feb 2012 15:27:06 +0000 (16:27 +0100)]
REMOVE Revert "TMP - torture: smb2.durable_open.reopen2: skip closing and deleting fo now..."

This reverts commit 7289c736aeea2213ae51c8e8324d0a24882ca1e4.

11 years agoTMP - torture: smb2.durable_open.reopen2: skip closing and deleting fo now...
Michael Adam [Sat, 18 Feb 2012 16:53:32 +0000 (17:53 +0100)]
TMP - torture: smb2.durable_open.reopen2: skip closing and deleting fo now...

11 years agoHACK - add SMB2_HDR_FLAG_REPLAY_OPERATION to the allowed_flags in request-dispatch
Michael Adam [Fri, 2 Mar 2012 22:51:54 +0000 (23:51 +0100)]
HACK - add SMB2_HDR_FLAG_REPLAY_OPERATION to the allowed_flags in request-dispatch

11 years agohack: announce ability to have persistent handles, CA shares and cluster mode
Christian Ambach [Fri, 2 Mar 2012 22:05:07 +0000 (14:05 -0800)]
hack: announce ability to have persistent handles, CA shares and cluster mode

11 years agoSQU - s3:smbd: add support for durable-v2
Michael Adam [Fri, 2 Mar 2012 22:41:34 +0000 (23:41 +0100)]
SQU - s3:smbd: add support for durable-v2

11 years agoTODO - s4:smbd:smb2: add durable handle v2 support
Michael Adam [Fri, 2 Mar 2012 21:42:11 +0000 (22:42 +0100)]
TODO - s4:smbd:smb2: add durable handle v2 support

11 years agostore announced guid and capabilities in sconn
Christian Ambach [Thu, 1 Mar 2012 20:46:26 +0000 (12:46 -0800)]
store announced guid and capabilities in sconn

11 years agoadd serverguid and capabilities to sconn
Christian Ambach [Thu, 1 Mar 2012 20:45:34 +0000 (12:45 -0800)]
add serverguid and capabilities to sconn

11 years agosmbXsrv_session signing_key
Stefan Metzmacher [Fri, 2 Mar 2012 00:06:06 +0000 (01:06 +0100)]
smbXsrv_session signing_key

11 years agoRevert "vuid => session_id"
Stefan Metzmacher [Tue, 7 Feb 2012 09:12:30 +0000 (10:12 +0100)]
Revert "vuid => session_id"

This reverts commit f75fc237481172b58460e1c1b54d4e9bc16f24ee.

11 years agovuid => session_id
Stefan Metzmacher [Fri, 3 Feb 2012 15:00:04 +0000 (16:00 +0100)]
vuid => session_id

11 years agos3:smb2 fix oplock break
Christian Ambach [Fri, 2 Mar 2012 21:37:47 +0000 (13:37 -0800)]
s3:smb2 fix oplock break

we have to send the correct fileidentifier to the client

11 years agos3:smbd:smb2_create: add a comment
Michael Adam [Fri, 2 Mar 2012 22:41:22 +0000 (23:41 +0100)]
s3:smbd:smb2_create: add a comment

11 years agos3:smbd:smb2_create: some cleanup of smb2_create_durable_reconnect
Michael Adam [Fri, 2 Mar 2012 21:44:41 +0000 (22:44 +0100)]
s3:smbd:smb2_create: some cleanup of smb2_create_durable_reconnect

11 years agoSQUASH - s3:smbd:smb2 - move a variable to reduce scope
Michael Adam [Fri, 2 Mar 2012 21:41:17 +0000 (22:41 +0100)]
SQUASH - s3:smbd:smb2 - move a variable to reduce scope

11 years agos3:smbd:smb2: add a persistent flag to the global open structure
Michael Adam [Fri, 2 Mar 2012 21:24:44 +0000 (22:24 +0100)]
s3:smbd:smb2: add a persistent flag to the global open structure

11 years agoTODO - DO PROPERLY s3:smbd:smb2: always add O_RDWR to ctdb-reconnect
Michael Adam [Sat, 3 Mar 2012 00:17:55 +0000 (01:17 +0100)]
TODO - DO PROPERLY s3:smbd:smb2: always add O_RDWR to ctdb-reconnect

11 years agosetup more things on reconnect (add to global file list)
Michael Adam [Thu, 23 Feb 2012 15:27:12 +0000 (16:27 +0100)]
setup more things on reconnect (add to global file list)

11 years agoremove from global oplock vars on durable close
Michael Adam [Thu, 23 Feb 2012 15:26:39 +0000 (16:26 +0100)]
remove from global oplock vars on durable close

11 years agoSQUASH - fix fix for disconnect/close race
Michael Adam [Thu, 23 Feb 2012 14:08:15 +0000 (15:08 +0100)]
SQUASH - fix fix for disconnect/close race

11 years agofix race and do a normal close
Stefan Metzmacher [Thu, 23 Feb 2012 13:45:46 +0000 (14:45 +0100)]
fix race and do a normal close

11 years agopass smb2.durable-open.reopen2...:-)
Stefan Metzmacher [Thu, 23 Feb 2012 07:44:10 +0000 (08:44 +0100)]
pass smb2.durable-open.reopen2...:-)

11 years agoalmost...
Stefan Metzmacher [Thu, 23 Feb 2012 07:18:41 +0000 (08:18 +0100)]
almost...

11 years agoTMP smb2 durable reopen add some debug
Michael Adam [Thu, 23 Feb 2012 00:27:17 +0000 (01:27 +0100)]
TMP smb2 durable reopen add some debug

11 years agosmb2 durable...
Michael Adam [Wed, 22 Feb 2012 16:14:39 +0000 (17:14 +0100)]
smb2 durable...

11 years agosmbXsrv.idl: *_key...
Stefan Metzmacher [Wed, 22 Feb 2012 12:19:33 +0000 (13:19 +0100)]
smbXsrv.idl: *_key...

11 years agodurable reconnect ... get_existing_share_mode_lock
Stefan Metzmacher [Wed, 22 Feb 2012 10:25:19 +0000 (11:25 +0100)]
durable reconnect ... get_existing_share_mode_lock

11 years agodurable close ... get_existing_share_mode_lock
Stefan Metzmacher [Wed, 22 Feb 2012 10:25:19 +0000 (11:25 +0100)]
durable close ... get_existing_share_mode_lock

11 years agoTMP - add some debug
Michael Adam [Sat, 18 Feb 2012 17:17:26 +0000 (18:17 +0100)]
TMP - add some debug

11 years agos3:smbd:smb2_create_send: add some debug
Michael Adam [Sat, 18 Feb 2012 17:16:10 +0000 (18:16 +0100)]
s3:smbd:smb2_create_send: add some debug

11 years agoSQUASH fix a comment typo
Michael Adam [Sat, 18 Feb 2012 16:54:49 +0000 (17:54 +0100)]
SQUASH fix a comment typo

11 years agodurable_reopen: It does not crash any more... :)
Michael Adam [Sat, 18 Feb 2012 15:46:57 +0000 (16:46 +0100)]
durable_reopen: It does not crash any more... :)

11 years agodurable reconnect: fix return code if SMB_VFS_OPEN failed.
Michael Adam [Sat, 18 Feb 2012 15:38:57 +0000 (16:38 +0100)]
durable reconnect: fix return code if SMB_VFS_OPEN failed.

11 years agodurable_reconnect: fix a segfault
Michael Adam [Sat, 18 Feb 2012 15:30:19 +0000 (16:30 +0100)]
durable_reconnect: fix a segfault

11 years agos3:smbd:smb2_create: add some comment
Michael Adam [Sat, 18 Feb 2012 15:30:03 +0000 (16:30 +0100)]
s3:smbd:smb2_create: add some comment

11 years agoTMP durable reconnect: add some debug
Michael Adam [Sat, 18 Feb 2012 13:18:52 +0000 (14:18 +0100)]
TMP  durable reconnect: add some debug

11 years agoTMP - durable_reconnect: add some debug
Michael Adam [Sat, 18 Feb 2012 13:11:36 +0000 (14:11 +0100)]
TMP - durable_reconnect: add some debug

11 years agoTMP - add some debug (durable reconnect)
Michael Adam [Sat, 18 Feb 2012 13:08:56 +0000 (14:08 +0100)]
TMP - add some debug (durable reconnect)

11 years agodurable reconnect - create dhnq response blob for successful 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

11 years agosmb2 durable reconnect attempts -- it compiles :-o --- INCOMPLETE
Michael Adam [Fri, 17 Feb 2012 17:18:14 +0000 (18:18 +0100)]
smb2 durable reconnect attempts -- it compiles :-o  --- INCOMPLETE

11 years agodurable-reopen - adapt a comment
Michael Adam [Fri, 17 Feb 2012 17:00:52 +0000 (18:00 +0100)]
durable-reopen - adapt a comment

11 years agoUNFINISHED - move the call to durable reconnect further down,
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).

11 years agoSQUASH - DOES NOT COMPILE - work towards durable reconnect
Michael Adam [Tue, 14 Feb 2012 15:00:55 +0000 (16:00 +0100)]
SQUASH - DOES NOT COMPILE - work towards durable reconnect

11 years agoDOES NOT COMPILE - call file_new and SMB_VFS_OPEN
Michael Adam [Tue, 14 Feb 2012 00:02:52 +0000 (01:02 +0100)]
DOES NOT COMPILE - call file_new and SMB_VFS_OPEN

11 years agoSQUASH - comment
Michael Adam [Mon, 13 Feb 2012 23:39:00 +0000 (00:39 +0100)]
SQUASH - comment

11 years agoTODO smb2_create_durable_reconnect: release the sharemode lock at the end
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)

11 years agosmb2_create_durable_reconnect: update the pid in the share-mode entry from the smbXsr...
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

11 years agoSQUASH smb2_create_durable_reconnect: re-add a TODO comment part that got dropped
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

11 years agosmb2_create_durable_reconnect: refetch the share mode entry with lock
Michael Adam [Mon, 13 Feb 2012 21:03:43 +0000 (22:03 +0100)]
smb2_create_durable_reconnect: refetch the share mode entry with lock

11 years agosmb2_create_durable_reconnect: change a comment
Michael Adam [Mon, 13 Feb 2012 21:01:46 +0000 (22:01 +0100)]
smb2_create_durable_reconnect: change a comment

11 years agosmb2_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

11 years agosmb2_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

11 years agosmb2_create_durable_reconnect: fix typo in comment
Michael Adam [Mon, 13 Feb 2012 20:48:48 +0000 (21:48 +0100)]
smb2_create_durable_reconnect: fix typo in comment

11 years agocleanup invalid pid in locking on modify
Stefan Metzmacher [Mon, 13 Feb 2012 14:46:15 +0000 (15:46 +0100)]
cleanup invalid pid in locking on modify

11 years agosq only one invaliud
Stefan Metzmacher [Mon, 13 Feb 2012 14:36:47 +0000 (15:36 +0100)]
sq only one invaliud

11 years agoupdate TODO in smb2_create_durable_reconnect
Stefan Metzmacher [Mon, 13 Feb 2012 14:35:03 +0000 (15:35 +0100)]
update TODO in smb2_create_durable_reconnect