Günther Deschner
4a4efc20b4
s3-rpc_server: remove two uneeded include registry/reg_parse_prs.h
...
Guenther
2011-03-24 23:08:22 +01:00
Simo Sorce
72bd60b2fe
s3-epmapper: fix vars init and return errors
...
Properly initialize variables at each cycle.
Convert to the right error when returning EPMAPPER ones.
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Thu Mar 24 20:43:49 CET 2011 on sn-devel-104
2011-03-24 20:43:49 +01:00
Simo Sorce
dbe957e48f
s3-epmapper: Fix allocation of data on the wrong context
...
p->mem_ctx is the short-lived per request context, while this data is long
lived, allocate on p instead.
2011-03-24 14:57:12 -04:00
Andreas Schneider
5ebf007233
s3-epmapper: Make sure we work on a description duplicate.
2011-03-24 14:57:12 -04:00
Andreas Schneider
e8912b9ad3
s3-epmapper: Refactor the cleanup of endpoints.
2011-03-24 14:57:12 -04:00
Andreas Schneider
fd89e29e7e
s3-epmapper: Use strcmp instead of strequal and check IPv6.
2011-03-24 14:57:12 -04:00
Andreas Schneider
bf1e330f69
s3-epmapper: Increase debug levels.
2011-03-24 14:57:11 -04:00
Andrew Tridgell
15e84a9a09
charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
...
we shouldn't accept bad multi-byte strings, it just hides problems
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24 01:47:26 +01:00
Andreas Schneider
7f1fd07fbe
s3-epmapper: Log error if we can't register the endpoint.
...
Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Wed Mar 23 18:06:54 CET 2011 on sn-devel-104
2011-03-23 18:06:54 +01:00
Andreas Schneider
b38517bbdc
s3-epmapper: Setup epm in smbd to forward np requests.
2011-03-23 17:19:22 +01:00
Andreas Schneider
73e985fe4b
s3-epmapper: Remove unregister on shutdown.
...
This is done automatically now.
2011-03-23 17:19:22 +01:00
Andreas Schneider
da1a18cd03
s3-epmd: Cleanup endpoints on service pipe disconnect.
2011-03-23 17:19:22 +01:00
Andreas Schneider
0d97741b9b
s3-epmapper: Added function to delete endpoint entries.
2011-03-23 17:19:22 +01:00
Andreas Schneider
e69d922367
s3-rpc_server: Added disconnect callback function.
2011-03-23 17:19:22 +01:00
Andreas Schneider
044eabe425
s3-rpc_server: Rename req to subreq.
2011-03-23 17:19:22 +01:00
Andreas Schneider
73faa82bf9
s3-rpc_server: Implement an endpoint monitor loop.
2011-03-23 17:19:22 +01:00
Andreas Schneider
b2bdc20f65
s3-rpc_server: Added a memory context to the ep regsiter state.
2011-03-23 17:19:22 +01:00
Andreas Schneider
81a2046879
s3-librpc: Leave the epm registration connection open.
2011-03-23 17:19:22 +01:00
Andreas Schneider
d6a1469f43
s3-epmd: Cleanup endpoint mapper correctly.
2011-03-23 17:19:22 +01:00
Andreas Schneider
de775244a9
s3-epmapper: Shutdown the embedded epmapper cleanly.
2011-03-23 17:19:22 +01:00
Andreas Schneider
661ac49794
s3-epmapper: Added a cleanup function.
2011-03-23 17:19:22 +01:00
Andreas Schneider
da718a5961
s3-epmapper: Use DCERPC_AUTH_LEVEL_CONNECT for ep ncalrpc.
2011-03-23 17:19:22 +01:00
Andreas Schneider
3766f3ec0e
s3-rpc_server: Rename system_user to ncalrpc_as_system.
2011-03-23 17:19:22 +01:00
Volker Lendecke
cfa8b36632
s3: Fix Coverity ID 2201, NULL_RETURNS
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 23 13:06:20 CET 2011 on sn-devel-104
2011-03-23 13:06:20 +01:00
Volker Lendecke
4b347a1b17
s3: Add "print notify backchannel" parameter to prevent us doing the reverse print notify connection.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Mar 18 21:34:30 CET 2011 on sn-devel-104
2011-03-18 21:34:30 +01:00
Volker Lendecke
37870e28ab
s3: Fix Coverity ID 2233, REVERSE_INULL
...
We have dereferenced h already in dcerpc_lsa_open_policy2 in line 425
2011-03-16 22:07:24 +01:00
Volker Lendecke
dacb392db6
s3: Fix Coverity ID 2234: REVERSE_INULL
...
We have dereferenced "b" already in dcerpc_samr_Connect2 in line 521
2011-03-16 22:07:24 +01:00
Volker Lendecke
a7a638c3cf
s3: Fix Coverity ID 2213, PASS_BY_VALUE
...
There's little point to pass a copy of this structure on the stack.
Günther, please check!
2011-03-16 21:14:58 +01:00
Volker Lendecke
a282455978
s3: Fix Coverity ID 1012, CHECKED_RETURN
...
This is probably more or less taste. Removing the necessity for a comment is a
good thing though IMO.
2011-03-16 21:14:58 +01:00
Volker Lendecke
9c9ed33cb7
s3: Fix Coverity ID 1013, CHECKED_RETURN
...
This is probably more or less taste. Removing the necessity for a comment is a
good thing though IMO.
2011-03-16 21:14:58 +01:00
Volker Lendecke
3835d77795
s3: Fix Coverity ID 1017, CHECKED_RETURN
...
Günther, please check!
2011-03-16 21:14:58 +01:00
Volker Lendecke
df79b3ba76
s3: Fix Coverity ID 2317: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-16 18:08:51 +01:00
Volker Lendecke
329fcd4e34
s3: Fix Coverity ID 2318: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-16 18:08:51 +01:00
Günther Deschner
1ce4d2d83a
s3-msdfs: avoid global inclusion of msdfs.h.
...
Guenther
2011-03-16 16:56:46 +01:00
Volker Lendecke
f0d491205c
s3: Fix Coverity ID 2279: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:46 +01:00
Volker Lendecke
6b584e0e9a
s3: Fix Coverity ID 2281: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:45 +01:00
Volker Lendecke
b753b0ab82
s3: Fix Coverity ID 2283: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_OpenKey.
2011-03-15 11:10:45 +01:00
Volker Lendecke
2992ccfe9c
s3: Fix Coverity ID 2284: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteValue.
2011-03-15 11:10:45 +01:00
Volker Lendecke
2b26c86fe6
s3: Fix Coverity ID 2285: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteValue.
2011-03-15 11:10:45 +01:00
Volker Lendecke
c09877113d
s3: Fix Coverity ID 2286: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:44 +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
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
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
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
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