1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

60895 Commits

Author SHA1 Message Date
Matthias Dieter Wallnöfer
c8fe49b2d3 s4:installmisc.sh - fix location of "dnspython" library 2010-03-29 22:35:16 +02:00
Stefan Metzmacher
4c6cde99c0 s3:winbindd: correctly retry if the netlogon pipe gets disconnected during a logon call
This fixes hopefully the last part of bug #7295.

metze
2010-03-29 22:15:13 +02:00
Matthias Dieter Wallnöfer
c5d1d68f0b s4:registry/util.c - remove those "talloc_free"s
They're not really necessary.
2010-03-29 21:52:12 +02:00
Matthias Dieter Wallnöfer
c38e96278a s4:registry/tests/generic.c - fix the DWORD_* types test to work also against big endian platforms 2010-03-29 21:38:23 +02:00
Matthias Dieter Wallnöfer
50d26133dc s4:.gitignore - update it for the new heimdal release 2010-03-29 21:38:22 +02:00
Matthias Dieter Wallnöfer
8d0b67b644 s4:registry/ldb.c - Break with "NULL" as an error case when the data doesn't fit in the "reg_ldb_pack_value" function 2010-03-29 21:38:18 +02:00
Matthias Dieter Wallnöfer
e25e60ba2f s4:registry/ldb.c - Always check the "name" attribute for != NULL
If it's NULL return invalid parameter as Windows does. The name is "" if it
refers to the default value.
2010-03-29 20:53:38 +02:00
Matthias Dieter Wallnöfer
90d2902c73 s4:registry - move the UTF16 length calculation for "reg_key_get_info" into the RPC server code
It does fit better there.
2010-03-29 20:36:32 +02:00
Matthias Dieter Wallnöfer
8efea42948 s4:registry/util.c - fix indentation 2010-03-29 19:55:16 +02:00
Matthias Dieter Wallnöfer
e1714121b1 howto4.txt - improve the content of chapter 2bis 2010-03-29 19:50:46 +02:00
Matthieu Patou
53a2982970 s4: complete the build instruction because the problem with the idl_full cames very often 2010-03-29 19:50:46 +02:00
Matthias Dieter Wallnöfer
da68151017 WHATSNEW4.txt - updates
Update the file content.
2010-03-29 19:50:46 +02:00
Matthieu Patou
cf3e15c897 Add partial information in whatsnew for the next release 2010-03-29 19:50:46 +02:00
Jelmer Vernooij
a5e6b5589b registry: Fix compilation. 2010-03-29 18:44:00 +02:00
Wilco Baan Hofman
38fc9dfdc6 Revert reordering from commit 51bedf9395
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-29 18:44:00 +02:00
Wilco Baan Hofman
2d6791286b Revert "s4:registry - util.c - add harder checks for inputs on "reg_val_data_string""
This reverts commit eb8c8a0eca.

Conflicts:

	source4/lib/registry/util.c

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-29 18:44:00 +02:00
Wilco Baan Hofman
16427efb74 Revert "s4:registry - util.c - move the "REG_NONE" case in the conversion functions on top of the switch"
This reverts commit 4e6c0e1f6f.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-29 18:44:00 +02:00
Wilco Baan Hofman
b1c70d49c9 Revert "s4:registry - util.c - treat unsupported and binary values as the same in the conversion functions"
This reverts commit cc3eec1681.

Conflicts:

	source4/lib/registry/util.c

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-29 18:44:00 +02:00
Wilco Baan Hofman
cb670f366c Revert "s4:registry - adaptions for "add memory contexts for delete value/key functions""
This reverts commit 43170dafbc.

Conflicts:

	source4/lib/registry/dir.c
	source4/lib/registry/util.c

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-29 18:43:59 +02:00
Wilco Baan Hofman
f8e67f198a Revert "s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs""
This reverts commit 9d8592978e.

