Jeremy Allison
e59a950c04
Fix bug #8005 - smbtorture4 BASE-TCONDEV fails when tested on Samba
...
When pulling non-aligned ucs2 strings, we neglected to add in the
pad byte to the buffer length we've eaten. This caused the device
string in TCONX (which seems to be one of the few places that uses
non-aligned ucs2 strings) to be incorrectly read.
Volker please check.
Jeremy.
2011-03-14 16:12:31 -07:00
Volker Lendecke
8dfa224c13
s3: Change tldap_entry_attributes to the "array,count" convention
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 14 22:02:35 CET 2011 on sn-devel-104
2011-03-14 22:02:35 +01:00
Volker Lendecke
e818090e24
s3: Fix bug 8009 - net rap session cannot get username
...
Looking in [MS-RAP].pdf - these strings are always 4 bytes as an
offset in the rparam area, the string length is the size in the rdata area.
Se we must always return we have consumed 4 param bytes.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Mar 14 20:09:09 CET 2011 on sn-devel-104
2011-03-14 20:09:09 +01:00
Volker Lendecke
746b299ec1
s3: Fix the talloc hierarchy in shadow_copy2_connectpath
...
We have to return on talloc_tos() because we don't have a mem_ctx given to us.
So we have to create a separate temporary talloc context.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 14 19:21:11 CET 2011 on sn-devel-104
2011-03-14 19:21:11 +01:00
Volker Lendecke
43e343be81
s3: This module needs rewriting...
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 14 17:47:32 CET 2011 on sn-devel-104
2011-03-14 17:47:32 +01:00
Stefan Metzmacher
72c1fe0081
librpc/rpc: move DCERPC_ flags to rpc_common.h
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 20:45:53 CET 2011 on sn-devel-104
2011-03-13 20:45:53 +01:00
Stefan Metzmacher
f7840b3293
s3:librpc/rpc: add DCERPC_ANON_FALLBACK flag
...
With this they're in sync with source4.
metze
2011-03-13 19:24:57 +01:00
Stefan Metzmacher
08dca92499
librpc/rpc: move struct dcerpc_binding to rpc_common.h
...
metze
2011-03-13 16:53:05 +01:00
Stefan Metzmacher
7b7baecf1a
s3:librpc/rpc: add target_principal to struct dcerpc_binding
...
This brings the source3 copy in sync with the source4 copy
of struct dcerpc_binding.
metze
2011-03-13 16:52:59 +01:00
Stefan Metzmacher
83c55ac67e
librpc/rpc: move enum dcerpc_transport_t to rpc_common.h
...
metze
2011-03-13 16:33:06 +01:00
Volker Lendecke
51ebaac75b
s3: Enhance error messages in idmap_tdb2_init_hwm
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 13 12:59:37 CET 2011 on sn-devel-104
2011-03-13 12:59:37 +01:00
Volker Lendecke
f84d439ff6
Revert "s3: Fix bug 8009"
...
This reverts commit 1829891391d978e8dd322cdbd3320e30e5c78b72.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 13 10:33:25 CET 2011 on sn-devel-104
2011-03-13 10:33:25 +01:00
Volker Lendecke
1829891391
s3: Fix bug 8009
...
Jeremy, please check!
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Mar 12 11:39:41 CET 2011 on sn-devel-104
2011-03-12 11:39:41 +01:00
Volker Lendecke
70c75b9ddf
s3: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Mar 11 13:15:00 CET 2011 on sn-devel-104
2011-03-11 13:15:00 +01:00
Stefan Metzmacher
b738e092a2
librpc/rpc: move dcerpc_binding_handle stuff to rpc_common.h
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Mar 11 12:28:08 CET 2011 on sn-devel-104
2011-03-11 12:28:08 +01:00
Stefan Metzmacher
5657c96714
s3:librpc/rpc: remove unused dcerpc_pipe define hack
...
metze
2011-03-11 11:02:24 +01:00
Michael Adam
0726b29e59
s3:idmap_ldap: fix a few typos in a comment
...
and use the chance to reformat the comment properly...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Mar 11 01:29:09 CET 2011 on sn-devel-104
2011-03-11 01:29:09 +01:00
Günther Deschner
8953c7dc26
s3-selftest: add another flaky s3-torture test to knownfail, this time OPLOCK4.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Mar 11 00:42:27 CET 2011 on sn-devel-104
2011-03-11 00:42:27 +01:00
Günther Deschner
af2538d16f
s3-build: remove -I../lib/addns.
...
Guenther
2011-03-10 23:25:04 +01:00
Günther Deschner
c8098246be
waf-selftest: allow to call "make test SUBUNIT_FORMATTER=cat".
...
Guenther
2011-03-10 23:25:04 +01:00
Günther Deschner
88ff230ae9
s3-waf: fix typo.
...
Guenther
2011-03-10 23:25:04 +01:00
Günther Deschner
6076f4b472
s3-selftest: run a couple of dgram NBT tests against s3.
...
Guenther
2011-03-10 23:25:03 +01:00
Volker Lendecke
257f0491cb
s3: sid->domain_sid in winbindd_samr sam_rids_to_names
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Mar 10 19:33:47 CET 2011 on sn-devel-104
2011-03-10 19:33:46 +01:00
Volker Lendecke
16b007c223
Quite some callers of sid_split_rid do not care about the rid
2011-03-10 18:48:34 +01:00
Volker Lendecke
8d0e241530
s3: Fix paranoia check in sam_rids_to_names
2011-03-10 18:48:34 +01:00
Günther Deschner
12f2170a2b
s3-selftest: properly move connect to seal options.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar 9 13:13:06 CET 2011 on sn-devel-104
2011-03-09 13:13:06 +01:00
Günther Deschner
286530b3fe
s3-selftest: no point in testing smb2 via ncacn_ip_tcp.
...
Guenther
2011-03-09 12:27:26 +01:00
Günther Deschner
05b447b26f
s3-selftest: remove *ncacn_ip_tcp* from knownfail list.
...
Guenther
2011-03-09 12:27:26 +01:00
Günther Deschner
f0d59bb3cf
s3-rpc_server: handle DCERPC_AUTH_LEVEL_CONNECT in api_pipe_bind_req().
...
Guenther
2011-03-09 12:27:25 +01:00
Volker Lendecke
dec9d03e25
libsmbclient: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 9 11:19:36 CET 2011 on sn-devel-104
2011-03-09 11:19:35 +01:00
Andreas Schneider
fb3e4d2be5
s3-rpc_server: Remove unused _rpc_ep_register.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Mar 9 10:32:32 CET 2011 on sn-devel-104
2011-03-09 10:32:32 +01:00
Andreas Schneider
8df4f4fd41
s3-rpc_server: Use the new endpoint register functions.
2011-03-09 09:28:42 +01:00
Andreas Schneider
71f613e9d5
s3-rpc_server: Add tevent based endpoint setup functions.
2011-03-09 09:28:42 +01:00
Andreas Schneider
133ed1cc64
s3-rpc_server: Change irritating debug message.
2011-03-09 09:28:42 +01:00
Andreas Schneider
038042363a
s3-rpc_client: Don't ask endpoint mapper for its own port.
2011-03-09 09:28:42 +01:00
Andreas Schneider
b181cd8465
s3-smbd: Increase debug level von context messages.
2011-03-09 09:28:42 +01:00
Volker Lendecke
c4b52fbc46
s3: Use talloc_tos() in idmap_nss_sids_to_unixids
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Mar 8 21:51:58 CET 2011 on sn-devel-104
2011-03-08 21:51:58 +01:00
Volker Lendecke
a3ef79b6cf
s3: "dom_name" is not needed in idmap_nss_sids_to_unixids
2011-03-08 21:04:32 +01:00
Volker Lendecke
8cda1d9797
s3: "ctx" is not needed in idmap_nss_unixids_to_sids
2011-03-08 21:04:32 +01:00
Günther Deschner
a200bac093
s3-selftest: only run smbtorture4 tests when smbtorture4 is available.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 8 14:51:18 CET 2011 on sn-devel-104
2011-03-08 14:51:18 +01:00
Günther Deschner
1605563b14
s3-selftest: add pattern test of dcerpc binding options (using rpc.lsa.lookupsids).
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 8 12:29:21 CET 2011 on sn-devel-104
2011-03-08 12:29:21 +01:00
Günther Deschner
12f10a9182
s3-waf: fix the build.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Günther Deschner
19117db52c
s3-epmd: remove some unused variables.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Günther Deschner
d92e060dd9
s3-epmap: fix uninitialized variable in ep_register()
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Günther Deschner
b7c692bae7
s3-selftest: no need to run rpc.samba3.netlogon twice.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Andreas Schneider
794e0f5f0c
s3-rpc_server: Added IPv6 support for epmapper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Andreas Schneider
a955c53843
s3-rpc_server: Free unused memory.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Andreas Schneider
bb201fac2b
s3-winbind: Fixed the accept() for new_connection.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Andreas Schneider
69a9b9b8d0
s3-rpc_server: Fixed the accept() for ncalrpc_listener.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Andreas Schneider
07e8904a5b
s3-rpc_server: Fixed the accept() for tcpip_listener.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:30 +01:00