summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4-ldapserver: serialise ldap server operationsAndrew Tridgell2010-09-072-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.
* s4-packet: make packet_recv_disable() a lot more efficientAndrew Tridgell2010-09-071-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.
* s4-process: fixed the thread process model so it compilesAndrew Tridgell2010-09-071-1/+2
| | | | it doesn't actually work, but at least it now compiles
* Add unique IP address binding for client connections (EPM and ncacn_ip_tcp ↵Julien Kerihuel2010-09-076-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>
* s4-test: refactor API-DELETEUSER test a little to:Kamen Mazdrashki2010-09-051-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
* s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitionsKamen Mazdrashki2010-09-052-4/+2
| | | | Sorry for the 'custom' definition first time
* upgradeprovision: avoid working with None objects ...Matthieu Patou2010-09-051-9/+10
|
* upgradeprovision: do not try to remove/change attribute before the RID Set ↵Matthieu Patou2010-09-051-6/+28
| | | | object is present
* upgradeprovision: cleanupMatthieu Patou2010-09-051-2/+2
|
* s4 upgradeprovision: add dns_update_list if missingMatthieu Patou2010-09-051-0/+4
|
* python-ldb: allow ldb_rename to take optional control(s)Matthieu Patou2010-09-051-4/+50
|
* dsdb: make the ATTRIBUTE NOT FOUND more clearMatthieu Patou2010-09-052-0/+5
|
* s4/selftest: Fix path to include/config.h, set BUILDDIR automatically.Jelmer Vernooij2010-09-051-1/+4
|
* dsgetinfo: Set modulesdir when using ldb without ldb_wrapJelmer Vernooij2010-09-051-0/+3
| | | | (Is there a particular reason we're not using ldb_wrap here?)
* testr: Fix configuration to use idfile, in case more than a couple ofJelmer Vernooij2010-09-041-2/+2
| | | | hundred tests fail.
* ldb: Add missing aliases for ldb_ildap.Jelmer Vernooij2010-09-041-0/+1
|
* dsdb: Add missing dependencies for dsdb ldb modules.Jelmer Vernooij2010-09-041-2/+2
|
* librpc/rpc: add dcerpc_binding_handle_set_timeout()Stefan Metzmacher2010-09-041-0/+3
| | | | metze
* s4:lib/messaging: implement irpc_bh_set_timeoutStefan Metzmacher2010-09-041-1/+19
| | | | metze
* s4:librpc/rpc: implement dcerpc_bh_set_timeout()Stefan Metzmacher2010-09-041-0/+18
| | | | metze
* librpc/rpc: add set_timeout() to dcerpc_binding_handle_opsStefan Metzmacher2010-09-041-0/+2
| | | | metze
* torture-lsa: cope with STATUS_SOME_UNMAPPED errorsAndrew Tridgell2010-09-041-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>
* s4:lib/messaging: make irpc_request private and remove unused codeStefan Metzmacher2010-09-032-190/+14
| | | | metze
* s4:libcli/composite: remove unused composite_continue_irpc()Stefan Metzmacher2010-09-032-16/+0
| | | | metze
* s4:lib/messaging/tests: make use of irpc_binding_handle()Stefan Metzmacher2010-09-031-22/+49
| | | | metze
* s4:lib/messaging: use irpc_binding_handle() for python bindingsStefan Metzmacher2010-09-031-13/+57
| | | | metze
* s4:wrepl_server: use irpc_binding_handle_by_name() in ↵Stefan Metzmacher2010-09-031-18/+23
| | | | | | wreplsrv_scavenging_replica_active_records() metze
* s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_release_demand()Stefan Metzmacher2010-09-031-16/+20
| | | | metze
* s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_challenge()Stefan Metzmacher2010-09-032-42/+45
| | | | metze
* s4:auth_winbind: use irpc_binding_handle_by_name()Stefan Metzmacher2010-09-032-8/+8
| | | | metze
* s4:libcli/wbclient: use irpc_binding_handle_by_name()Stefan Metzmacher2010-09-034-54/+44
| | | | metze
* s4:rpc_server/netlogon: use irpc_binding_handle_by_name()Stefan Metzmacher2010-09-032-8/+11
| | | | metze
* s4:smbd/service_task: use irpc_binding_handle_by_name()Stefan Metzmacher2010-09-032-7/+6
| | | | metze
* s4:dsdb/kcc: use irpc_binding_handle_by_name()Stefan Metzmacher2010-09-032-7/+40
| | | | metze
* s4:libcli/finddcs: use irpc_binding_handle_by_name()Stefan Metzmacher2010-09-032-20/+22
| | | | metze
* s4:rpc_server/common: use irpc_binding_handle_by_name() in ↵Stefan Metzmacher2010-09-031-16/+25
| | | | | | dcesrv_irpc_forward_rpc_call() metze
* s4:lib/messaging: add irpc_binding_handle_by_name() helper functionStefan Metzmacher2010-09-032-0/+36
| | | | metze
* s4:lib/messaging: add irpc dcerpc_binding_handle backendStefan Metzmacher2010-09-033-1/+289
| | | | metze
* s4:lib/messaging: move messaging prototypes from irpc.h to messaging.hStefan Metzmacher2010-09-032-28/+25
| | | | metze
* s4:lib/messaging/tests: fix some compiler warningsStefan Metzmacher2010-09-031-2/+2
| | | | metze
* s4:auth_winbind: remove unused winbind_samba3 backendStefan Metzmacher2010-09-032-122/+1
| | | | | | This uses the winbind protocol directly, which needs to be avoided! metze
* s4:auth_winbind: fix segfault in winbind_check_password_wbclient()Stefan Metzmacher2010-09-031-1/+5
| | | | | | We should only look at err if WBC_ERR_AUTH_ERROR is returned. metze
* s4:auth_winbind: fix compiler warningsStefan Metzmacher2010-09-031-4/+11
| | | | metze
* s4-drs: A quick fix for DRSUAPI_EXOP_FSMO_RID_ALLOC extended_op handlingKamen Mazdrashki2010-09-031-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.
* s4-dreplsrv: Refactor drepl_replica_sync() to behave as described in MS-DRSRKamen Mazdrashki2010-09-031-8/+111
| | | | | | see: MS-DRSR - 4.1.23.2 Note: Synchronious replication not implemented yet.
* s4-dreplsrv: Helpers to locate source DSA in a partition by GUID or DNS nameKamen Mazdrashki2010-09-031-0/+40
|
* s4-dreplsrv: Helper to find NC by DN or GUID or SIDKamen Mazdrashki2010-09-031-0/+33
|
* s4-dreplsrv: Add caller-specific data parameter for dreplsrv_fsmo_callback_tKamen Mazdrashki2010-09-033-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
* pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij2010-09-037-231/+246
|
* s4-resolve: added resolve_name_ex_send()Andrew Tridgell2010-09-021-8/+33
| | | | | | this allows access to the flags that control name resolution Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>