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 be396411a4e1f3a174f8a44b6c062d834135e70a)
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
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
4507d2b9eb
s3:rpc_server/netlogon: add _netr_LogonSamLogon_check()
...
We need to check for invalid parameters before we check for
access denied.
metze
2011-02-02 11:58:26 +01:00
Jeremy Allison
3d4a9ddc24
Based on a conversation with Volker, refactor some of the oplock code to make it comprehensible.
...
delay_for_oplocks() did 4 things.
1). Validation of existing oplock types.
2). Check for compatibility with batch oplocks (pass 1).
3). Check for compatibility with exclusive oplocks (pass 2).
4). Set the correct oplock type from the requested value.
Refactor into 4 separate functions:
1). find_oplock_types() - does validation of oplock types and
returns pointers to specific values.
2). delay_for_batch_oplocks() - the pass 1 phase above.
3). delay_for_exclusive_oplocks() - the pass 2 phase above
4). grant_fsp_oplock_type() - Set the correct oplock type from the requested value.
Now separated out this code should be much easier to understand
and modify. This also fixes an erroneous SMB_ASSERT which was
hidden by the previous complexity of the single delay_for_oplocks()
code.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 2 01:52:21 CET 2011 on sn-devel-104
2011-02-02 01:52:21 +01:00
Günther Deschner
a19c1cbb8d
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_list.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 00:21:19 CET 2011 on sn-devel-104
2011-02-02 00:21:19 +01:00
Günther Deschner
c7b1432b6e
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
95ee07d8ab
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
49f08d1d7c
s3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
37f2f518be
s3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
bf10bbc074
s3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
20edb2d48b
s3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
2a63433e94
s3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
d280a52fdd
s3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
84e3d14f7a
s3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
b9b2325f45
s3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.
...
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
55e042a4f2
s3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.
...
Guenther
2011-02-01 23:29:13 +01:00