Günther Deschner
34674e0a61
s3-selftest: move printing config to global section.
...
"make test" variant.
Guenther
2010-03-25 00:55:32 +01:00
Günther Deschner
f84f653066
s3-selftest: move printing config to global section.
...
Guenther
2010-03-25 00:55:13 +01:00
Günther Deschner
426cb9be1c
s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well.
...
Guenther
2010-03-25 00:50:44 +01:00
Günther Deschner
6913c57b2f
s4-smbtorture: create several printjobs during print test in RPC-SPOOLSS.
...
Guenther
2010-03-25 00:50:44 +01:00
Günther Deschner
27c50255f6
s4-smbtorture: mention job id in GetJob test output in RPC-SPOOLSS.
...
Guenther
2010-03-25 00:50:30 +01:00
Günther Deschner
1bb8341871
s4-smbtorture: mention job id in SetJob test output in RPC-SPOOLSS.
...
Guenther
2010-03-25 00:50:18 +01:00
Jeremy Allison
66b7fcc8ef
Fix bug #7233 - print fails with jobs >4GB from Win7 clients.
...
Ensure we always write at end-of-file for older write calls.
Jeremy.
2010-03-24 12:47:01 -07:00
Jeremy Allison
c2d1b01103
Missing include guard in source4/libcli/security/security.h
...
Jeremy.
2010-03-24 12:20:03 -07:00
Jeremy Allison
eb8e18476c
Fix bug #7283 - vfs_acl_tdb does not work as expected.
...
both vfs_acl_common.c and vfs_acl_tdb.c were using the connection
handle, thus conflicted. Fix this.
Jeremy.
2010-03-24 10:33:14 -07:00
Jeremy Allison
c5f6789152
Fix valgrind warning when source and dest stat are identical.
...
Jeremy.
2010-03-24 10:33:09 -07:00
Günther Deschner
bb47e5b617
s4-smbtorture: add drsblobs ndr torture test.
...
Guenther
2010-03-24 18:30:38 +01:00
Günther Deschner
fb70368a97
s4-smbtorture: move up torture_assert_sid_equal at least to the torture/ndr level.
...
Guenther
2010-03-24 18:30:18 +01:00
Günther Deschner
254d85d537
s4-selftest: use correct test names.
...
Guenther
2010-03-24 17:37:07 +01:00
Stefan Metzmacher
3b33fa72d6
s3:ntlmssp: use c99 types
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:57 +01:00
Stefan Metzmacher
dee63fe4ca
s3:ntlmssp: use client.netbios_name instead of workstation
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:56 +01:00
Stefan Metzmacher
2dfc78a41a
s3:ntlmssp: remove unused ntlmssp_set_workstation()
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:56 +01:00
Stefan Metzmacher
9f895ea236
s3:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state union
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:56 +01:00
Stefan Metzmacher
8804dc1328
s3:ntlmssp: add const for *sig in ntlmssp_unseal_packet()
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:56 +01:00
Stefan Metzmacher
9172b4a0b1
s3:ntlmssp: make whole_pdu const for ntlmssp_[un]seal_packet()
...
Only data needs to be non-const.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:56 +01:00
Stefan Metzmacher
d0ef97f74b
s3:ntlmssp: use a 'bool ok' variable to make the code more readable
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:56 +01:00
Stefan Metzmacher
0de3698be2
s3:ntlmssp: fix some formating
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:56 +01:00
Stefan Metzmacher
b65e6f0c0d
s3:ntlmssp: inline ntlmssp_weaken_keys()
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:55 +01:00
Stefan Metzmacher
f0e7e94ee1
s3:ntlmssp: make send_seal_key and recv_seal_key local variables
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:55 +01:00
Stefan Metzmacher
ca2a5693bf
s3:ntlmssp: rename void *auth_context; into void *callback_private;
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:55 +01:00
Stefan Metzmacher
7c42c5d8ff
s3:ntlmssp: add some consts
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:55 +01:00
Stefan Metzmacher
7c0ea293f9
s3:ntlmssp: remove unused get_global_myname() and get_domain() from ntlmssp_state
...
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:55 +01:00
Stefan Metzmacher
7d977da925
s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them
...
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:55 +01:00
Stefan Metzmacher
55279dfbe3
s3:ntlmssp: remove server_name from ntlmssp_state and fill the server.* fields also for the client
...
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:55 +01:00
Stefan Metzmacher
eb17809812
s3:ntlmssp: pass names to ntlmssp_server_start() and store them in ntlmssp_state
...
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:54 +01:00
Stefan Metzmacher
eca118614c
s3:ntlmssp: replace server_role by a server.is_standalone in ntlmssp_state
...
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:54 +01:00
Stefan Metzmacher
533830543f
s3:ntlmssp: make use of C99 types in ntlmssp_sign.c
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:54 +01:00
Stefan Metzmacher
c2cc18455b
s3:ntlmssp: use uint8_t in calc_ntlmv2_key()
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:54 +01:00
Stefan Metzmacher
25a89b7015
s4:ntlmssp: move sign/seal states to a private ntlmssp_crypt_state union
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:54 +01:00
Stefan Metzmacher
598bfdcfd8
s4:ntlmssp: make use of dump_arc4_state()
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:54 +01:00
Stefan Metzmacher
48d8157879
s4:ntlmssp: copy dump_arc4_state() from source3
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:53 +01:00
Stefan Metzmacher
a69260642e
s4:ntlmssp: avoid usage of calc_ntlmv2_key_talloc()
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:53 +01:00
Stefan Metzmacher
00f99a3df5
s4:ntlmssp: make use of calc_ntlmv2_key() for seal keys
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:53 +01:00
Stefan Metzmacher
fc120dd758
s4:ntlmssp: add calc_ntlmv2_key() from source3
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:53 +01:00
Stefan Metzmacher
e0c7d9c8aa
s4:ntlmssp: rename calc_ntlmv2_key => calc_ntlmv2_key_talloc
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:53 +01:00
Stefan Metzmacher
c64e6e0a0f
s4:ntlmssp: inline ntlmssp_weakend_keys()
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
3220c84b72
s4:ntlmssp: use a 'bool ok' helper variable to make the code more readable
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
e669ee4c9d
s4:ntlmssp: fix some formating
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
44ce126b84
s4:ntlmssp: move doing_ntlm2 to ntlmssp_server_auth_state
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
40395eee5b
s4:ntlmssp: move NTLM2 session_nonce to ntlmssp_server_auth_state
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
1b20f7192a
s4:ntlmssp: move encrypted_session_key to ntlmssp_server_auth_state
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
a56ae60851
s4:ntlmssp: keep a ntlmssp_server_auth_state to transport variables from preauth to postauth hooks
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
a42cad635f
s4:ntlmssp: remove unused server_multiple_authentications feature.
...
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:52 +01:00
Stefan Metzmacher
d3e7266676
s4:ntlmssp: rename gensec_ntlmssp_state => ntlmssp_state
...
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
706333856b
s4:ntlmssp: split gensec_ntlmssp_unseal_packet() and ntlmssp_unseal_packet()
...
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
d4c2f252da
s4:ntlmssp: split gensec_ntlmssp_seal_packet() and ntlmssp_seal_packet()
...
Inspired by the NTLMSSP merge work by Andrew Bartlett.
metze
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00