obnox/samba/samba-obnox.git
11 years agoRevert "TMP: remaining durable handle stuff - TODO" master3-reauth
Michael Adam [Fri, 8 Jun 2012 16:00:13 +0000 (18:00 +0200)]
Revert "TMP: remaining durable handle stuff - TODO"

This reverts commit 7fe5e4a0e8b708e57ad809a7fa380ed786393b56.

11 years agoRevert "knownfail: we pass durable/ durable-v2"
Stefan Metzmacher [Thu, 31 May 2012 10:12:50 +0000 (12:12 +0200)]
Revert "knownfail: we pass durable/ durable-v2"

This reverts commit 146751efd8bf9ae3530c1cdb9c6991408b5363d4.

11 years agoknownfail: we pass durable/ durable-v2
Stefan Metzmacher [Fri, 20 Apr 2012 20:15:16 +0000 (22:15 +0200)]
knownfail: we pass durable/ durable-v2

passed autobuild as commit 146751efd8bf9ae3530c1cdb9c6991408b5363d4

11 years agoTMP: remaining durable handle stuff - TODO
Michael Adam [Fri, 8 Jun 2012 16:00:01 +0000 (18:00 +0200)]
TMP: remaining durable handle stuff - TODO

11 years agos3:smbd: add basic support for durable handle request and reconnect
Michael Adam [Fri, 8 Jun 2012 15:54:19 +0000 (17:54 +0200)]
s3:smbd: add basic support for durable handle request and reconnect

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Pair-Programmed-With: Volker Lendecke <vl@samba.org>

11 years agos3:smbd: make fd_open() public
Michael Adam [Mon, 11 Jun 2012 11:05:37 +0000 (13:05 +0200)]
s3:smbd: make fd_open() public

11 years agoRevert "TMP: durable and durable v2 hacked code"
Michael Adam [Fri, 8 Jun 2012 08:33:01 +0000 (10:33 +0200)]
Revert "TMP: durable and durable v2 hacked code"

This reverts commit d8fb04c023cfbc67d103e9fa03a62e9c371d18d9.

11 years agoRevert "knownfail: we pass durable/ durable-v2"
Stefan Metzmacher [Thu, 31 May 2012 10:12:50 +0000 (12:12 +0200)]
Revert "knownfail: we pass durable/ durable-v2"

This reverts commit 146751efd8bf9ae3530c1cdb9c6991408b5363d4.

11 years agoknownfail: we pass durable/ durable-v2
Stefan Metzmacher [Fri, 20 Apr 2012 20:15:16 +0000 (22:15 +0200)]
knownfail: we pass durable/ durable-v2

passed autobuild as commit 146751efd8bf9ae3530c1cdb9c6991408b5363d4

11 years agoTMP: durable and durable v2 hacked code
Michael Adam [Fri, 8 Jun 2012 08:32:38 +0000 (10:32 +0200)]
TMP: durable and durable v2 hacked code

11 years agoadd questions.txt
Michael Adam [Thu, 7 Jun 2012 14:32:10 +0000 (16:32 +0200)]
add questions.txt

11 years agos3:files: factor fsp_free() out of file_free()
Michael Adam [Thu, 7 Jun 2012 14:31:14 +0000 (16:31 +0200)]
s3:files: factor fsp_free() out of file_free()

To be reused in the durable reconnect code.

Pair-Programmed-With: Volker Lendecke <vl@samba.org>

11 years agos3:files: reorder file_free() a bit
Michael Adam [Thu, 7 Jun 2012 14:27:24 +0000 (16:27 +0200)]
s3:files: reorder file_free() a bit

Pair-Programmed-With: Volker Lendecke <vl@samba.org>

11 years agos3:smbd: refactor fsp_new() out of file_new()
Michael Adam [Thu, 7 Jun 2012 14:13:36 +0000 (16:13 +0200)]
s3:smbd: refactor fsp_new() out of file_new()

Pair-Programmed-With: Volker Lendecke <vl@samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

11 years agos3:smbd: explain parameters to filename_convert call in smbd_smb2_create_send()
Michael Adam [Thu, 7 Jun 2012 12:49:28 +0000 (14:49 +0200)]
s3:smbd: explain parameters to filename_convert call in smbd_smb2_create_send()

11 years agodurable.txt
Stefan Metzmacher [Thu, 31 May 2012 07:45:16 +0000 (09:45 +0200)]
durable.txt

