Volker Lendecke
1819beb088
s3: Add a dummy test to prove the maxfd calculation
...
To be run in a debugger, there's no way to inspect the internal tevent_select.c
maxfd calculation
2010-06-10 11:24:00 +02:00
Andrew Bartlett
59422efca9
s3:smbd move messaging_context and memcache into globals.c
...
This helps vfstest, which previously had duplicate copies of these functions.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:27 +02:00
Andrew Bartlett
6f279de0e6
s3:smbd split reload services/printers functions from server.c
...
This helps vfstest, as it previously had duplicate copies of these
functions.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-28 18:08:26 +02:00
Jeremy Allison
b481b8e1f5
Fix the build of bin/smbtorture in source3. Guenther please check !
...
Jeremy.
2010-05-17 17:17:44 -07:00
Günther Deschner
c6ebab846d
s3: only include gen_ndr headers where needed.
...
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
as follows:
ccache build w/o patch
real 4m21.529s
ccache build with patch
real 3m6.402s
pch build w/o patch
real 4m26.318s
pch build with patch
real 3m6.932s
Guenther
2010-05-06 00:22:59 +02:00
Volker Lendecke
53dec15427
s3: Fix a comment
2010-04-02 10:17:14 +02:00
Jeremy Allison
b6aabcd628
Add torture test for bug 7310 - DOS attribute inconsistency with MS Office
...
Ensure we don't regress.
Jeremy.
2010-04-01 15:01:43 -07:00
Simo Sorce
9f53820de7
s3:tldap add own filter parsing
...
Also add torture test to check filter parsing.
2010-03-09 15:23:48 -05:00
Volker Lendecke
c31cf0a1b5
s3: Consolidate some pid_to_procid() calls to procid_self()
2010-02-23 17:20:28 +01:00
Volker Lendecke
752bffc53f
s3: Consolidate server_id_self into the equivalent procid_self()
2010-02-23 15:30:00 +01:00
Jeremy Allison
3aee8e73b0
Ensure STREAMERROR deletes any files in the \\testdir
...
before rmdir and mkdir.
Jeremy.
2010-02-22 15:04:10 -08:00
Volker Lendecke
15edc96f49
s3: Use the status from cli_raw_ioctl in torture_ioctl_test
2010-02-21 11:42:41 +01:00
Volker Lendecke
e38908ea65
s3: Rename LOCAL-dom_sid_parse to LOCAL-string_to_sid, add some tests
2010-02-20 21:35:03 +01:00
Volker Lendecke
1e8a84aac7
s3: Add printf why LOCAL-dom_sid_parse failed
2010-02-20 21:35:03 +01:00
Volker Lendecke
a035062f11
s3:torture: add a test LOCAL-DBTRANS to torture dbwrap with transactions.
2010-02-12 23:12:09 +01:00
Volker Lendecke
b13dd17840
s3: setup debug for smbtorture
2010-02-12 23:12:09 +01:00
Jeremy Allison
a35be8c0c2
Torture test for bug 7084 - Create time on directories not stored properly in an EA in new create time code.
...
Ensure new files in a directory don't reset the create time.
Jeremy.
2010-02-01 18:49:50 -08:00
Volker Lendecke
397a6faed9
s3: Add a little torture test for dom_sid_parse
2010-01-23 16:28:11 +01:00
Volker Lendecke
ac5b090a41
s3: Fix a shadowed variable warning
2010-01-03 21:14:58 +01:00
Volker Lendecke
675d5fe981
s3: Fix an uninitialized variable warning
2010-01-03 21:14:58 +01:00
Volker Lendecke
37ac16a88f
s3: Convert cli_ulogoff to the async API
2010-01-03 21:14:57 +01:00
Volker Lendecke
99f292479f
s3: Convert cli_tdis to the async API
2010-01-03 21:14:57 +01:00
Michael Adam
350352cf38
s3:torture: make t_stringoverflow.c compile at least (pstring is long gone)
...
I don't know whether these t_* programs are used at all any more, but this
one was using pstrcpy...
Michael
2009-12-01 00:55:34 +01:00
Volker Lendecke
7bbee8dc17
s3: Add a regression test for bug 6898
2009-11-29 16:12:51 +01:00
Volker Lendecke
603a3ba19e
s3: Factor out torture_setup_unix_extensions
2009-11-29 16:12:51 +01:00
Günther Deschner
d6c60f8447
s3-nsstest: drastically shrink size and dependencies of nsstest binary.
...
The size went down from 6.4M to 104K on my box.
Guenther
2009-11-27 10:47:11 +01:00
Stefan Metzmacher
be90385a0b
s3:torture: use timeval_current/timeval_elapsed instead of start_timer/end_timer
...
metze
2009-11-24 11:49:03 +01:00
Stefan Metzmacher
0610f547aa
s3:torture/nbio: use timeval_current/timeval_elapsed instead of start_timer/end_timer
...
metze
2009-11-24 11:49:01 +01:00
Michael Adam
a46b63fd98
s3:fix the merged build of bin/smbtorture4
...
Michael
2009-11-24 11:47:30 +01:00
Michael Adam
63a801e5c9
s3:torture: move the torture-specific headers to new torture/torture.h
...
Michael
2009-11-23 23:51:07 +01:00
Volker Lendecke
37e4e387db
s3: Convert cli_get_fs_attr_info to the async API
2009-11-21 14:01:56 +01:00
Volker Lendecke
f668e4104f
s3: Convert cli_set_unix_extensions_capabilities_send to async
2009-11-14 11:03:28 +01:00
Volker Lendecke
f9ad5cd133
s3: Convert cli_unix_extensions_version to async
2009-11-13 09:30:30 +01:00
Günther Deschner
f35a1b95aa
s3-gencache: restore gencache_get behavior with NULL args (with torture test).
...
Without this, we panic in wins_srv_is_dead() and fail to start nmbd with
wins support.
Volker, please check.
Guenther
2009-11-02 13:04:26 +01:00
Jeremy Allison
49b23fe248
Fix comments on new test.
...
Jeremy
2009-10-20 17:41:27 -07:00
Jeremy Allison
e58f880381
Add local (or NFS) lock test to smbtorture. Checks that local locks
...
conflict with CIFS locks (see bug 6868).
Jeremy.
2009-10-20 17:37:43 -07:00
Volker Lendecke
94d5417d10
s3:torture: Add a notify-bench test
...
This is a test that creates and deletes files in a directory as fast as the
network allows it. At the same time, it opens a filechangenotify. This test is
done to just torture handling a single directory together with the notify
infrastructure.
2009-10-13 20:34:25 +02:00
Volker Lendecke
76d95b9a2d
s3:gencache: Add a "was_expired" argument to gencache_get_data_blob
...
This is set to true if the routine returns failure due to an existing but
expired entry.
2009-09-23 18:50:33 +02:00
Matt Kraai
f6a29f7dd3
Port the Samba 3 shm_setup to QNX.
2009-09-13 12:55:26 +02:00
Volker Lendecke
a95955f285
s3:nsstest: Fix a very confusing behaviour in nsstest
...
Testing getgrent I thought I get the offset calculations wrong whereas
it was only nsstest printing stuff with spaces...
2009-08-29 19:43:33 +02:00
Volker Lendecke
1a22baa817
s3: Add talloc_dict.[ch]
2009-08-16 12:38:19 +02:00
Jeremy Allison
5d05d22999
Added prefer_ipv4 bool parameter to resolve_name().
...
W2K3 DC's can have IPv6 addresses but won't serve
krb5/ldap or cldap on those addresses. Make sure when
we're asking for DC's we prefer IPv4.
If you have an IPv6-only network this prioritizing code
will be a no-op. And if you have a mixed network then you
need to prioritize IPv4 due to W2K3 DC's.
Jeremy.
2009-07-28 11:51:58 -07:00
Volker Lendecke
be5cf23696
Fix the chain2 test
2009-07-24 17:17:08 +02:00
Tim Prouty
c9b8a01714
s3: Finish plumbing the fsp->fsp_name smb_fname conversion through the modules.
2009-07-20 17:26:57 -07:00
Jeremy Allison
1f5aec877f
Make cli_unlock and cli_unlock64 async. Fix POSIX lock test.
...
Jeremy.
2009-07-15 11:49:33 -07:00
Volker Lendecke
3edcd55bf1
Remove gencache_init/shutdown
...
gencache_get/set/del/iterate call gencache_init() internally anyway. And we've
been very lazy calling gencache_shutdown, so this seems not really required.
2009-07-15 10:55:20 +02:00
Günther Deschner
9f15ef11bd
s3-account_policy: add pdb_policy_type enum.
...
Guenther
2009-07-14 12:12:18 +02:00
Jeremy Allison
e67de63ba6
Make cli_posix_lock/unlock asynchronous.
...
Jeremy.
2009-07-13 18:43:10 -07:00
Volker Lendecke
3969f65aaa
Fix&Run local-gencache
2009-07-10 18:16:46 +02:00
Volker Lendecke
0a0bff353e
Fix our base64 implementation for blobs of length 4....
...
The additional length check bit us exactly at 4, removing it. The
torture test survives valgrind up to 2000 bytes :-)
2009-07-10 18:16:46 +02:00