metze/samba/wip.git
12 years agoTODO fix ndr_set_flags...
Stefan Metzmacher [Thu, 17 Nov 2011 22:15:18 +0000 (23:15 +0100)]
TODO fix ndr_set_flags...

12 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

12 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.

12 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

12 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

12 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

12 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

12 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

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

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

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

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

12 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()

...

12 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.

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

This reverts commit 42dc6ff74624a3ad7f247e8468fb2bdc59ea4666.

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

12 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

12 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

12 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

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

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

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

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

12 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)

12 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

12 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...

12 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

12 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.

12 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...

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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.

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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)

12 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

12 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

12 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

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

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

12 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

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

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

12 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

12 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

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

12 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

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

12 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... :)

12 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.

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

12 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

12 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

12 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

12 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)

12 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

12 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

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

12 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).

12 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

12 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

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

12 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)

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

12 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

12 years agoshare_mode_lock only keep invalid if it's the only entry
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

12 years agoshare conflict invalid pid...
Stefan Metzmacher [Mon, 13 Feb 2012 14:34:10 +0000 (15:34 +0100)]
share conflict invalid pid...

12 years agosq recreate
Stefan Metzmacher [Mon, 13 Feb 2012 14:33:56 +0000 (15:33 +0100)]
sq recreate

12 years agoserver id per open
Stefan Metzmacher [Mon, 13 Feb 2012 14:05:15 +0000 (15:05 +0100)]
server id per open

12 years agosmb2srv_open_recreate
Stefan Metzmacher [Mon, 13 Feb 2012 14:04:40 +0000 (15:04 +0100)]
smb2srv_open_recreate

12 years agodon't talloc_free(open)
Stefan Metzmacher [Mon, 13 Feb 2012 14:02:09 +0000 (15:02 +0100)]
don't talloc_free(open)

12 years agodon't use 'open'
Stefan Metzmacher [Mon, 13 Feb 2012 14:01:40 +0000 (15:01 +0100)]
don't use 'open'

12 years agooplock don't conflict with invalid pid
Stefan Metzmacher [Mon, 13 Feb 2012 13:11:55 +0000 (14:11 +0100)]
oplock don't conflict with invalid pid

12 years agosmb2 durable close vs. normal close...
Stefan Metzmacher [Mon, 13 Feb 2012 13:11:25 +0000 (14:11 +0100)]
smb2 durable close vs. normal close...

12 years agoTODO s3:smbd: close all files per smb2 session before closing tcons
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

12 years agoHACKS - bug 8760
Stefan Metzmacher [Mon, 13 Feb 2012 13:07:57 +0000 (14:07 +0100)]
HACKS - bug 8760

special UINTxy_MAX as server-id

12 years agoMOVE Revert "TMP dbwrap: db_open() - add debug"
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.

12 years agoRevert "TMP - some dbwrap lock order debugging"
Christian Ambach [Thu, 1 Mar 2012 20:54:33 +0000 (12:54 -0800)]
Revert "TMP - some dbwrap lock order debugging"

This reverts commit 0fdd9ba0e1ab66615d100c2c06f3ceaccd82d59b.

12 years agoTMP dbwrap: db_open() - add debug
Stefan Metzmacher [Mon, 13 Feb 2012 13:06:33 +0000 (14:06 +0100)]
TMP dbwrap: db_open() - add debug

12 years agoTMP - some dbwrap lock order debugging
Stefan Metzmacher [Mon, 13 Feb 2012 13:06:13 +0000 (14:06 +0100)]
TMP - some dbwrap lock order debugging

12 years agodebug
Stefan Metzmacher [Mon, 13 Feb 2012 10:13:32 +0000 (11:13 +0100)]
debug

12 years agoreach NT_STATUS_NOT_IMPLEMENTED
Stefan Metzmacher [Mon, 13 Feb 2012 10:12:39 +0000 (11:12 +0100)]
reach NT_STATUS_NOT_IMPLEMENTED