11 years agoconnection_struct.txt
Stefan Metzmacher [Fri, 25 May 2012 09:48:27 +0000 (11:48 +0200)]
connection_struct.txt

11 years agoRevert "use smbXsrv_open durable/persistent"
Stefan Metzmacher [Sat, 9 Jun 2012 15:57:29 +0000 (17:57 +0200)]
Revert "use smbXsrv_open durable/persistent"

This reverts commit 20e34696d05a499c8a54447ad0f0063ab06c7087.

11 years agoRevert "durable open: locking db invalid server_id... TODO retest after rebase"
Stefan Metzmacher [Sat, 9 Jun 2012 15:57:25 +0000 (17:57 +0200)]
Revert "durable open: locking db invalid server_id... TODO retest after rebase"

This reverts commit 75701130ca0d954126f03870d36cf281985d1fc2.

11 years agoRevert "knownfail: we pass durable/ durable-v2"
Stefan Metzmacher [Sat, 9 Jun 2012 15:57:14 +0000 (17:57 +0200)]
Revert "knownfail: we pass durable/ durable-v2"

This reverts commit eed5121cc6e72e6ad5938440301adc809f544697.

11 years agoknownfail: we pass durable/ durable-v2
Stefan Metzmacher [Fri, 20 Apr 2012 20:15:16 +0000 (22:15 +0200)]
knownfail: we pass durable/ durable-v2

passed autobuild as commit 146751efd8bf9ae3530c1cdb9c6991408b5363d4

11 years agodurable open: locking db invalid server_id... TODO retest after rebase
Stefan Metzmacher [Fri, 16 Mar 2012 14:05:32 +0000 (15:05 +0100)]
durable open: locking db invalid server_id... TODO retest after rebase

11 years agouse smbXsrv_open durable/persistent
Stefan Metzmacher [Fri, 16 Mar 2012 14:01:51 +0000 (15:01 +0100)]
use smbXsrv_open durable/persistent

11 years agoMAYBE SPLIT use smbXsrv_open (smb1 and smb2) smb2srv_open_lookup args!!!
Stefan Metzmacher [Fri, 8 Jun 2012 15:51:47 +0000 (17:51 +0200)]
MAYBE SPLIT use smbXsrv_open (smb1 and smb2) smb2srv_open_lookup args!!!

