| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
change seed
|
| |
|
|
|
|
|
| |
are readers. writes between 1 and 20 bytes. reads as much as possible.
compares. repeat until end of buffer (fixed size: 131072 bytes) reached.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
use \\ in front of filenames
get short name via a separate trans2 level 260 call
|
|
|
|
| |
use \\ in front of filenames
|
|
|
|
|
|
|
|
|
|
| |
same cli_state:
open file rw/denynone, open *same* file r/denynone.
write to file (fd1) read from file (fd2). compare. repeat.
two cli_states:
open file rw/denynone (cli1), open *same* file r/denynone (cli2).
write to file (fd1) read from file (fd2). compare. repeat.
|
|
|
|
| |
Added call to codepage_initialise().
|
|
|
|
| |
it
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
rpc_server/srv_pipe_hnd.c: Bring into sync with 2.0.x.
smbd/blocking.c: Improve blocking debug reporting.
utils/torture.c: Added check for NT locking bug.
Jeremy.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
one doesn't even need two connections to the box, just two file handles.
it is a very simple case actually, and one I think will happen quite a
lot in real life. I wonder how they haven't noticed it? I checked and
W2K has the same bug.
|
| |
|
|
|
|
|
| |
the current preset tests show a very interesting NT bug - it sometimes
refuses a lock that it shouldn't.
|
| |
|
|
|
|
| |
the list of locks that cause a failure
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
it opens 2 connections to each of 2 servers, and opens 2 fnums on the
same file on each connection (a total of 8 file descriptors)
then it does random lock/unlock/reopen requests in a 100 byte range on
the file and compares the results from the 2 servers.
strangely enough, NT fails this test against itself right now - I'm
still trying to figure that out.
|
|
|
|
|
| |
Added locktest5 for locking stacks.
Jeremy.
|
|
|
|
|
|
| |
utils/make_smbcodepage.c:
utils/make_unicodemap.c: Insure 'make install' fixes.
Jeremy.
|
|
|
|
| |
true
|
|
|
|
| |
masktest
|
|
|
|
| |
rather than 2 servers
|
|
|
|
|
|
|
|
|
|
|
| |
We finally have a perfect emulation of Microsoft wildcard
matching. The routine ms_fnmatch() does wildcard matching with all MS
wildcards (including the unicode wildcards), and masktest against a
NT4 workstation with hundreds of thousands of random exmaples has not
found a single error.
amazingly it is only about 60 lines of code, but it has taken us years
to get it right. I didn't sleep much last night :)
|
|
|
|
|
|
|
|
| |
smbpid used when a file was opened in the files_struct. Else we use
the wrong global_smbpid when we are closing the file and trying to
remove the brl locks - this causes the brl locks to be left when the
file is closed as the samba_context check fails.
Jeremy.
|
| |
|
| |
|
|
|
|
| |
resolution)
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
with one of them and try to write to the file with the other.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
libsmb/clientgen.c: Fixes for Win2k smbclient browsing.
Other fixes implement smbpasswd -x user to delete users. Also allows swat
to do the same.
Jeremy.
|
|
|
|
|
|
|
|
|
| |
on the glibc source code and are safer than the traditional popen as
they don't use a shell to exec the requested command. Now we have
these functions they can be tightened up (environment etc.) as required
to make a safe popen. It should now be safe to add the environement
variable loading code to loadparm.c
Jeremy.
|
| |
|
| |
|
|
|
|
| |
the wildcard handling code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
two places i found where it was appropriate to _use_ that third argument,
in locking.c and brlock.c! there was a static traverse_function and
i removed the static variable, typecast it to a void*, passed it to
tdb_traverse and re-cast it back to the traverse_function inside the
tdb_traverse function. this makes the use of tdb_traverse() reentrant,
which is never going to happen, i know, i just don't like to see
statics lying about when there's no need for them.
as i had to do in samba-tng, all uses of tdb_traverse modified to take
the new void* state argument.
2) disabled rpcclient: referring people to use SAMBA_TNG rpcclient.
i don't know how the other samba team members would react if i deleted
rpcclient from cvs main. damn, that code's so old, it's unreal.
20 rpcclient commands, instead of about 70 in SAMBA_TNG.
|
|
|
|
|
| |
added DENY2 test that checks all 648 deny combinations for the case
of two opens on the same connection
|