Günther Deschner
fcaba0fb59
s3-libsmb: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:23 +01:00
Günther Deschner
95cf60a2e5
s3-libnet: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:16 +01:00
Günther Deschner
e32b50894b
s3-libnetapi: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:09 +01:00
Günther Deschner
ee5de71796
s3-waf: remove RPCCLI_SAMR subsystem.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 18:54:38 CET 2011 on sn-devel-104
2011-02-02 18:54:38 +01:00
Günther Deschner
364ef35afd
s3-build: remove RPCCLI_SAMR subsytem.
...
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
50170d7fd5
s3-net: prefer dcerpc_samr_X functions in net_rpc_join_newstyle.
...
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
b53c0c8c85
s3-net: use status variable in net_rpc_join_newstyle.
...
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
175fbe0bfc
s3-waf: fix the build after libnet changes.
...
Guenther
2011-02-02 18:11:19 +01:00
Volker Lendecke
d038b45948
s3: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 2 18:10:45 CET 2011 on sn-devel-104
2011-02-02 18:10:45 +01:00
Günther Deschner
62048fa95c
s3-waf: fix the build after epmapper changes.
...
Andreas, please check.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 17:14:40 CET 2011 on sn-devel-104
2011-02-02 17:14:40 +01:00
Stefan Metzmacher
8ddfe78a5f
s3-dssync-passdb: implement accounts, aliases and groups
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Feb 2 16:30:26 CET 2011 on sn-devel-104
2011-02-02 16:30:26 +01:00
Günther Deschner
6e0498d0e2
s3-dssync-passdb: fill in passdb_process_objects
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-02 15:45:20 +01:00
Günther Deschner
41ba1d3a1c
s3-dssync-passdb: fill in passdb_finish.
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-02 15:45:20 +01:00
Günther Deschner
1f884cfbcb
s3-dssync-passdb: fill in passdb_startup.
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-02 15:45:20 +01:00
Günther Deschner
91e6dad749
s3-dssync-passdb: add basic routines and net function.
...
Guenther
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
1c1aebae82
s3:net: make some net_rpc_samsync.c functions static
...
metze
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
0313969aed
s3:net: "net rpc vampire" is an alias for "net rpc vampire passdb"
...
The should use exactly the same code path for both.
metze
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
bf7a27c397
s3:libnet: add 'process_links' to dssync_ops
...
This allows the backend to handle linked attributes.
metze
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
cecf54b32b
s3:groupdb: allow machine accounts as members.
...
metze
2011-02-02 15:45:19 +01:00
Stefan Metzmacher
255f2e0699
s3:winbindd: catch lookup_names/sids schannel errors over ncacn_ip_tcp (bug #7944 )
...
If winbindd connects to a domain controller it doesn't establish the lsa
connection over ncacn_ip_tcp direct. This happens only on demand.
If someone does a 'net rpc testjoin' and then a
wbinfo -n DOMAIN\\administrator, we'll get DCERPC faults with
ACCESS_DENIED/SEC_PKG_ERROR, because winbindd's in memory copy
of the schannel session key is invalidated.
This problem can also happen on other calls, but the
lookup_names/sids calls on thet lsa ncacn_ip_tcp connection
are the most important ones.
The long term fix is to store the schannel client state in a
tdb, but for now it's enough to catch the error and invalidate
the all connections to the dc and reestablish the schannel
session key.
The fix for bug 7568 (commit be396411a4
)
made this worse, as it assumes winbindd's in memory session key is
always the current one.
metze
2011-02-02 15:45:19 +01:00
Günther Deschner
50be0b2c1e
s3: Remove superfluous ;
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 15:44:21 CET 2011 on sn-devel-104
2011-02-02 15:44:21 +01:00
Günther Deschner
3bdd2efff8
nsswitch: remove unused code from wbinfo.c
...
Guenther
2011-02-02 14:59:19 +01:00
Volker Lendecke
a62d67e639
s3: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 2 14:58:52 CET 2011 on sn-devel-104
2011-02-02 14:58:52 +01:00
Günther Deschner
e026685b7c
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_msrpc.c.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 14:14:43 CET 2011 on sn-devel-104
2011-02-02 14:14:43 +01:00
Günther Deschner
6c20ba3f97
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_pam.c.
...
Guenther
2011-02-02 13:30:04 +01:00
Günther Deschner
924f60c77c
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_rpc.c.
...
Guenther
2011-02-02 13:30:04 +01:00
Günther Deschner
58cdc56acc
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_samr.c.
...
Guenther
2011-02-02 13:30:04 +01:00
Günther Deschner
f21f9192f1
s3-winbind: prefer dcerpc_samr_X functions in invalidate_cm_connection.
...
Guenther
2011-02-02 13:30:04 +01:00
Günther Deschner
39c6809eeb
s3-winbind: prefer dcerpc_samr_X functions in cm_connect_sam.
...
Guenther
2011-02-02 13:30:04 +01:00
Günther Deschner
02a8e1e490
s3-winbind: use status variable name in cm_connect_sam.
...
Guenther
2011-02-02 13:30:04 +01:00
Andreas Schneider
5aae1f462e
s3-selftest: Enable RPC-EPMAPPER tests.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb 2 13:28:41 CET 2011 on sn-devel-104
2011-02-02 13:28:41 +01:00
Andreas Schneider
d0d5d59943
s3-smbd: Disable the endpoint mapper by default.
2011-02-02 12:44:20 +01:00
Andreas Schneider
e3bdfd2d46
s3-smbd: Added a function to setup rpc services.
...
Move the complete setup of the rpc service to its own file and use
callbacks to register at the endpoint mapper.
2011-02-02 12:44:20 +01:00
Andreas Schneider
612060d677
s3-rpc_server: Only allow registering endpoints on priviledged pipes.
2011-02-02 12:44:20 +01:00
Andreas Schneider
31779662b7
s3-librpc: Added dcerpc_binding_vector_create function.
2011-02-02 12:44:20 +01:00
Andreas Schneider
20afe97177
s3-librpc: Added dcerpc register endpoint functions.
2011-02-02 12:44:20 +01:00
Andreas Schneider
bd5d14e6fa
s3-epmapper: Commented unimplemented functions.
2011-02-02 12:44:20 +01:00
Andreas Schneider
c451a454b3
s3-epmapper: Improved the epm_Map function.
2011-02-02 12:44:20 +01:00
Andreas Schneider
1d33f5c6d6
s3-epmapper: Implemented epm_Lookup.
2011-02-02 12:44:20 +01:00
Andreas Schneider
5b93e06e6c
s3-epmapper: Implemented epm_LookupHandleFree.
2011-02-02 12:44:20 +01:00
Andreas Schneider
3584dd18df
s3-epmapper: Added arg to match uuid in build_ep_list().
2011-02-02 12:44:20 +01:00
Andreas Schneider
658c05b939
s3-epmapper: Added epm_Map function from Samba4.
2011-02-02 12:44:20 +01:00
Andreas Schneider
6747b89b3c
s3-epmapper: Added epm_Delete function.
2011-02-02 12:44:20 +01:00
Andreas Schneider
c31ee9a152
s3-epmapper: Added epm_Insert function.
2011-02-02 12:44:20 +01:00
Andreas Schneider
84995397a7
s3-epmapper: Added a endpoint mapper skeleton.
2011-02-02 12:44:20 +01:00
Stefan Metzmacher
eca7292aec
s4:torture/rpc/netlogon: add invalid level tests for netr_LogonControl2
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Feb 2 12:43:32 CET 2011 on sn-devel-104
2011-02-02 12:43:32 +01:00
Stefan Metzmacher
1f9caef362
s4:torture/rpc/netlogon: improve comments in test_LogonControl2()
...
metze
2011-02-02 11:58:26 +01:00
Stefan Metzmacher
89dd048bdf
s4:torture/rpc/netlogon: test invalid netr_LogonControl() level
...
metze
2011-02-02 11:58:26 +01:00
Stefan Metzmacher
d3e4d90d41
s4:torture/rpc/netlogon: test invalid LogonSamLogon levels
...
This proves that the invalid parameter/info class checks
need to be done before the credential chain checks.
metze
2011-02-02 11:58:26 +01:00
Stefan Metzmacher
e9807916af
s4:torture/rpc/netlogon: test validation levels 2 and 3
...
metze
2011-02-02 11:58:26 +01:00