11 years agosmbXsrv_open_global_verify_record - DEBUG(10
Stefan Metzmacher [Thu, 31 May 2012 10:04:47 +0000 (12:04 +0200)]
smbXsrv_open_global_verify_record - DEBUG(10

11 years agoadd smbXsrv_open_global_verify_record //TODO handle durable and crash???
Stefan Metzmacher [Sat, 28 Apr 2012 07:27:08 +0000 (09:27 +0200)]
add smbXsrv_open_global_verify_record //TODO handle durable and crash???

11 years agoTODO s3:smbd: add smbXsrv_open* infrastructure - DEBUG(10
Stefan Metzmacher [Thu, 31 May 2012 10:04:26 +0000 (12:04 +0200)]
TODO s3:smbd: add smbXsrv_open* infrastructure - DEBUG(10

11 years agoTODO s3:smbd: add smbXsrv_open* infrastructure
Stefan Metzmacher [Mon, 6 Feb 2012 22:06:41 +0000 (23:06 +0100)]
TODO s3:smbd: add smbXsrv_open* infrastructure

Pair-Programmed-With: Michael Adam <obnox@samba.org>

metze

was 2f3a019148b2bbcee7273a281cc4f4cafb7baf46

11 years agoTODO s3:smbXsrv.idl: add smbXsrv_open*
Stefan Metzmacher [Mon, 12 Mar 2012 17:38:07 +0000 (18:38 +0100)]
TODO s3:smbXsrv.idl: add smbXsrv_open*

metze

11 years agoTODO FSCTL_QUERY_NETWORK_INTERFACE_INFO:
Stefan Metzmacher [Tue, 29 May 2012 08:14:06 +0000 (10:14 +0200)]
TODO FSCTL_QUERY_NETWORK_INTERFACE_INFO:

11 years agoRevert "IGNORE add smbXsrv_tcon_global_lookup"
Stefan Metzmacher [Fri, 13 Apr 2012 11:05:22 +0000 (13:05 +0200)]
Revert "IGNORE add smbXsrv_tcon_global_lookup"

This reverts commit 8d148c4e8555f48ae80c10affbef7797c92b7c39.

11 years agoIGNORE add smbXsrv_tcon_global_lookup
Stefan Metzmacher [Fri, 13 Apr 2012 11:05:03 +0000 (13:05 +0200)]
IGNORE add smbXsrv_tcon_global_lookup

11 years agoRevert "IGNORE add smbXsrv_session_global_lookup""
Stefan Metzmacher [Mon, 4 Jun 2012 08:55:57 +0000 (10:55 +0200)]
Revert "IGNORE add smbXsrv_session_global_lookup""

This reverts commit f07ce1a96889b5f05be062d01ace5fe8bd7129b4.

11 years agoIGNORE add smbXsrv_session_global_lookup"
Stefan Metzmacher [Fri, 13 Apr 2012 11:57:41 +0000 (13:57 +0200)]
IGNORE add smbXsrv_session_global_lookup"

11 years agoRevert "IGNORE TODO review s3:smbd: add smbXsrv_tcon infrastructure -- add share_name..."
Stefan Metzmacher [Mon, 4 Jun 2012 11:41:15 +0000 (13:41 +0200)]
Revert "IGNORE TODO review s3:smbd: add smbXsrv_tcon infrastructure -- add share_name..."

This reverts commit d2c480184790ebd810c825aea6d27a6d7b6b4395.

11 years agoIGNORE TODO review s3:smbd: add smbXsrv_tcon infrastructure -- add share_name...
Stefan Metzmacher [Mon, 4 Jun 2012 09:46:03 +0000 (11:46 +0200)]
IGNORE TODO review s3:smbd: add smbXsrv_tcon infrastructure -- add share_name...

11 years agoRevert "IGNORE TODO fix callers s3:smbXsrv_tcon: for now truncate to tcon_ids to...
Stefan Metzmacher [Wed, 6 Jun 2012 14:36:36 +0000 (16:36 +0200)]
Revert "IGNORE TODO fix callers s3:smbXsrv_tcon: for now truncate to tcon_ids to UINT16_MAX"

This reverts commit b5afadc6a4ab9878f3eb7d6b569b332417e428b2.

11 years agoIGNORE TODO fix callers s3:smbXsrv_tcon: for now truncate to tcon_ids to UINT16_MAX
Stefan Metzmacher [Sat, 28 Apr 2012 09:09:55 +0000 (11:09 +0200)]
IGNORE TODO fix callers s3:smbXsrv_tcon: for now truncate to tcon_ids to UINT16_MAX

Currently all callers use 'uint16_t cnum'.

metze

11 years agoRevert "IGNORE TODO fix callers s3:smbXsrv_session: for now truncate to session_ids...
Stefan Metzmacher [Wed, 6 Jun 2012 14:36:15 +0000 (16:36 +0200)]
Revert "IGNORE TODO fix callers s3:smbXsrv_session: for now truncate to session_ids to UINT16_MAX"

This reverts commit ac39a0fbe408388c067eaa744ca8126b495b4e27.

11 years agoIGNORE TODO fix callers s3:smbXsrv_session: for now truncate to session_ids to UINT16_MAX
Stefan Metzmacher [Sat, 28 Apr 2012 09:09:25 +0000 (11:09 +0200)]
IGNORE TODO fix callers s3:smbXsrv_session: for now truncate to session_ids to UINT16_MAX

Currently all callers use 'uint16_t vuid'.

metze

11 years agoTODO s3:torture:smb2: pass smb2-session-reconnect test (add generosity in error
Stefan Metzmacher [Wed, 18 Apr 2012 15:55:51 +0000 (17:55 +0200)]
TODO s3:torture:smb2: pass smb2-session-reconnect test (add generosity in error
case) PASSED

samba checks tree before file, so we get a
STATUS_NETWORK_NAME_DELETED instead STATUS_FILE_CLOSED
when operating on a file handle on a invalid tree id.

TODO: ==> fix samba

passed autobuild as f778e212d79db80e6f6fc560988b7039e48b84ae

passed autobuild as f4a7ec8fd9ab2b14f780c5a2147cb091875316aa
passed autobuild as f4a7ec8fd9ab2b14f780c5a2147cb091875316aa^
passed autobuild as f4a7ec8fd9ab2b14f780c5a2147cb091875316aa^^

11 years agos3:selftest: run SMB2-SESSION-RECONNECT
Stefan Metzmacher [Thu, 26 Apr 2012 15:38:08 +0000 (17:38 +0200)]
s3:selftest: run SMB2-SESSION-RECONNECT

metze

11 years agoTODO remember what to fix here... s3:smb2_sesssetup: make use of smb2srv_session_clos...
Stefan Metzmacher [Wed, 16 May 2012 22:32:40 +0000 (00:32 +0200)]
TODO remember what to fix here... s3:smb2_sesssetup: make use of smb2srv_session_close_previous_send/recv

metze

11 years agoTODO destructor s3:smbXsrv_session: react on MSG_SMBXSRV_SESSION_CLOSE TODO DEBUG
Stefan Metzmacher [Mon, 14 May 2012 14:17:49 +0000 (16:17 +0200)]
TODO destructor s3:smbXsrv_session: react on MSG_SMBXSRV_SESSION_CLOSE TODO DEBUG

metze

11 years agos3:smbXsrv_session: add smb2srv_session_close_previous_send/recv
Stefan Metzmacher [Tue, 17 Apr 2012 18:39:58 +0000 (20:39 +0200)]
s3:smbXsrv_session: add smb2srv_session_close_previous_send/recv

metze

11 years agoTODO define message .... add MSG_SMBXSRV_SESSION_CLOSE
Stefan Metzmacher [Wed, 18 Apr 2012 10:44:12 +0000 (12:44 +0200)]
TODO define message .... add MSG_SMBXSRV_SESSION_CLOSE

11 years ago^samba3.smbtorture_s3.*\(s3dc\).SMB2-SESSION-REAUTH # fix me
Stefan Metzmacher [Fri, 18 May 2012 08:59:42 +0000 (10:59 +0200)]
^samba3.smbtorture_s3.*\(s3dc\).SMB2-SESSION-REAUTH # fix me

11 years agoREAUTH testing test SMB2-SESSION-REAUTH
Stefan Metzmacher [Mon, 14 May 2012 12:24:08 +0000 (14:24 +0200)]
REAUTH testing test SMB2-SESSION-REAUTH

11 years agosmb2.session as ntlm and krb5 => expire1
Stefan Metzmacher [Thu, 17 May 2012 17:45:19 +0000 (19:45 +0200)]
smb2.session as ntlm and krb5 => expire1

11 years agoselftest/knownfail: only reauth5 still fails...
Stefan Metzmacher [Thu, 17 May 2012 17:28:06 +0000 (19:28 +0200)]
selftest/knownfail: only reauth5 still fails...

11 years agoselftest/Samba3: don't explicitly set 'max protocol'
Stefan Metzmacher [Fri, 18 May 2012 08:43:18 +0000 (10:43 +0200)]
selftest/Samba3: don't explicitly set 'max protocol'

metze

11 years agodocs-xml: fix reference from "server min protocol" to "server max protocol"
Stefan Metzmacher [Sun, 3 Jun 2012 21:12:57 +0000 (23:12 +0200)]
docs-xml: fix reference from "server min protocol" to "server max protocol"

metze

11 years agodocs-xml: change "server max protocol" to "SMB3"
Stefan Metzmacher [Sun, 3 Jun 2012 21:09:33 +0000 (23:09 +0200)]
docs-xml: change "server max protocol" to "SMB3"

metze

11 years agos3:param: change "server max protocol" to "SMB3"
Stefan Metzmacher [Sun, 3 Jun 2012 21:04:44 +0000 (23:04 +0200)]
s3:param: change "server max protocol" to "SMB3"

metze

11 years agolib/param: add "SMB3" as alias for PROTOCOL_SMB3_00
Stefan Metzmacher [Sun, 3 Jun 2012 21:03:54 +0000 (23:03 +0200)]
lib/param: add "SMB3" as alias for PROTOCOL_SMB3_00

metze

11 years agolib/param: let "SMB2" select PROTOCOL_SMB2_10
Stefan Metzmacher [Sun, 3 Jun 2012 21:02:56 +0000 (23:02 +0200)]
lib/param: let "SMB2" select PROTOCOL_SMB2_10

metze

11 years agos3:smb2_sesssetup: inline gensec_session_info() call SPLIT REAUTH?
Stefan Metzmacher [Wed, 16 May 2012 22:30:43 +0000 (00:30 +0200)]
s3:smb2_sesssetup: inline gensec_session_info() call SPLIT REAUTH?

metze

11 years agos3:smb2_sesssetup: make use of gensec_update_send/recv
Stefan Metzmacher [Wed, 16 May 2012 14:05:48 +0000 (16:05 +0200)]
s3:smb2_sesssetup: make use of gensec_update_send/recv

metze

11 years agos3:smb2_sesssetup: inline most of smbd_smb2_session_setup()
Stefan Metzmacher [Wed, 16 May 2012 13:56:15 +0000 (15:56 +0200)]
s3:smb2_sesssetup: inline most of smbd_smb2_session_setup()

metze

11 years agoREAUTH smb1 reauth server
Stefan Metzmacher [Wed, 25 Apr 2012 17:36:20 +0000 (19:36 +0200)]
REAUTH smb1 reauth server

11 years agoREAUTH smb2 HACK pass SMB2-SESSION-REAUTH
Stefan Metzmacher [Mon, 14 May 2012 12:24:08 +0000 (14:24 +0200)]
REAUTH smb2 HACK pass SMB2-SESSION-REAUTH

11 years agos3:smbd: remove now unused invalidate_all_vuids()
Stefan Metzmacher [Sun, 3 Jun 2012 15:02:16 +0000 (17:02 +0200)]
s3:smbd: remove now unused invalidate_all_vuids()

metze

11 years agos3:smbd: remove now unused conn_close_all()
Michael Adam [Tue, 22 May 2012 11:23:13 +0000 (13:23 +0200)]
s3:smbd: remove now unused conn_close_all()

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

11 years agoTODO s3:smbd: use smbXsrv_session_logoff_all() and smb1srv_tcon_disconnect_all()...
Michael Adam [Tue, 22 May 2012 11:18:06 +0000 (13:18 +0200)]
TODO 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>

11 years agoTODO destructor 6step:smb1 use smbXsrv_session: use smbXsrv_session for smb1
Stefan Metzmacher [Sun, 1 Apr 2012 19:19:53 +0000 (21:19 +0200)]
TODO destructor 6step:smb1 use smbXsrv_session: use smbXsrv_session for smb1

with obnox

11 years ago5step:smb1 use smbXsrv_tcon_table: use smb1srv_tcon... smb1
Stefan Metzmacher [Wed, 28 Mar 2012 14:14:09 +0000 (16:14 +0200)]
5step:smb1 use smbXsrv_tcon_table: use smb1srv_tcon... smb1

with obnox

11 years agoTODO review split?... 2step:smb2 use smbXsrv_tcon: make use of smbXsrv_tcon smb2...
Stefan Metzmacher [Tue, 27 Mar 2012 09:09:05 +0000 (11:09 +0200)]
TODO review split?... 2step:smb2 use smbXsrv_tcon: make use of smbXsrv_tcon smb2 remove smbd_smb2_tcon TODO fix warnings

with obnox

11 years agosmb2.24 signing on smbXsrv_session
Stefan Metzmacher [Fri, 16 Mar 2012 14:01:27 +0000 (15:01 +0100)]
smb2.24 signing on smbXsrv_session

11 years ago1step:smb2 use smbXsrv_session:OK s3:smb2_sesssetup: make use of the smbXsrv_session...
Stefan Metzmacher [Fri, 16 Mar 2012 14:01:27 +0000 (15:01 +0100)]
1step:smb2 use smbXsrv_session:OK 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

11 years agos3:smbXsrv_session: init and disconnect smbXsrv_tcon for SMB2/3
Stefan Metzmacher [Mon, 4 Jun 2012 08:30:27 +0000 (10:30 +0200)]
s3:smbXsrv_session: init and disconnect smbXsrv_tcon for SMB2/3

metze

11 years agosmbXsrv_tcon_disconnect fail on set_current_service...?
Stefan Metzmacher [Mon, 4 Jun 2012 08:37:45 +0000 (10:37 +0200)]
smbXsrv_tcon_disconnect fail on set_current_service...?

11 years agoTODO review s3:smbd: add smbXsrv_tcon infrastructure TODO share_name
Stefan Metzmacher [Fri, 16 Mar 2012 15:32:28 +0000 (16:32 +0100)]
TODO review s3:smbd: add smbXsrv_tcon infrastructure TODO share_name

metze

11 years agoTODO s3:smbXsrv.idl: add smbXsrv_tcon* structures
Stefan Metzmacher [Fri, 16 Mar 2012 15:18:40 +0000 (16:18 +0100)]
TODO s3:smbXsrv.idl: add smbXsrv_tcon* structures

struct smbXsrv_tcon will represent a SMB 1 or SMB 2
tree connect. It will replace 'struct smbd_smb2_tcon' and
'connection_struct' will be changed to handle just the protocol
independent glue for the SMB_VFS layer.

metze

11 years agoTODO review s3:smbd: add smbXsrv_session infrastructure
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
TODO review s3:smbd: add smbXsrv_session infrastructure

with obnox

metze

11 years agoTODO s3:smbXsrv.idl: add smbXsrv_session* structures
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
TODO s3:smbXsrv.idl: add smbXsrv_session* structures

struct smbXsrv_session will represent a SMB 1 or SMB 2
session. It will replace 'struct smbd_smb2_session' and
'user_struct' will be changed to handle just the protocol
independent glue for the SMB_VFS layer.

metze

11 years agos3:smbd: add smbXsrv_version_* infrastructure
Stefan Metzmacher [Tue, 8 May 2012 14:01:21 +0000 (16:01 +0200)]
s3:smbd: add smbXsrv_version_* infrastructure

metze

11 years agoTODO add comments s3:librpc/idl/smbXsrv.idl: add smbXsrv_version_* structures
Stefan Metzmacher [Tue, 8 May 2012 13:57:22 +0000 (15:57 +0200)]
TODO add comments s3:librpc/idl/smbXsrv.idl: add smbXsrv_version_* structures

metze

11 years agos3:librpc: add smbXsrv.idl
Stefan Metzmacher [Thu, 15 Dec 2011 13:45:56 +0000 (14:45 +0100)]
s3:librpc: add smbXsrv.idl

metze

11 years agoTODO discuss s3:smb2_server: remember the request_time on an incoming request
Stefan Metzmacher [Wed, 11 Apr 2012 14:54:17 +0000 (16:54 +0200)]
TODO discuss s3:smb2_server: remember the request_time on an incoming request

metze

11 years agoTODO discuss s3:smbd: remember the request_time on an incoming request
Stefan Metzmacher [Wed, 11 Apr 2012 14:54:17 +0000 (16:54 +0200)]
TODO discuss s3:smbd: remember the request_time on an incoming request

metze

11 years agodo_out.sh
Stefan Metzmacher [Wed, 6 Jun 2012 10:02:38 +0000 (12:02 +0200)]
do_out.sh

11 years agolib/ldb/tools: add missing "replace.h"
Stefan Metzmacher [Sun, 10 Jun 2012 20:59:00 +0000 (22:59 +0200)]
lib/ldb/tools: add missing "replace.h"

This has to be the first header!

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jun 11 01:21:01 CEST 2012 on sn-devel-104

11 years agos3/test: make dd call more portable
Björn Jacke [Sun, 10 Jun 2012 19:32:55 +0000 (21:32 +0200)]
s3/test: make dd call more portable

using multiplicative suffixes like K, M etc. in dd isn't portable

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Sun Jun 10 23:29:42 CEST 2012 on sn-devel-104

11 years agos4/pvfs: handle non-POSIX compliant Tru64, NetBSD and FreeBSD errno on O_NOFOLLOW...
Björn Jacke [Sun, 10 Jun 2012 18:17:44 +0000 (20:17 +0200)]
s4/pvfs: handle non-POSIX compliant Tru64, NetBSD and FreeBSD errno on O_NOFOLLOW symlink open calls

see also f75f1d62339f0accb4e574645b1d265c75a01b5b

11 years agos3: fix build on systems without O_NOFOLLOW
Björn Jacke [Sun, 10 Jun 2012 18:00:03 +0000 (20:00 +0200)]
s3: fix build on systems without O_NOFOLLOW

11 years agowafsamba: try to fix the build on AIX with xlc_r
Stefan Metzmacher [Sun, 10 Jun 2012 15:48:15 +0000 (17:48 +0200)]
wafsamba: try to fix the build on AIX with xlc_r

bld.env['CPP'] can be 'None' or '[]', bld.CONFIG_SET("CPP") should return False

File "./buildtools/wafsamba/samba_pidl.py", line 131, in SAMBA_PIDL_LIST
    bld.SAMBA_PIDL(name, p, options=options, output_dir=output_dir, symlink=symlink, generate_tables=generate_tables)
  File "./buildtools/wafsamba/samba_pidl.py", line 65, in SAMBA_PIDL
    cpp = 'CPP="%s"' % bld.CONFIG_GET("CPP")[0]
IndexError: list index out of range

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Jun 10 20:18:49 CEST 2012 on sn-devel-104

11 years agoheimdal:lib/asn1: try to fix the build on IRIX
Stefan Metzmacher [Sun, 10 Jun 2012 14:21:12 +0000 (16:21 +0200)]
heimdal:lib/asn1: try to fix the build on IRIX

cc-1028 cc: ERROR File = ../source4/heimdal/lib/asn1/gen_template.c, Line = 548
  The expression used must have a constant value.

  struct templatehead template = { 0L, &(template). tqh_first };
                                         ^
If this really fixes the IRIX build, we'll propose this for heimdal upstream.

metze

11 years agoRevert "s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp()"
Stefan Metzmacher [Sat, 9 Jun 2012 09:11:26 +0000 (11:11 +0200)]
Revert "s3:smbd: set req->smb2req->compat_chain_fsp in file_fsp()"

This reverts commit c2716a7d5ccf78f9716b703c22e6cf4d4f179656.

This is not needed anymore, as we have file_fsp_smb2() now.

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Jun 10 18:04:21 CEST 2012 on sn-devel-104

11 years agos3: handle non-POSIX compliant Tru64, NetBSD and FreeBSD errno on O_NOFOLLOW symlink...
Björn Jacke [Sun, 7 Jun 2009 11:55:26 +0000 (13:55 +0200)]
s3: handle non-POSIX compliant Tru64, NetBSD and FreeBSD errno on O_NOFOLLOW symlink open calls

or should we leave the NetBSD and FreeBSD platforms just broken? Actually these
two *want* to have broken platforms as they use different errno's than POSIX
demands *interntionally*. The POSIX errno ELOOP for O_NOFOLLOW open calls on
symlinks is clear and unambiguous. See http://gnats.netbsd.org/43154 for the
interesting NetBSD discussion on that.

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Sun Jun 10 16:10:02 CEST 2012 on sn-devel-104

11 years agos3:smb2_ioctl: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 10:12:59 +0000 (12:12 +0200)]
s3:smb2_ioctl: make use of file_fsp_smb2()

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Jun 10 01:10:15 CEST 2012 on sn-devel-104

11 years agos3:smb2_lock: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 09:57:21 +0000 (11:57 +0200)]
s3:smb2_lock: make use of file_fsp_smb2()

metze

11 years agos3:smb2_write: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 09:47:05 +0000 (11:47 +0200)]
s3:smb2_write: make use of file_fsp_smb2()

metze

11 years agos3:smb2_read: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 09:24:02 +0000 (11:24 +0200)]
s3:smb2_read: make use of file_fsp_smb2()

metze

11 years agos3:smb2_notify: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 09:05:58 +0000 (11:05 +0200)]
s3:smb2_notify: make use of file_fsp_smb2()

metze

11 years agos3:smb2_setinfo: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 08:54:46 +0000 (10:54 +0200)]
s3:smb2_setinfo: make use of file_fsp_smb2()

metze

11 years agos3:smb2_getinfo: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 08:46:13 +0000 (10:46 +0200)]
s3:smb2_getinfo: make use of file_fsp_smb2()

metze

11 years agos3:smb2_find: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 08:42:43 +0000 (10:42 +0200)]
s3:smb2_find: make use of file_fsp_smb2()

metze

11 years agos3:smb2_break: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 08:36:24 +0000 (10:36 +0200)]
s3:smb2_break: make use of file_fsp_smb2()

metze

11 years agos3:smb2_close: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 08:31:58 +0000 (10:31 +0200)]
s3:smb2_close: make use of file_fsp_smb2()

metze

11 years agos3:smb2_flush: make use of file_fsp_smb2()
Stefan Metzmacher [Fri, 8 Jun 2012 08:14:45 +0000 (10:14 +0200)]
s3:smb2_flush: make use of file_fsp_smb2()

metze