Stefan Metzmacher
f8cd6e8b59
s3:torture/test_smb2: show that a session is valid during a multi-leg reauth
...
metze
2012-02-27 14:55:15 +01:00
Stefan Metzmacher
1444d4900f
s3:torture/test_smb2: fix missleading file name in reauth test
...
metze
2012-02-27 14:55:15 +01:00
Stefan Metzmacher
615c41ce12
libcli/smb/smb2_signing: pass down 'protocol' to smb2_signing_[sign|check]_pdu()
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Feb 27 14:26:32 CET 2012 on sn-devel-104
2012-02-27 14:26:32 +01:00
Stefan Metzmacher
7309e11ad5
libcli/smb/smb2_signing: rename session_key to signing_key
...
metze
2012-02-27 12:51:34 +01:00
Stefan Metzmacher
910251e8ed
libcli/smb/smbXcli: remove unused if statement from smb2cli_conn_dispatch_incoming()
...
metze
2012-02-27 12:51:34 +01:00
Stefan Metzmacher
b7684f2ac6
s4:libcli/smb2: remove unused 'session_key' from struct smb2_session
...
metze
2012-02-27 12:51:34 +01:00
Stefan Metzmacher
07b1de98cd
s4:librpc/dcerpc_smb2: make use of smb2cli_session_application_key()
...
metze
2012-02-27 12:51:34 +01:00
Stefan Metzmacher
a1ef9c761a
libcli/smb/smbXcli: add smb2cli_session_application_key()
...
metze
2012-02-27 12:51:34 +01:00
Stefan Metzmacher
aa4331be9e
libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the signing_key
...
The signing_key is fix across all channels and is used for session setups
on a channel binding.
Note:
- the last session setup response is signed with the new channel signing key.
- the reauth session setups are signed with the channel signing key.
It's also not needed to remember the main session key.
metze
2012-02-27 12:51:33 +01:00
Stefan Metzmacher
b93f6ac79c
libcli/smb/smbXcli: remove unused checks from smb2cli_session_create_channel()
...
metze
2012-02-27 12:51:33 +01:00
Stefan Metzmacher
18cd0b789e
s3:torture/test_smb2: remove explicit smb2_signing_check_pdu()
...
smb2cli_session_set_session_key() already checks the signature
and that function really knows the signing key.
metze
2012-02-27 12:51:33 +01:00
Stefan Metzmacher
c45cb3353b
s3:torture/test_smb2: a reauth doesn't update the session/signing key
...
metze
2012-02-27 12:51:33 +01:00
Stefan Metzmacher
229128f7e1
lib/crypto: fix hmac_sha256_final() prototype
...
metze
2012-02-27 12:51:33 +01:00
Andrew Tridgell
8a0e420d4c
dbwrap: changed log level for information about lock order
...
we were filling our logs with lock ordering debug lines
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Feb 27 12:50:29 CET 2012 on sn-devel-104
2012-02-27 12:50:29 +01:00
Andrew Bartlett
dc677b3baf
selftest: up the default log level in s3
...
This may help show more detail when our tests fail.
Andrew Bartlett
2012-02-27 11:16:05 +01:00
Andrew Bartlett
b6fcac65fb
s3-selftest: avoid running LOCAL- tests twice
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Feb 27 09:07:59 CET 2012 on sn-devel-104
2012-02-27 09:07:59 +01:00
Andrew Bartlett
c318c94170
s3-param: Align lp_{max,min}protocol with lib/param names
...
This adds an alisas to ensure that both our loadparm systems know all
the names.
I would like to move to the 'server ..' name as canonical, and this
will be raised on the list.
Andrew Bartlett
2012-02-27 07:36:05 +01:00
Andrew Tridgell
d21f7783f6
torture: don't check the NOINDEXED bit in attribute comparison
...
this bit is dependent on user settings on the filesystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2012-02-27 07:36:05 +01:00
Andrew Bartlett
3b3066fcaf
selftest: plugin_s4_dc can now handle kerberos properly
2012-02-27 07:36:05 +01:00
Andrew Bartlett
e7397eeaa2
s4-netlogond: Fix use of uninitialised value dns_name
...
The GET_CHECK_STR macro (now unrolled) did not initialise the trusts->array[n].dns_name
when the value was not set. New tests for our trusted domains code create
domain trusts without a DNS domain name. Found by the autobuild flakey build detector.
Andrew Bartlett
2012-02-27 07:36:05 +01:00
Rusty Russell
90c03ccf4c
lib/tdb2: rename tdb2.pc to tdb.pc
...
The library is called tdb, so the pc file must have the same name.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Mon Feb 27 06:59:58 CET 2012 on sn-devel-104
2012-02-27 06:59:58 +01:00
Jelmer Vernooij
47c62eeb68
upgradehelpers: Simplify transaction handling.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 27 05:25:04 CET 2012 on sn-devel-104
2012-02-27 05:25:04 +01:00
Jelmer Vernooij
8008228b94
samba.xattr: Massively simplify copytree_with_xattrs.
2012-02-27 03:52:05 +01:00
Jelmer Vernooij
2c9ff8a4d7
upgradeprovision: Only backup sysvol directory if it exists.
...
This is not the case for standalone installations.
Bug: https://bugs.launchpad.net/samba/+bug/930370
Bug: https://bugzilla.samba.org/show_bug.cgi?id=8781
2012-02-27 03:52:05 +01:00
Jelmer Vernooij
f40c9ac7ac
samba.xattr: Split copying of tree with extended attributes out into separate module.
2012-02-27 03:52:05 +01:00
Michael Adam
8e947f0f5d
s4:torture:smb2:durable-open: prevent using a disconnected handle in reopen4
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Feb 27 03:44:16 CET 2012 on sn-devel-104
2012-02-27 03:44:16 +01:00
Michael Adam
6deec81b8e
s4:torture:smb2:durable-open: introduce new variable for the new session
...
This is to clarify the code.
2012-02-27 02:08:28 +01:00
Michael Adam
d5cefee6fc
s4:torture:smb2:durable-open: make a comment more precise in the reopen4 test
2012-02-27 02:08:27 +01:00
Michael Adam
b041d28fea
s4:torture:smb2:durable_open: use the correct tree in the final close call
2012-02-27 02:08:27 +01:00
Jelmer Vernooij
687e065036
provision: Write configuration without help of templates.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 27 00:52:46 CET 2012 on sn-devel-104
2012-02-27 00:52:46 +01:00
Jelmer Vernooij
bb4de6df6e
pyparam: fix formatting.
2012-02-26 23:19:07 +01:00
Jelmer Vernooij
852418133e
provision: Simplify make_smbconf a bit.
2012-02-26 23:19:07 +01:00
Jelmer Vernooij
3bfccdfbc8
provision: Fix order for error formatting.
2012-02-26 23:19:07 +01:00
Jelmer Vernooij
e27e519bb8
provision: Raise proper error when shares are missing rather than AssertionError.
2012-02-26 23:19:07 +01:00
Jelmer Vernooij
411119db50
provision: Share more code for determine_netbios_name() with samba.valid_netbios_name().
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Feb 26 22:24:42 CET 2012 on sn-devel-104
2012-02-26 22:24:42 +01:00
Jelmer Vernooij
d5485a1e56
provision/backend: Properly close all opened files.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
6b320d63f3
provision: Properly close opened files.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
171dc5ad4f
provision: Reuse determine_netbios_name.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
3b738a5914
provision: Add tests for determine_netbios_name.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
16a4fa9704
provision: Factor out determination of new netbios name.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
d09764e180
join: Don't print provision results when they're just noise.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Feb 26 17:56:57 CET 2012 on sn-devel-104
2012-02-26 17:56:57 +01:00
Jelmer Vernooij
6664541156
provision: Split out result reporting for backends.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
eeb5f66d90
provision: Put adminpass details in ProvisionResult.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
3e6fa054f9
provision/tests: Test for phpldapadminconfig path.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
21f443eb82
provision: Leave result reporting up to caller.
2012-02-26 16:27:06 +01:00
Volker Lendecke
02ba9095e2
s3: Remove pointless parentheses
...
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Sun Feb 26 11:10:15 CET 2012 on sn-devel-104
2012-02-26 11:10:15 +01:00
Volker Lendecke
558ef5e26e
s3-configure: Add CFLAGS_APPEND variable
...
This makes it possible to add some CFLAGS to the end of the CFLAGS list. I use
it for adding -Wno-unused-value when compiling with clang.
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Sun Feb 26 01:21:49 CET 2012 on sn-devel-104
2012-02-26 01:21:48 +01:00
Volker Lendecke
263c7c28e3
s3: Use the correct enum values
...
wbcIdType and id_type have the same values, but different names
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Sat Feb 25 23:46:36 CET 2012 on sn-devel-104
2012-02-25 23:46:36 +01:00
Volker Lendecke
a5c044644f
nsswitch: Remove a pointless if-clause
...
gr->num_gr_mem is a uint32, so it can never be < 0
2012-02-25 22:14:38 +01:00
Volker Lendecke
bd6ff4dbab
libcli: Remove a pointless check
...
"n" is size_t, so it is always >=0.
2012-02-25 22:14:38 +01:00