summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4-smbtorture: add spoolss_OpenPrinter with unc and printername in ↵Günther Deschner2010-09-101-4/+18
| | | | | | RPC-SPOOLSS-PRINTSERVER. Guenther
* s4:client/cifsdd.c - restore Solaris cc compatibilityMatthias Dieter Wallnöfer2010-09-091-11/+10
| | | | "static const struct"s need to be global in order to work with Solaris cc.
* s4:torture/rpc/winreg.c - restore Solaris cc compatibilityMatthias Dieter Wallnöfer2010-09-091-71/+72
| | | | "static const struct"s need to be global in order to work with Solaris cc.
* s4:libcli/security/*.c - fix some wrong typed countersMatthias Dieter Wallnöfer2010-09-093-10/+7
| | | | According to "librpc/gen_ndr/security.h" they need to be "uint32_t".
* s4-dreplsrv: Do allocations on long-living context so that callback gets calledKamen Mazdrashki2010-09-091-1/+1
|
* s4-drs-test: Add 'reset' and 'replace' tests for drsuapi_DsReplicaUpdateRefsKamen Mazdrashki2010-09-091-4/+28
| | | | | | | | | | At first I got the impression we are not handling those cases, but after those tests surprisingly passed I saw that we have correct behavior implemented in a helper function. So I decided to commit those tests in case someone change the strange-looking check for DRSUAPI_DRS_ADD_REF flag in a function that handles delete operation :)
* s4-dreplsrv: Call dreplsrv_out_operation::callback in case we fail to even ↵Kamen Mazdrashki2010-09-091-0/+8
| | | | | | | | | | | | run the operation Operation was scheduled already, so we need to call the callback function for it to be able to do its job. For instance, if we are blocking an rpc call until an operation is completed and there is no memory, then client will be blocked without knowing what is going on with the server.
* s4-dsdb/repl/drepl_out_pull.c: Remove unused codeKamen Mazdrashki2010-09-091-43/+0
|
* s4-drepl_service.c: Update (C)Kamen Mazdrashki2010-09-091-9/+10
| | | | and remove few trailing white spaces
* s4-drepsrv: Dump more info when drepl_replica_sync() failsKamen Mazdrashki2010-09-091-24/+28
| | | | | | | | | There are many spots where this function may fail and I find it very useful to know where exactly function fails and what are the input parameters during testing. REPLICA_SYNC_FAIL() macro now dumps an error message so we may remove extra DEBUG() dump in implementation.
* s4-rodc: cope with missing searchFlagsAndrew Tridgell2010-09-091-3/+4
| | | | this can be missing after the schema tests
* s4-dsdb Change debug levels for startup messagesAndrew Bartlett2010-09-092-10/+10
| | | | | | We should make the 'common' error not show up, but the unusal case fatal. Andrew Bartlett
* s4-setup Make krb5.conf use DNS by defaultAndrew Bartlett2010-09-091-2/+2
| | | | | | | | We set up our DNS pretty well these days, and I think the previous setting was only there because Andrew Kroeger copied this out of our selftest code in bf3f3af92677bce8f03b0dd2be552d6c8c730ca1. Andrew Bartlett
* s4-test: added a RODC test using rpcechoAndrew Tridgell2010-09-091-0/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rodc: get the domain name from the partitions DNAndrew Tridgell2010-09-092-7/+9
| | | | | | | don't rely on the netbios domain name being the first part of the realm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* pyldb: expose PyLdbDn_FromDn()Andrew Tridgell2010-09-092-18/+29
| | | | | | This is needed by the dsdb python interface Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: fixed error format stringAndrew Tridgell2010-09-091-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pydsdb: expose samdb_partitions_dn() as get_partitions_dn() in pythonAndrew Tridgell2010-09-092-0/+33
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rodc: s->schema need initialisationAndrew Tridgell2010-09-091-0/+1
| | | | this fixes a segfault in net rodc preload
* s4-waf: fix bin/python/samba/dcerpc/nbt.so.Günther Deschner2010-09-081-1/+5
| | | | | | Thanks to Brad Hards for pointing this out. Guenther
* setup: Use standard octal ints rather than harcoding.Jelmer Vernooij2010-09-081-2/+1
|
* popt_common: Add missing dependency on libsamba-hostconfig.Jelmer Vernooij2010-09-081-3/+2
|
* s4-smbtorture: add torture ndr nbt testsuite.Günther Deschner2010-09-084-2/+73
| | | | Guenther
* s4-dreplsrv: Run NC replication synchronously if requestedKamen Mazdrashki2010-09-071-30/+119
|
* s4-drs: Dump exact error when failure occurs during DsReplicaUpdateRefs callKamen Mazdrashki2010-09-071-6/+10
|
* 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