summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-09-07s4-ldapserver: serialise ldap server operationsAndrew Tridgell2-0/+60
This ensures that two ldap server operations cannot happen in parallel by using packet_recv_disable() and packet_recv_enable() to disable other interfaces during ldap calls. This prevents problems caused by parallel ldap operations where transactions could overlap.
2010-09-07s4-packet: make packet_recv_disable() a lot more efficientAndrew Tridgell1-2/+6
this avoids doing an epoll system call when we want to prevent receipt of packets on a socket, unless there actually is a packet to receive.
2010-09-07s4-process: fixed the thread process model so it compilesAndrew Tridgell1-1/+2
it doesn't actually work, but at least it now compiles
2010-09-07Add unique IP address binding for client connections (EPM and ncacn_ip_tcp ↵Julien Kerihuel6-7/+34
levels) This allows for binding strings like this: ncacn_ip_tcp:host[localaddress=192.168.2.1,seal] which will force the connection to be locally bound to the specified IP address Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-05s4-test: refactor API-DELETEUSER test a little to:Kamen Mazdrashki1-29/+23
- fail torture_context in case libnet_DeleteUser() has failed - make use of torture_assert_* macros to track down where failur occured - use only one memory context internally
2010-09-05s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitionsKamen Mazdrashki2-4/+2
Sorry for the 'custom' definition first time
2010-09-05upgradeprovision: avoid working with None objects ...Matthieu Patou1-9/+10
2010-09-05upgradeprovision: do not try to remove/change attribute before the RID Set ↵Matthieu Patou1-6/+28
object is present
2010-09-05upgradeprovision: cleanupMatthieu Patou1-2/+2
2010-09-05s4 upgradeprovision: add dns_update_list if missingMatthieu Patou1-0/+4
2010-09-05python-ldb: allow ldb_rename to take optional control(s)Matthieu Patou1-4/+50
2010-09-05dsdb: make the ATTRIBUTE NOT FOUND more clearMatthieu Patou2-0/+5
2010-09-05s4/selftest: Fix path to include/config.h, set BUILDDIR automatically.Jelmer Vernooij1-1/+4
2010-09-05dsgetinfo: Set modulesdir when using ldb without ldb_wrapJelmer Vernooij1-0/+3
(Is there a particular reason we're not using ldb_wrap here?)
2010-09-04testr: Fix configuration to use idfile, in case more than a couple ofJelmer Vernooij1-2/+2
hundred tests fail.
2010-09-04ldb: Add missing aliases for ldb_ildap.Jelmer Vernooij1-0/+1
2010-09-04dsdb: Add missing dependencies for dsdb ldb modules.Jelmer Vernooij1-2/+2
2010-09-04librpc/rpc: add dcerpc_binding_handle_set_timeout()Stefan Metzmacher1-0/+3
metze
2010-09-04s4:lib/messaging: implement irpc_bh_set_timeoutStefan Metzmacher1-1/+19
metze
2010-09-04s4:librpc/rpc: implement dcerpc_bh_set_timeout()Stefan Metzmacher1-0/+18
metze
2010-09-04librpc/rpc: add set_timeout() to dcerpc_binding_handle_opsStefan Metzmacher1-0/+2
metze
2010-09-04torture-lsa: cope with STATUS_SOME_UNMAPPED errorsAndrew Tridgell1-15/+50
Now that we support SePrintOperatorPrivilege, an interaction between the spoolss tests and the privileges tests cause a failure. The failure happens like this: - the spoolss.access test creates and then deletes an account with SePrintOperatorPrivilege privilege - this leaves the privileges database with an entry for a deleted account that is still visible via LSA calls. This is correct behaviour (verified against w2k8r2) - the lsa.privileges test then enumerates all accounts that have at least one privilege, and gets the SID for the deleted account - it then called LookupNames and LookupSids on this deleted account, and gets an error. The fix is to not call LookupSids and LookupNames on sids which have SID_NAME_UNKNOWN as the type Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-03s4:lib/messaging: make irpc_request private and remove unused codeStefan Metzmacher2-190/+14
metze
2010-09-03s4:libcli/composite: remove unused composite_continue_irpc()Stefan Metzmacher2-16/+0
metze
2010-09-03s4:lib/messaging/tests: make use of irpc_binding_handle()Stefan Metzmacher1-22/+49
metze
2010-09-03s4:lib/messaging: use irpc_binding_handle() for python bindingsStefan Metzmacher1-13/+57
metze
2010-09-03s4:wrepl_server: use irpc_binding_handle_by_name() in ↵Stefan Metzmacher1-18/+23
wreplsrv_scavenging_replica_active_records() metze
2010-09-03s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_release_demand()Stefan Metzmacher1-16/+20
metze
2010-09-03s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_challenge()Stefan Metzmacher2-42/+45
metze
2010-09-03s4:auth_winbind: use irpc_binding_handle_by_name()Stefan Metzmacher2-8/+8
metze
2010-09-03s4:libcli/wbclient: use irpc_binding_handle_by_name()Stefan Metzmacher4-54/+44
metze
2010-09-03s4:rpc_server/netlogon: use irpc_binding_handle_by_name()Stefan Metzmacher2-8/+11
metze
2010-09-03s4:smbd/service_task: use irpc_binding_handle_by_name()Stefan Metzmacher2-7/+6
metze
2010-09-03s4:dsdb/kcc: use irpc_binding_handle_by_name()Stefan Metzmacher2-7/+40
metze
2010-09-03s4:libcli/finddcs: use irpc_binding_handle_by_name()Stefan Metzmacher2-20/+22
metze
2010-09-03s4:rpc_server/common: use irpc_binding_handle_by_name() in ↵Stefan Metzmacher1-16/+25
dcesrv_irpc_forward_rpc_call() metze
2010-09-03s4:lib/messaging: add irpc_binding_handle_by_name() helper functionStefan Metzmacher2-0/+36
metze
2010-09-03s4:lib/messaging: add irpc dcerpc_binding_handle backendStefan Metzmacher3-1/+289
metze
2010-09-03s4:lib/messaging: move messaging prototypes from irpc.h to messaging.hStefan Metzmacher2-28/+25
metze
2010-09-03s4:lib/messaging/tests: fix some compiler warningsStefan Metzmacher1-2/+2
metze
2010-09-03s4:auth_winbind: remove unused winbind_samba3 backendStefan Metzmacher2-122/+1
This uses the winbind protocol directly, which needs to be avoided! metze
2010-09-03s4:auth_winbind: fix segfault in winbind_check_password_wbclient()Stefan Metzmacher1-1/+5
We should only look at err if WBC_ERR_AUTH_ERROR is returned. metze
2010-09-03s4:auth_winbind: fix compiler warningsStefan Metzmacher1-4/+11
metze
2010-09-03s4-drs: A quick fix for DRSUAPI_EXOP_FSMO_RID_ALLOC extended_op handlingKamen Mazdrashki1-0/+9
When DRSUAPI_EXOP_FSMO_RID_ALLOC extended op is handled in DsGetNCChanges() stub, we need to returned a well know set of object - see: [ms-adts], 3.1.1.5.1.7 With this hack we are going to return just objects modified during RID allocation procedure - i.e. "RID Manager$", "RID Set" for computer object and computer object itself. Which is a close approximation of what we are expected to return.
2010-09-03s4-dreplsrv: Refactor drepl_replica_sync() to behave as described in MS-DRSRKamen Mazdrashki1-8/+111
see: MS-DRSR - 4.1.23.2 Note: Synchronious replication not implemented yet.
2010-09-03s4-dreplsrv: Helpers to locate source DSA in a partition by GUID or DNS nameKamen Mazdrashki1-0/+40
2010-09-03s4-dreplsrv: Helper to find NC by DN or GUID or SIDKamen Mazdrashki1-0/+33
2010-09-03s4-dreplsrv: Add caller-specific data parameter for dreplsrv_fsmo_callback_tKamen Mazdrashki3-7/+14
It is to be used when we need to preserve a state to be used in tha callback when dreplsrv_out_operation is completed
2010-09-03pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij7-231/+246
2010-09-02s4-resolve: added resolve_name_ex_send()Andrew Tridgell1-8/+33
this allows access to the flags that control name resolution Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>