Conflicts:

	source4/lib/registry/util.c

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-29 18:43:59 +02:00
Wilco Baan Hofman
d90f1a7146 Revert of commit 5b6ad54f43 in registry.h
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-29 18:43:59 +02:00
Wilco Baan Hofman
541e2942f8 Remove incorrect const, something that was correct in commit 9c3e6249fd
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-29 18:43:59 +02:00
Wilco Baan Hofman
3629798f72 Revert "s4:registry - "util" - remove "const" from "reg_abs_path""
This reverts commit 9c3e6249fd.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-29 18:43:59 +02:00
Stefan Metzmacher
cac9981b1a s3:rpc_client: remove more unused code
metze
2010-03-29 18:11:20 +02:00
Stefan Metzmacher
13cf592bb8 s3:rpc_client: remove unused code, we handle transport failures in the transport layer now
metze
2010-03-29 18:11:19 +02:00
Stefan Metzmacher
6bd5a2a373 s3:winbindd_reconnect: don't only reconnect on NT_STATUS_UNSUCCESSFUL
metze
2010-03-29 18:11:19 +02:00
Stefan Metzmacher
94a4bcd2f0 s3:winbindd_cm: invalidate connection if cm_connect_netlogon() fails
metze
2010-03-29 18:11:18 +02:00
Stefan Metzmacher
4f391fedac s3:winbindd: consistently use TALLOC_FREE(conn->foo_pipe) is we create a new connection
metze
2010-03-29 18:11:18 +02:00
Stefan Metzmacher
d980c06a99 s3:winbindd_cm: use rpccli_is_connected() helper function
metze
2010-03-29 18:11:18 +02:00
Stefan Metzmacher
408a3eb35a s3:winbindd_cm: use cli_state_is_connected() helper function
metze
2010-03-29 18:11:17 +02:00
Stefan Metzmacher
3e70da3f47 s3:rpc_client: return at least 10 sec as old timeout in rpccli_set_timeout() instead of 0
metze
2010-03-29 18:11:17 +02:00
Stefan Metzmacher
99664ad154 s3:rpc_client: add set_timeout hook to rpc_cli_transport
metze
2010-03-29 18:11:17 +02:00
Stefan Metzmacher
4f41b53487 s3:rpc_client: add rpccli_is_connected()
metze
2010-03-29 18:11:16 +02:00
Stefan Metzmacher
dc09b12681 s3:rpc_client: don't mix layers and keep a reference to cli_state in the caller
We should not rely on the backend to have a reference to the cli_state.
This will make it possible for the backend to set its cli_state reference
to NULL, when the transport is dead.

metze
2010-03-29 18:11:16 +02:00
Stefan Metzmacher
5f8fc63515 s3:rpc_transport_np: add comment about bad usage in a destructor
metze
2010-03-29 18:11:15 +02:00
Stefan Metzmacher
b862351da8 s3:rpc_transport_np: use cli_state_is_connected() helper
metze
2010-03-29 18:11:15 +02:00
Stefan Metzmacher
d7bf30ef92 s3:libsmb: add cli_state_is_connected() function
metze
2010-03-29 18:11:15 +02:00
Stefan Metzmacher
47e10ab9a8 s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_state
metze
2010-03-29 18:11:14 +02:00
Jelmer Vernooij
1ec2b2f7f3 ldap.py: Fix syntax error. 2010-03-29 18:05:29 +02:00
Jelmer Vernooij
336cd5a0a3 python: Fix rule for generating docs using pydoctor. 2010-03-29 18:05:29 +02:00
Jelmer Vernooij
082e7f20d7 subunit: Update to newer upstream version. 2010-03-29 18:05:29 +02:00
Jelmer Vernooij
c873329500 s4-python: Simplify mechanism for finding included Python modules. 2010-03-29 18:05:29 +02:00
Jelmer Vernooij
4bbc3ff037 s4-python: Move dnspython to lib/, like the other Python modules
This also avoids it from being installed if it's already present on the
system.
2010-03-29 18:05:29 +02:00
Jelmer Vernooij
89aa3b766b s4-python: Format to PEP8, simplify tests. 2010-03-29 18:05:29 +02:00
Holger Hetterich
87ad4e990b Make the smbta-util manpage xml create smbta-util.8 instead of smbta-tool.8
Additionally change any references to smbta-tool in the text of the manpage.

Signed-off-by: Andreas Schneider <asn@samba.org>
2010-03-29 18:01:41 +02:00
Stefan Metzmacher
e230c8dd24 pidl:Samba4/Client: don't mix rpc and application NTSTATUS errors anymore for the new bindings
The new dcerpc_binding_handle based client stubs don't mix error codes anymore,
while the old dcerpc_pipe based ones still do to keep OpenChange happy for now.

metze
2010-03-29 15:35:53 +02:00
Günther Deschner
979c50eff7 s4:torture/rpc/samba3rpc.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:52 +02:00
Stefan Metzmacher
733701ae9b s4:libnet/libnet_passwd.c: add explicit check for NTSTATUS r.out.result
metze
2010-03-29 15:35:52 +02:00
Stefan Metzmacher
cd3ae926e7 s4:libnet/libnet_samsync.c: add explicit check for NTSTATUS r.out.result
metze
2010-03-29 15:35:52 +02:00
Stefan Metzmacher
d0efef3f86 s4:libnet/libnet_join.c: add explicit check for NTSTATUS r.out.result
metze
2010-03-29 15:35:51 +02:00