Stefan Metzmacher
5f25567c2e
libcli/smb: add smbXcli_session_application_key()
...
metze
2012-08-01 14:17:12 +02:00
Stefan Metzmacher
ac1452c4f9
s4:libcli/smb_composite: make use of smb1cli_session_set_session_key()
...
metze
2012-08-01 14:17:12 +02:00
Stefan Metzmacher
1a9a910ce3
s4:libcli/smb_composite: always use set_user_session_key() helper
...
metze
2012-08-01 14:17:12 +02:00
Stefan Metzmacher
c9eac1af14
s3:libsmb: make use of smb1cli_session_set_session_key()
...
metze
2012-08-01 14:17:12 +02:00
Stefan Metzmacher
7af537e66f
libcli/smb: allow resetting of the smb1 application_key
...
We need this untill we have fixed all callers...
metze
2012-08-01 14:16:01 +02:00
Stefan Metzmacher
68c1eec11d
libcli/smb: let smb1cli_session_set_id() reset the application_key
...
We have some callers which reuse smbXcli_session,
e.g. cli_state_set_uid()
metze
2012-08-01 13:35:21 +02:00
Stefan Metzmacher
c3cb672d38
libcli/smb: add smb1cli_session_set_session_key()
...
metze
2012-08-01 12:30:26 +02:00
Michael Adam
9b9ef92701
s3:ctdbd_conn: use unitX_t types consistently throughout the module
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-01 12:30:26 +02:00
Richard Sharpe
d4bce355ad
Add two flags to allow for handling of Extended Signatures (Session Key Protection) on a TCON_AND_X request and response.
...
Autobuild-User(master): Richard Sharpe <sharpe@samba.org>
Autobuild-Date(master): Wed Aug 1 06:36:37 CEST 2012 on sn-devel-104
2012-08-01 06:36:37 +02:00
Richard Sharpe
610ac2d350
Make it possible to build under Solaris make as well as FreeBSD and Linux. Also add comments on changes that might be needed
2012-07-31 19:24:12 -07:00
Andrew Bartlett
23df816328
VERSION: Move on to beta6!
...
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jul 31 16:09:23 CEST 2012 on sn-devel-104
2012-07-31 16:09:23 +02:00
Andrew Bartlett
50d6483ab8
VERSION: Mark as the beta5 release
2012-07-31 14:15:29 +02:00
Andrew Bartlett
fb24f471be
WHATSNEW: prepare for 4.0 beta5
2012-07-31 14:15:29 +02:00
Andrew Bartlett
31787417ca
s4-repl: Add tests for add replication conflicts and use of LostAndFound
...
LostAndFound is used when we find children of a deleted object that are not themselves deleted.
Andrew Bartlett
2012-07-31 14:15:29 +02:00
Andrew Bartlett
6d1b8ff8a7
s4-dsdb: Replace any existing lastKnownParent attribute during delete
...
This allows a lastKnownParent from LostAndFound to be replaced.
Andrew Bartlett
2012-07-31 14:15:29 +02:00
Andrew Bartlett
fcb54ca25f
s4-dsdb: Improve tracing in repl_meta_data
...
When we call ldb_module_done() rather than just calling the callback, we make log entries
that are critical in debugging.
Andrew Bartlett
2012-07-31 14:15:29 +02:00
Andrew Bartlett
bc5be09bae
s4-dsdb: Handle rename conflicts in both directions
...
Previously we would only consider renaming the local object, now we can cope with
renaming the remote object as well.
This should avoid most of the cases where Samba AD replication can just stop.
Andrew Bartlett
2012-07-31 14:15:29 +02:00
Andrew Bartlett
8208d7b2c2
lib/ldb: Ensure rename target does not exist before deleting old record
...
This is all in a transaction, but when we are handling rename errors in the repl_meta_data
module, we key off the error, and do not close the transaction. We found that the
old record was gone and so could not try renaming it again to a conflict DN.
Andrew Bartlett
2012-07-31 14:15:29 +02:00
Andrew Bartlett
221cd524e3
s4-dsdb: Request extended DN and show deleted when searching for a possible parent
...
This fixes up the lastKnownParent attribute on lostAndFound objects to have a GUID
(found by dbcheck).
Andrew Bartlett
2012-07-31 14:15:29 +02:00
Volker Lendecke
eaa381a292
s3: Fix Coverity ID 710791 Resource leak
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jul 31 13:34:53 CEST 2012 on sn-devel-104
2012-07-31 13:34:53 +02:00
Volker Lendecke
3bc1f4570e
s3: Fix Coverity ID 710803 Resource leak
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31 11:40:23 +02:00
Volker Lendecke
d1dccfbda6
s3: Fix Coverity ID 710818 Resource leak
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31 11:40:23 +02:00
Volker Lendecke
2ddc3a280e
s3: Fix Coverity ID 710827 Resource leak
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31 11:40:22 +02:00
Volker Lendecke
c03e9769cd
tevent: Refer to the correct header in testsuite.c
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31 11:40:22 +02:00
Volker Lendecke
d2eb26cfbd
s3: Make request_timed_out() static
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31 11:40:22 +02:00
Stefan Metzmacher
35c0f164bc
s3:smbd: do a clean shutdown during release_ip() after CTDB_SRVID_RELEASE_IP
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jul 31 11:33:27 CEST 2012 on sn-devel-104
2012-07-31 11:33:27 +02:00
Stefan Metzmacher
d73b7938bb
s3:smbd: use print_sockaddr() instead of client_socket_addr()
...
We already have a server address in sockaddr_storage format.
Also the name "client_socket" was very miss leading,
as it returns the local address of the socket.
metze
2012-07-31 09:34:21 +02:00
Stefan Metzmacher
13de233fc6
s3:smbd: move smbd_register_ips() next to release_ip()
...
metze
2012-07-31 09:34:21 +02:00
Stefan Metzmacher
ec69eb41bf
s3:dbwrap_ctdb: initialize db_record->db
...
metze
2012-07-31 09:34:20 +02:00
Andrew Bartlett
cddcaf7bd2
ldb: Add parameter to avoid NULL format string flagged by -Werror=format
...
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 30 15:48:53 CEST 2012 on sn-devel-104
2012-07-30 15:48:53 +02:00
Andrew Bartlett
0e1814c6f6
s3-utils: Add cast to fix error found by -Werror=format
...
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 30 11:51:02 CEST 2012 on sn-devel-104
2012-07-30 11:51:02 +02:00
Andrew Bartlett
3aa6f085c2
build: Add more -Werror flags now the tree is clean of these errors
...
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 30 08:23:24 CEST 2012 on sn-devel-104
2012-07-30 08:23:24 +02:00
Andrew Bartlett
d6f47bd5a3
s4-torture: Fix format string errors found by -Werror=format
2012-07-30 14:25:10 +10:00
Andrew Bartlett
ea6b8ee026
lib/tdb: Fix format string errors found by -Werror=format in tdb tests
2012-07-30 14:25:10 +10:00
Andrew Bartlett
17bddd15de
lib/ntdb: Fix format string errors found by -Werror=format in ntdb tests
2012-07-30 14:25:10 +10:00
Andrew Bartlett
5b4792d9d2
lib/ccan: Fix format string errors found by -Werror=format in ccan failtest
2012-07-30 14:25:09 +10:00
Andrew Bartlett
0f21fe7666
auth/kerberos: Do not do pointer arithmatic on a void *
...
Found with -Werror=pointer-arith
Andrew Bartlett
2012-07-30 14:25:09 +10:00
Andrew Bartlett
2dfb2a4e45
s4-samba-tool ldapcmp: Fix synopsis
...
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 30 06:25:46 CEST 2012 on sn-devel-104
2012-07-30 06:25:46 +02:00
Andrew Bartlett
14bd5ca68f
s4-samba-tool ldapcmp: Add ridNextRID and rIDPreviousAllocationPool as per-DC attributes
2012-07-30 12:30:28 +10:00
Stefan Metzmacher
13095a9df6
dfs_server_ad: s/acct/aname as acct() is a function
...
metze
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jul 30 03:17:49 CEST 2012 on sn-devel-104
2012-07-30 03:17:49 +02:00
Stefan Metzmacher
6c21ae7103
dfs_server_ad: return STATUS_NOT_FOUND if the client connects to an ip address
...
metze
2012-07-30 01:22:09 +02:00
Andrew Bartlett
b567d3a607
s4-dsdb: Fill in lastKnownParent when moving to lostAndFound
...
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Jul 29 16:51:34 CEST 2012 on sn-devel-104
2012-07-29 16:51:34 +02:00
Andrew Bartlett
54b83ce9b7
s4-dsdb: Do not strip base components off DN before searching for NC root
2012-07-29 22:55:33 +10:00
Andrew Bartlett
056b215156
s4-dsdb: Change move to lostAndFound to use container in this partiion and add debugging
...
The logic looking for LostAndFound failed for a user, so add extensive
debugging to make this eaiser to trace down in future.
Andrew Bartlett
2012-07-29 22:55:33 +10:00
Andrew Bartlett
03a75afa79
s4-dsdb: Provide a way to force incoming renames to take priority
...
This should mean that a samba-tool drs replicate --full-sync forces a
replication of all objects, regardless of if we think the local name
is newer and regards any local name as being in conflict.
Andrew Bartlett
2012-07-29 22:55:33 +10:00
Andrew Bartlett
26eb35409c
s4-dsdb: Provide a way to handle conflicts due to rename
...
This allows us to proceed with replication when the source DC is sending us an object
which has a matching object in this NC (by name) but not by GUID.
Andrew Bartlett
2012-07-29 22:55:33 +10:00
Andrew Bartlett
fc6d7bfbe7
s4-librpc: Fix private context for dcerpc_connect_timeout_handler
...
This was incorrect in 02a356ea77
.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Jul 29 14:54:33 CEST 2012 on sn-devel-104
2012-07-29 14:54:32 +02:00
Andrew Bartlett
1547d5fe00
s4-repl: Use ldb_dn_new() to create the rootDSE DN
...
Based on a patch proposal by Matthieu Patou <mat@matws.net>.
Andrew Bartlett
2012-07-29 20:59:53 +10:00
Andrew Bartlett
de0b902ffa
s4-repl: Use NULL for pointer test when checking for ldb_msg_new() failure
2012-07-29 20:59:53 +10:00
Andrew Bartlett
9c9df9c8a3
s3-libsmbclient: Add missing talloc_stackframe() calls
...
These caused a panic with the new assertion on the talloc stackframe being
in place.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Jul 29 05:21:24 CEST 2012 on sn-devel-104
2012-07-29 05:21:23 +02:00