Christian Ambach
0dfc33026e
lib/socket_wrapper: writev returns ssize_t, not int
2012-08-06 18:07:52 +02:00
Christian Ambach
18c152f8aa
lib/param: move enum dns_update_settings to lib/param
2012-08-06 18:07:52 +02:00
Stefan Metzmacher
efe28b1247
s4:libcli/pyerrors: add PyErr_NTSTATUS_NOT_OK_RAISE()
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Aug 6 18:06:50 CEST 2012 on sn-devel-104
2012-08-06 18:06:50 +02:00
Stefan Metzmacher
a370792cbc
s4:libcli/pyerrors: s/PyErr_WERROR_IS_ERR_RAISE/PyErr_WERROR_NOT_OK_RAISE/
...
metze
2012-08-06 15:50:16 +02:00
Andrew Bartlett
4e0fb8b4b1
Revert "ldb: Add parameter to avoid NULL format string flagged by -Werror=format"
...
This reverts commit cddcaf7bd2
.
-Werror=format is no longer uses when it would cause this to fail.
This is a legitimate use of the ldb_search API.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Aug 6 14:47:27 CEST 2012 on sn-devel-104
2012-08-06 14:47:26 +02:00
Andrew Bartlett
33c79c8731
build: Make -Werror=format check only run where NULL is still accepted
...
This is needed because ldb_search() allows a NULL parameter for the format string
and this needs to be permitted by the format string checker before we want to
make this error fatal.
Andrew Bartlett
2012-08-06 20:51:56 +10:00
Andrew Bartlett
0514a84f7e
Rework recursive waf build to be a selftest-enabled not a developer build
...
This essentially reverts commit a943a9ba2f
.
I've fixed this by making lib/param/parm_table.c honour --enable-selftest.
Andrew Bartlett
2012-08-06 20:51:56 +10:00
Andrew Bartlett
dd8c0e59a3
build: Remove duplicate declaration of --enable-selftest
2012-08-06 20:51:55 +10:00
Andrew Bartlett
49b2720317
lib/param: Also enable vlp when --enable-selftest is specified
2012-08-06 20:51:55 +10:00
Stefan Metzmacher
1c7bd2b71c
s3:smbd: remove unused variable in sesssetup.c
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Aug 5 23:09:06 CEST 2012 on sn-devel-104
2012-08-05 23:09:06 +02:00
Stefan Metzmacher
4384b1e73b
s3:smb2_server: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:41 +02:00
Stefan Metzmacher
47c67f2eac
s3:smb2_ioctl: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:40 +02:00
Stefan Metzmacher
e281b9f798
s3:smb2_lock: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:40 +02:00
Stefan Metzmacher
e67d07f639
s3:smb2_setinfo: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:40 +02:00
Stefan Metzmacher
9c58a0a870
s3:smb2_getinfo: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:40 +02:00
Stefan Metzmacher
e9a21e5c8b
s3:smb2_negprot: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:39 +02:00
Stefan Metzmacher
f28b2ac65a
s3:smb2_write: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:38 +02:00
Stefan Metzmacher
f08e478d2f
s3:smb2_tcon: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:37 +02:00
Stefan Metzmacher
6e9a65ded3
s3:smb2_create: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:37 +02:00
Stefan Metzmacher
926379ae79
s3:smb2_find: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:36 +02:00
Stefan Metzmacher
559742f45f
s3:smb2_sesssetup: make use of SMBD_SMB2_* macros
...
metze
2012-08-05 20:55:36 +02:00
Stefan Metzmacher
048c8d3db4
s3:smb2_glue: make use of SMBD_SMB2_IN_HDR_PTR()
...
metze
2012-08-05 20:55:36 +02:00
Stefan Metzmacher
8cf817d7fd
s3:smb2_read: make use of SMBD_SMB2_IN_BODY_PTR()
...
metze
2012-08-05 20:55:35 +02:00
Stefan Metzmacher
121dbd6210
s3:smb2_notify: make use of SMBD_SMB2_IN_*_PTR()
...
metze
2012-08-05 20:55:35 +02:00
Stefan Metzmacher
88a34026f5
s3:smb2_flush: make use of SMBD_SMB2_IN_BODY_PTR()
...
metze
2012-08-05 20:55:35 +02:00
Stefan Metzmacher
52805c4169
s3:smb2_close: make use of SMBD_SMB2_IN_BODY_PTR()
...
metze
2012-08-05 20:55:34 +02:00
Stefan Metzmacher
21742c3693
s3:smb2_break: make use of SMBD_SMB2_IN_BODY_PTR()
...
metze
2012-08-05 20:55:34 +02:00
Stefan Metzmacher
7ee54cd9c4
s3:smbd: add helper macros to access smb2req->{in,out}.vector[]
...
For SMB3 encryption we need to change the vector layout
and we better hide this behind some central macros.
metze
2012-08-05 20:55:34 +02:00
Stefan Metzmacher
7327310754
s3:smb2_server: use 'i' instead of '1' as vector index in smbd_smb2_request_pending_timer()
...
If we reach this code i is currently always 1, but it's easier to unstand this
way.
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Aug 5 20:00:26 CEST 2012 on sn-devel-104
2012-08-05 20:00:26 +02:00
Stefan Metzmacher
1a0c40f537
s3:smb2_lock: remove unused in_smbpid
...
metze
2012-08-05 16:39:31 +02:00
Stefan Metzmacher
96fa47f56e
s3:smb2_write: remove unused in_smbpid
...
metze
2012-08-05 16:39:31 +02:00
Stefan Metzmacher
056070f395
s3:smb2_read: remove unused in_smbpid
...
metze
2012-08-05 16:39:30 +02:00
Stefan Metzmacher
86ee590901
s4:domain join: setup RODC invocationId
...
Pair-Programmed-With: Björn Baumbach <bb@sernet.de>
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Aug 4 18:27:21 CEST 2012 on sn-devel-104
2012-08-04 18:27:21 +02:00
Andreas Schneider
41cffa3c8b
doc: Remove build/ from doxygen config or it will not work in brew.
...
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Sat Aug 4 16:31:22 CEST 2012 on sn-devel-104
2012-08-04 16:31:22 +02:00
Stefan Metzmacher
401860cab6
s3:smbd: add support for SMB_EXTENDED_SIGNATURES in SMBtconX
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Aug 4 14:28:04 CEST 2012 on sn-devel-104
2012-08-04 14:28:04 +02:00
Stefan Metzmacher
ff75fd9eda
s3:smbd: setup the application session key with the first tcon on a session
...
Look for Server.Session.SessionKeyState in [MS-SMB].
The first SMBtconX sets the state to available, which makes it possible
to protect the session key at that stage, if client and server
support TREE_CONNECT_ANDX_EXTENDED_SIGNATURE.
metze
2012-08-04 12:33:06 +02:00
Stefan Metzmacher
3a0db4d865
s3:rpc_server/wkssvc: make usage of session_extract_session_key()
...
This makes sure we return NO_USER_SESSION_KEY if there's no session key.
metze
2012-08-04 12:33:06 +02:00
Stefan Metzmacher
396f3177ca
s3:rpc_server/netlogon: make usage of session_extract_session_key()
...
This makes sure we return NO_USER_SESSION_KEY if there's no session key.
metze
2012-08-04 12:33:06 +02:00
Stefan Metzmacher
49d0432efd
s3:smbd: setup session->global->signing_/application_key during SPNEGO SMB1 session setups
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Aug 4 11:09:42 CEST 2012 on sn-devel-104
2012-08-04 11:09:42 +02:00
Stefan Metzmacher
2265e4633a
s3:smbd: setup session->global->signing_/application_key during old SMB1 session setups
...
metze
2012-08-04 09:10:23 +02:00
Stefan Metzmacher
3d63e4da17
s3:smbd: keep the "application session key" during SMB1 reauth
...
metze
2012-08-04 09:10:22 +02:00
Stefan Metzmacher
ba864b83fa
s4:torture: add support for SMB_EXTENDED_SIGNATURES during SMBtconX
...
metze
2012-08-04 09:10:22 +02:00
Stefan Metzmacher
67767de4e9
s4:libcli: add support for SMB_EXTENDED_SIGNATURES during SMBtconX
...
metze
2012-08-04 09:10:22 +02:00
Stefan Metzmacher
c32120b4e9
s3:libsmb: add EXTENDED_SIGNATURE support in cli_tcon_andx*()
...
metze
2012-08-04 09:10:22 +02:00
Stefan Metzmacher
97be49c4d4
libcli/smb: add smb1cli_session_protect_session_key()
...
metze
2012-08-04 09:10:21 +02:00
Stefan Metzmacher
dbefd7d194
libcli/smb: add smb_key_derivation() for TREE_CONNECT_ANDX_EXTENDED_SIGNATURES support
...
metze
2012-08-04 09:10:21 +02:00
Stefan Metzmacher
b1a0fda73d
libcli/smb: pass hdr/len to smb_signing_check/sign_pdu() and skip the nbt header
...
metze
2012-08-04 09:10:21 +02:00
Stefan Metzmacher
b1c5efbfea
s3:smbd: skip nbt header in srv_check_sign_mac()
...
metze
2012-08-04 09:10:20 +02:00
Stefan Metzmacher
d88a6c1dc3
libcli/smb: change smb_signing to skip the NBT_HEADER_SIZE internally
...
metze
2012-08-04 09:10:20 +02:00
Stefan Metzmacher
e8f486883f
auth/ntlmssp: avoid talloc_tos() in ntlmssp_client_initial()
...
This avoids a smb_panic at log level = 10.
If we don't have a talloc stackframe yet.
metze
2012-08-04 09:10:20 +02:00