Andrew Tridgell
7ca69f7462
librpc: bitten by the strncasecmp define again
2010-09-07 14:33:20 +10:00
Andrew Tridgell
2d77c766fa
waf-abi: fixed small uninitialised data on PPC64
...
on PPC64 Linux systems a 'S' line from nm means "small object
uninitialised data"
2010-09-07 13:45:46 +10:00
Andrew Tridgell
73c3932b2d
s4-ldapserver: serialise ldap server operations
...
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-07 12:55:27 +10:00
Andrew Tridgell
a8bac4a09a
s4-packet: make packet_recv_disable() a lot more efficient
...
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-07 12:55:27 +10:00
Andrew Tridgell
cad0219e69
s4-process: fixed the thread process model so it compiles
...
it doesn't actually work, but at least it now compiles
2010-09-07 12:55:27 +10:00
Julien Kerihuel
e5e5a1110f
Add unique IP address binding for client connections (EPM and ncacn_ip_tcp 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-07 09:55:14 +10:00
Kamen Mazdrashki
35aed17b26
s4-test: refactor API-DELETEUSER test a little to:
...
- 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-05 23:34:28 +03:00
Kamen Mazdrashki
dea5c7b948
s4-idl: redefine dreplsrv_refresh() to be alike other RPC function definitions
...
Sorry for the 'custom' definition first time
2010-09-05 23:34:28 +03:00
Jelmer Vernooij
cf616ec316
wafsamba: Create bin/defaukt/modules if it does not yet exist.
2010-09-05 20:16:50 +02:00
Jelmer Vernooij
61e537cf50
waf: Use os.makedirs rather than os.mkdir in case parent directories
...
don't exist yet.
2010-09-05 18:01:43 +02:00
Volker Lendecke
df19469295
s3: On Solaris, iov_len is an int
...
We can't use &iov.iov_len passing it to a size_t *
2010-09-05 16:41:28 +02:00
Matthieu Patou
49321571ea
upgradeprovision: avoid working with None objects ...
2010-09-05 12:29:21 +04:00
Matthieu Patou
b153558210
upgradeprovision: do not try to remove/change attribute before the RID Set object is present
2010-09-05 12:29:21 +04:00
Matthieu Patou
13d575d6e3
upgradeprovision: cleanup
2010-09-05 12:29:20 +04:00
Matthieu Patou
1d0815281e
s4 upgradeprovision: add dns_update_list if missing
2010-09-05 12:29:20 +04:00
Matthieu Patou
e2d575ee80
python-ldb: allow ldb_rename to take optional control(s)
2010-09-05 12:29:20 +04:00
Matthieu Patou
42dfa71ef5
dsdb: make the ATTRIBUTE NOT FOUND more clear
2010-09-05 12:29:20 +04:00
Jelmer Vernooij
e4d1bdbe55
s4/selftest: Fix path to include/config.h, set BUILDDIR automatically.
2010-09-05 04:33:29 +02:00
Jelmer Vernooij
851ad13047
selftest: Cope with parentheses in testnames in --load-list.
2010-09-05 03:16:48 +02:00
Jelmer Vernooij
474c98fe26
selftest/subunit: Parse timestamps generated by upstream subunit.
2010-09-05 03:14:44 +02:00
Jelmer Vernooij
ef9657017c
selftest: Print out unmatched tests when using --load-list.
2010-09-05 02:20:56 +02:00
Jelmer Vernooij
3c25067724
dsgetinfo: Set modulesdir when using ldb without ldb_wrap
...
(Is there a particular reason we're not using ldb_wrap here?)
2010-09-05 00:58:41 +02:00
Jelmer Vernooij
6185fb4e9e
dnspython: Update to latest upstream.
2010-09-04 23:05:16 +02:00
Jelmer Vernooij
5de2ec0def
subunit: Import latest upstream.
2010-09-04 23:04:28 +02:00
Jelmer Vernooij
ed42535041
testtools: Import latest upstream.
2010-09-04 23:04:07 +02:00
Jelmer Vernooij
9550765304
testr: Fix configuration to use idfile, in case more than a couple of
...
hundred tests fail.
2010-09-04 21:13:37 +02:00
Jelmer Vernooij
bde18c6218
selftest: Don't make printing the log output a side-effect of check_env(), do it manually.
2010-09-04 21:08:35 +02:00
Jelmer Vernooij
3c2b733698
selftest: Remove stop() method, not used anywhere.
2010-09-04 18:24:02 +02:00
Jelmer Vernooij
7154e93b21
selftest/samba4: Remove references to Samba34.pm, which no longer
...
exists.
2010-09-04 18:18:55 +02:00
Jelmer Vernooij
025494b6bd
selftest: Refer to subunit README rather than documenting locally.
2010-09-04 18:03:19 +02:00
Jelmer Vernooij
261d9aaff0
ldb: Add missing aliases for ldb_ildap.
2010-09-04 17:59:48 +02:00
Jelmer Vernooij
72f3727464
dsdb: Add missing dependencies for dsdb ldb modules.
2010-09-04 15:00:33 +02:00
Jelmer Vernooij
84c1874677
waf: Support aliases in SAMBA_MODULE.
2010-09-04 15:00:32 +02:00
Jelmer Vernooij
1ba533f4cb
waf: Make shared modules available in the build dir.
2010-09-04 15:00:32 +02:00
Stefan Metzmacher
54d2dce7b1
librpc/rpc: add dcerpc_binding_handle_set_timeout()
...
metze
2010-09-04 09:01:19 +02:00
Stefan Metzmacher
1df9fe81f5
s3:rpc_server: implement rpcint_bh_set_timeout() as dummy
...
metze
2010-09-04 09:01:18 +02:00
Stefan Metzmacher
d5355dda81
s3:winbindd: implement wbint_bh_set_timeout() as dummy
...
metze
2010-09-04 09:01:16 +02:00
Stefan Metzmacher
a510b9de39
s3:rpc_client: implement rpccli_bh_set_timeout()
...
metze
2010-09-04 09:01:15 +02:00
Stefan Metzmacher
0879571897
s4:lib/messaging: implement irpc_bh_set_timeout
...
metze
2010-09-04 09:01:14 +02:00
Stefan Metzmacher
99a26edcb3
s4:librpc/rpc: implement dcerpc_bh_set_timeout()
...
metze
2010-09-04 09:01:12 +02:00
Stefan Metzmacher
27918981de
librpc/rpc: add set_timeout() to dcerpc_binding_handle_ops
...
metze
2010-09-04 09:01:11 +02:00
Stefan Metzmacher
2907310803
s3:rpc_server: make it possible to use rpcint_binding_handle() directly
...
metze
2010-09-04 09:01:10 +02:00
Andrew Tridgell
389d35708e
torture-lsa: cope with STATUS_SOME_UNMAPPED errors
...
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-04 12:29:10 +10:00
Andrew Tridgell
48323d88cc
selftest: run client tests with log level 1
...
this PIDL print functions to display
2010-09-04 12:29:10 +10:00
Andrew Tridgell
aefbdc4a9d
waf: fixed make test with TESTS="test1 test2"
...
when multiple tests are specified, make escapes the space in MAKEFLAGS
with a backslash, so we need to use shlex.split()
2010-09-04 12:29:10 +10:00
Andrew Tridgell
b58bfb3510
util: added samba_start_debugger()
...
This developer function is useful for debugging unusual error
conditions
2010-09-04 12:29:10 +10:00
Stefan Metzmacher
31d3227074
s4:lib/messaging: make irpc_request private and remove unused code
...
metze
2010-09-03 17:02:11 +02:00
Stefan Metzmacher
dd7154234c
s4:libcli/composite: remove unused composite_continue_irpc()
...
metze
2010-09-03 17:02:11 +02:00
Stefan Metzmacher
a9078aad3c
s4:lib/messaging/tests: make use of irpc_binding_handle()
...
metze
2010-09-03 17:02:10 +02:00
Stefan Metzmacher
a65d1eb05c
s4:lib/messaging: use irpc_binding_handle() for python bindings
...
metze
2010-09-03 17:02:10 +02:00