1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
Commit Graph

59882 Commits

Author SHA1 Message Date
Jelmer Vernooij
24d52dc362 Fix the build, add filtered subunit runner. 2010-03-01 16:24:59 +01:00
Jelmer Vernooij
4e4e341c68 Add testrepository configuration. 2010-03-01 16:24:59 +01:00
Jelmer Vernooij
86e2b25186 More formatting fixes, pointed out by pylint. 2010-03-01 16:24:58 +01:00
Stefan Metzmacher
719cecba84 s4:RPC-NETLOGON: remove useless rpc callback
If we got a failure from one request we bail out early.

metze
2010-03-01 16:11:58 +01:00
Stefan Metzmacher
22b1e0bf32 s4:RPC-ECHO: don't look at the internals of 'struct rpc_request'
metze
2010-03-01 16:11:57 +01:00
Stefan Metzmacher
56b97000bd s4:libnet_become_dc: don't look at the internals of 'struct rpc_request'
metze
2010-03-01 16:11:57 +01:00
Stefan Metzmacher
0547af244a s4:drepl_out_helpers: don't look at the internals of 'struct rpc_request'
metze
2010-03-01 16:11:56 +01:00
Stefan Metzmacher
1955cde46c s4:drepl_notify: don't look at the internals of 'struct rpc_request'
metze
2010-03-01 16:11:56 +01:00
Stefan Metzmacher
8ba2128e1e s4:librpc/rpc: make use of explicit dcerpc_*_recv functions
metze
2010-03-01 16:11:55 +01:00
Stefan Metzmacher
c84b4b23c8 s4:torture/rpc: make use of explicit dcerpc_*_recv functions
metze
2010-03-01 16:11:55 +01:00
Stefan Metzmacher
598cf9f509 s4:winbind: make use of explicit dcerpc_*_recv functions
metze
2010-03-01 16:11:54 +01:00
Stefan Metzmacher
c4e72add67 s4:dsdb/repl: make use of explicit dcerpc_*_recv functions
metze
2010-03-01 16:11:54 +01:00
Stefan Metzmacher
f995e596bb s4:libnet: make use of explicit dcerpc_*_recv functions
metze
2010-03-01 16:11:53 +01:00
Stefan Metzmacher
5d33c6d4f9 s4:libnet_become_dc: make use of explicit dcerpc_*_recv functions
metze
2010-03-01 16:11:53 +01:00
Stefan Metzmacher
20980eb787 pidl:NDR/Client.pm: generate explicit _recv functions
metze
2010-03-01 16:11:51 +01:00
Günther Deschner
1a64d3cbc6 s4-smbtorture: add stricter SetPrinterDataEx tests to spoolss tests.
Guenther
2010-03-01 15:22:29 +01:00
Günther Deschner
4f6634e56d s4-smbtorture: add test_SetPrinterDataEx to RPC-SPOOLSS-PRINTER.
Guenther
2010-03-01 15:22:29 +01:00
Günther Deschner
74c7c1cc7f s4-smbtorture: return needed size pointer from test_GetPrinterDataEx.
Guenther
2010-03-01 15:22:29 +01:00
Günther Deschner
e76b8a0700 s4-smbtorture: test at least three different regtypes in test_SetPrinterDataEx.
Guenther
2010-03-01 15:22:29 +01:00
Volker Lendecke
8bebb380e8 s3: Add connections_forall_read()
In a cluster, this makes a large difference: For r/w traverse, we have to do a
fetch_locked on every record which for most users of connections_forall is just
overkill.
2010-03-01 14:51:34 +01:00
Volker Lendecke
3deba6349c s3: Make the difference between r/o and r/w in connections_db_ctx more obvious 2010-03-01 14:04:45 +01:00
Volker Lendecke
c571ecdfc4 s3: Make connections_forall open connections.tdb r/w
connections_forall is called from count_current_connections() which potentially
deletes dead records. This needs r/w access to connections.tdb.
connections_traverse says it does not provide this. Does not really matter in
the smbd case, because we have opened it before r/w, so this is "just" cleanup.
2010-03-01 14:02:35 +01:00
Stefan Metzmacher
f79ff9582f selftest/gdb_backtrace: call "info locals" too
metze
2010-03-01 13:33:05 +01:00
Anatoliy Atanasov
b73437fbaa s4/rodc: Implement samdb_rodc with ldb context 2010-03-01 14:17:32 +02:00
Anatoliy Atanasov
c65abcf9d3 s4/libnet: Fix misleading comment 2010-03-01 14:17:32 +02:00
Volker Lendecke
747a0b440f s3: Remove unused "mypid" from count_current_connections() state 2010-03-01 12:18:12 +01:00
Jelmer Vernooij
8448ece9de python: Add 'make pylint' convenience rule. 2010-03-01 04:56:42 +01:00
Jelmer Vernooij
31a718aa27 General cleanups of python code, hinted by pyflakes. 2010-03-01 04:46:51 +01:00
Jelmer Vernooij
1ef50d5de4 Add 'pyflakes' rule. 2010-03-01 04:46:50 +01:00
Jelmer Vernooij
6d9c0724a6 ntacl: Use existing infrastructure. 2010-03-01 04:44:08 +01:00
Jelmer Vernooij
da96d3fdba Remove __contains__ from mock object for consistency with actual
implementation.
2010-03-01 03:48:11 +01:00
Jelmer Vernooij
e49041065f getntacl: Remove manpage for removed utility. 2010-03-01 03:48:11 +01:00
Ricardo Jorge
8edab1b96c Fix SharesContainer.__len__.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-01 03:48:11 +01:00
Jelmer Vernooij
20e1d5a72e More formatting fixes. 2010-03-01 03:41:52 +01:00
Jelmer Vernooij
44c2d696bd Fix formatting. 2010-03-01 03:29:47 +01:00
Jelmer Vernooij
93d377424a upgradeprovision: Remove unused imports, use shutil.rmtree rather than
rmall.
2010-03-01 03:25:07 +01:00
Matthieu Patou
254e007bd9 upgradeprovision: Move to pythondoc format
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-01 03:20:36 +01:00
Matthieu Patou
8f1f50daa5 upgradeprovision: Allow script to be called with pydoc
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-01 03:20:36 +01:00
Matthieu Patou
2bc3631db8 upgrade provision: change the meaning of handle_security_desc to be similar to handle_special_case
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-01 03:20:36 +01:00
Matthieu Patou
5054bdb4f2 upgradeprovision: code cleanup
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-01 03:20:36 +01:00
Matthieu Patou
3bd16415d2 upgradeprovision: split the big script to put reusable functions appart
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-01 03:20:36 +01:00
Volker Lendecke
2238260aa3 s3: Use talloc_tos() in yield_connection() 2010-02-28 20:45:21 +01:00
Volker Lendecke
5c40aa59d7 s3: Remove unused count_all_current_connections() 2010-02-28 20:45:21 +01:00
Volker Lendecke
9ad1b4cda0 s3: Fix the CHAIN1 torture test
I've tried to solve this just within cli_smb_recv(), but I could not find a way
to sanely determine when we are receiving the last entry in the chain just from
looking at the blob. This solves it in an a bit more brutal way...
2010-02-28 18:49:59 +01:00
Volker Lendecke
fb98f60594 tdb: If tdb_parse_record does not find a record, return -1 instead of 0 2010-02-28 17:40:59 +01:00
Volker Lendecke
0e9882a65e s3: Fix but 7145 -- duplicate sam and unix accounts
For me this survives the

TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMR-LARGE-DC LOCAL-NSS-WRAPPER" make test

reproducer. Günther, please check!

Volker
2010-02-28 14:40:25 +01:00
Holger Hetterich
99fc004e40 s3: vfs_full_audit.c: implement negated vfs_ops in the success/failure list
Supports negated arguments in configuration like:
full_audit:success = all !readdir !telldir !closedir
Update the manpage accordingly.
Part of BSO#4025
2010-02-28 11:35:18 +01:00
Volker Lendecke
a050c79fab s3: Copy the mapping.c license header to mapping.h
We need some license header there. If this does incorrect copyright
attributions, please correct this.
2010-02-27 11:19:20 +01:00
Roel van Meer
cfc79f222d Fix one of the valgrind warnings from bug #6814 - Fixes for problems reported by valgrind
The timeval passed to event_add_to_select_args() must be initialized
as event_add_to_select_args() uses a timeval_min() on this and next_event.
2010-02-26 14:54:22 -08:00
Stefan Metzmacher
b28afd2bcc s4:ldb_dn: fix an uninitialized variable (found by make valgrindtest)
metze
2010-02-26 23:26:35 +01:00