Andrew Bartlett
e7d5f0a357
gensec: move event context from gensec_*_init() to gensec_update()
...
This avoids keeping the event context around on a the gensec_security
context structure long term.
In the Samba3 server, the event context we either supply is a NULL
pointer as no server-side modules currently use the event context.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-18 13:13:33 +11:00
Andrew Bartlett
3cdb1fe440
s4-messaging: Pass the loadparm context, not just the messaging path
...
This will allow the TDB layer to get at the lp_ctx for tdb options.
Andrew Bartlett
2011-10-13 14:06:07 +02:00
Andrew Bartlett
b21b012756
lib/param move source4 param code to the top level
...
This is done so that the lpcfg_ functions are available across the whole
build, either with the struct loadparm_context loaded from an smb.conf directly
or as a wrapper around the source3 param code.
This is not the final, merged loadparm, but simply one step to make
it easier to solve other problems while we make our slow progress
on this difficult problem.
Andrew Bartlett
2011-10-11 13:41:34 +11:00
Andrew Tridgell
57e30bc0cb
dns: build python bindings for dnsserver RPC protocol
2011-10-04 15:08:56 +11:00
Andrew Tridgell
3e685f5995
s4-rpc: show binding string in failed rpc binds
...
this makes debugging some RPC auth issues easier
2011-09-22 10:00:49 +10:00
Stefan Metzmacher
afabf12251
s4:librpc/rpc: return NT_STATUS_CONNECTION_DISCONNECTED
...
We should return the same in all places.
metze
2011-09-14 18:03:18 +02:00
Andrew Bartlett
8c33036a37
s4-subdomain more work on sub-domain join
...
we can now create a subdomain of an existing windows domain using:
samba-tool domain join sub.domain.dns.name subdomain
The ordering of the creation of the key records is quite tricky,
especially for the NTDSDSA object
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-09-13 15:38:02 +10:00
Jelmer Vernooij
df1d3dc777
s4-python: Consistently use spaces rather than tabs, fix headers in several places.
2011-09-13 02:24:03 +02:00
Stefan Metzmacher
b9cc4dd088
s4:librpc: rpc_common.h was move to dcerpc-binding
...
metze
2011-09-06 15:22:19 +02:00
Andrew Bartlett
c8f13dab6b
build: Add dcerpc-binding to dcerpc.pc
...
This will help projects like OpenChange that depend on
this code, now that it has been split between two libraries.
Andrew Bartlett
2011-08-26 14:06:07 +02:00
Amitay Isaacs
c71e781e7d
py_security: Fix comparison between two dom_sid objects
...
dom_sid_compare() function can return values other than -1, 0, 1.
Python requires compare function to return value from [-1, 0, 1].
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-19 16:35:03 +10:00
Jelmer Vernooij
292fe74971
credentials: Rename library to samba-credentials to avoid name clashes.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
2011-08-18 22:16:38 +02:00
Jelmer Vernooij
9ee1e1f0ac
cli-raw: Add public libsmbclient-raw library.
2011-08-18 14:19:18 +02:00
Simo Sorce
4a8fdc3958
s4:librpc: use tevent_ fn names instead of legacy event_ ones
2011-08-13 09:54:15 -04:00
Jelmer Vernooij
f8ec7f6cb1
pytalloc: Use consistent prefix for functions, add ABI file.
2011-08-10 15:36:21 +02:00
Andrew Bartlett
dd49eb87ce
build: rename rpcommon to dcerpc-binding an make a public library
...
OpenChange needs this library.
Andrew Bartlett
2011-08-08 13:34:06 +02:00
Andrew Bartlett
af5f494bd2
build: provide tevent-util as a public library
...
This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced
by generated PIDL output.
Andrew Bartlett
2011-08-08 13:34:06 +02:00
Andreas Schneider
68e7b9307a
s4-librpc: Fix double free.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Aug 4 12:31:18 CEST 2011 on sn-devel-104
2011-08-04 12:31:18 +02:00
Andrew Bartlett
d3fe48ba48
gensec: Remove mem_ctx from calls that do not return memory
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-03 18:48:01 +10:00
Stefan Metzmacher
695af0f6ed
winsif.idl: fix comment about a pidl bug
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Aug 1 17:47:05 CEST 2011 on sn-devel-104
2011-08-01 17:47:05 +02:00
Jelmer Vernooij
7524413751
cli_raw: Make name lowercase.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jul 23 23:20:51 CEST 2011 on sn-devel-104
2011-07-23 23:20:51 +02:00
Andrew Bartlett
77c612fc21
s4-librpc Remove unsued server_id4.idl
2011-06-10 03:27:20 +02:00
Andrew Bartlett
a772797a38
librpc/idr Use the Samba3 notify.idl in common.
...
The extra fields in the structure that Samba4 does not use should not
bother it.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09 12:40:08 +02:00
Andrew Bartlett
d057116cc2
server_id.idl: Bring server_id.idl in common
...
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09 12:40:08 +02:00
Andrew Bartlett
8d803d5a0a
s4-cluster Use task_id instead of id2 to clarify server_id structure
...
This seems a clearer and more acceptable name.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-09 12:40:08 +02:00
Matthias Dieter Wallnöfer
7ebafb000a
s4:librpc/rpc/dcerpc.c - janitorial: use "void" for functions without arguments
...
Probably a mistake in commit 907cdb5de7f16a2540299aeba211bf2a5ae6fafe.
Reviewed-by: Tridge
2011-06-09 09:35:08 +02:00
Andrew Bartlett
907cdb5de7
s4-modules Remove lp_ctx from init functions that no longer need it
...
Now that we don't allow the smb.conf to change the modules dir, many
functions that simply load modules or initialise a subsytem that may
load modules no longer need an lp_ctx.
Andrew Bartlett
2011-06-06 17:37:51 +10:00
Andrew Tridgell
66aec3cf67
s4-ipv6: removed the old unused ipv6 code in dcerpc_sock.c
...
the code is now generic to both V4 and V6
2011-06-06 12:26:11 +10:00
Andrew Tridgell
5d2dbf93b3
s4-ipv6: allow for IPv6 in dcerpc socket calls
2011-06-06 12:26:11 +10:00
Andrew Bartlett
14f99167f6
build: Remove --disable-s3build so we can rely on these subsystems
...
This will make it easier to write code that uses the whole codebase.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
2011-05-09 12:25:33 +02:00
Andrew Bartlett
cdd802af83
s4-messaging Rename messaging -> imessaging
...
This avoid symbol and structure conflicts between Samba3 and Samba4,
and chooses a less generic name.
Andrew Bartlett
2011-05-03 07:37:07 +02:00
Andrew Bartlett
4c8de5ab13
s4-cluster Rename server_id.node -> vnn to match Samba3
2011-05-03 07:37:07 +02:00
Andrew Bartlett
85eb4377db
s4:cluster Rename .id to .pid in server_id
...
This also changes some DEBUG messages to use cluster_id_string()
rather than .id, to isolate them from this and other changes.
Andrew Bartlett
2011-05-03 07:37:06 +02:00
Stefan Metzmacher
578cbf1139
s4:libcli/smb2: convert smb2_connect_*() to tevent_req
...
metze
2011-04-28 20:35:49 +02:00
Andrew Bartlett
663dc94e63
auth: Move auth_session_info into IDL
...
This changes auth_session_info_transport to just be a wrapper, rather
than a copy that has to be kept in sync.
As auth_session_info was already wrapped in python, this required
changes to the existing pyauth wrapper and it's users.
Andrew Bartlett
2011-04-05 23:46:04 +02:00
Günther Deschner
b903c28939
librpc: bring more librpc prototypes in common.
...
Guenther
2011-03-23 23:59:11 +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
c1a2fd1cd1
s4:librpc/rpc: finaly make struct rpc_request and enum rpc_request_state private
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 17:46:02 CET 2011 on sn-devel-104
2011-03-13 17:46:02 +01:00
Stefan Metzmacher
81063f9a26
s4:librpc/rpc: remove unused dcerpc_request()
...
metze
2011-03-13 17:01:00 +01:00
Stefan Metzmacher
f8030ec080
s4:librpc/rpc: make dcerpc_request_recv() static
...
metze
2011-03-13 17:00:59 +01:00
Stefan Metzmacher
26351bf480
s4:pyrpc: use dcerpc_binding_handle_raw_call() instead of dcerpc_request()
...
metze
2011-03-13 16:53:16 +01:00
Stefan Metzmacher
fa0f0c2107
s4:pyrpc: fix memory leaks in error pathes
...
metze
2011-03-13 16:53:06 +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
83c55ac67e
librpc/rpc: move enum dcerpc_transport_t to rpc_common.h
...
metze
2011-03-13 16:33:06 +01:00
Stefan Metzmacher
b0d54da746
s4:librpc/rpc: s/dcerpc_security/dcecli_security
...
We'll use 'dcerpc_security' for the generic dcerpc
client and server code.
metze
2011-03-13 16:33:06 +01:00
Stefan Metzmacher
4d4c6315fa
s4:librpc/rpc: remove unused dcerpc_ndr_request* code
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Mar 13 11:19:59 CET 2011 on sn-devel-104
2011-03-13 11:19:59 +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
c774a50aaf
s4:librpc/rpc: s/struct dcerpc_connection/struct dcecli_connection/g
...
The name 'struct dcerpc_connection' will be used in the new generic
dcerpc code. It will be used for client and server.
metze
2011-03-11 11:02:23 +01:00
Andrew Tridgell
5ec284d152
build: moved librpc/rpc/*.c into a rpccommon library
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
2011-02-24 02:42:37 +01:00
Stefan Metzmacher
67004581e6
s4:librpc: let dcerpc-samr library use RPC_NDR_SAMR subsystem
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb 22 21:51:43 CET 2011 on sn-devel-104
2011-02-22 21:51:43 +01:00