Age | Commit message (Collapse) | Author | Files | Lines |
|
allow us to have test targets without special configure options
- fixed make proto so that it actually does something
(This used to be commit 55109a752578e9389d853cb27ec17c2114ecff77)
|
|
that libsmb/ creates a local tcp socket then launches smbd as a subprocess
attached to that socket. smbd thinks it is being launched from inetd.
to use it do the following:
- compile with -DSMB_REGRESSION_TEST
- run like this (also works with smbtorture etc)
export SMBD_TEST=1
export LIBSMB_PROG=bin/smbd
smbclient //server/share -Uuser%pass
obviously you need to setup a smb.conf etc. Using --prefix to configure
is useful.
The aim of all this stuff is to add a decent set of regression tests
to the build farm, so we know if smbd actually runs correctly on all the
platforms, not just builds. We can run smbtorture, masktest, locktest etc,
plus a bunch of smbclient scripts and any new tests we write.
This doesn't help much with nmbd (at least not yet) but its a good start.
(This used to be commit 7e8e6ae9a88c4d2587eb4e7f0501cd71bd36ebb2)
|
|
allocate 0 bytes.
(This used to be commit 465994cfbca72649474345bc057d436961cccf97)
|
|
(This used to be commit 9e074bc2bf2df34048b67457623bb8219fb1e4d6)
|
|
(This used to be commit bbfbe03cc6166c23c42a704b5acaa19cbdbc39ce)
|
|
but the code suffered from bitrot and is not now reentrant. That means
we can get bizarre behaviour
i've fixed this by making next_token() reentrant and creating a
next_token_nr() that is a small non-reentrant wrapper for those lumps
of code (mostly smbclient) that have come to rely on the non-reentrant
behaviour
(This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
|
|
send unaligned unicode strings sometimes!
Fixed our handling of the workgroup name tacked on the end of the
NT1 negprot response (a unaligned unicode)
fixed a couple of places where we should be using the message_end fns instead
of pre-calculated buffer lengths
(This used to be commit 86613493a9b2e56523153486931d0bf8d39beb7a)
|
|
Samba Users Group Japan, ensure that we don't use dos_to_unix(xx,True),
but always use dos_to_unix(xx,False) to prevent overwriting.
Jeremy.
(This used to be commit 244aec8ea623fec828add3ab09c5003bf32bd5c7)
|
|
Jermey.
(This used to be commit 05a2911403a0710d994a618e72743205a3b0b87a)
|
|
(This used to be commit 2162454d9ea5a07892d0b5d7fc5abe7251b4fa98)
|
|
Jeremy.
(This used to be commit 9297ae69a7dde878bb4c696f90fbaceb46e18720)
|
|
complete testing of oplocks from smbtorture and would also be essential if a client app ever really did want to use oplocks properly
(This used to be commit 3d4a3bfacd9ef225aeaab801e5a216d12814b60a)
|
|
and the use of this function only increased timeouts when Samba queries
a broken DNS server.
(This used to be commit 720fea53603b2f99153709e6717ca930ab60ca9f)
|
|
(This used to be commit 66e62245ea50fe7b996484ca919083eec2edfd14)
|
|
(This used to be commit fb80cf2aa13883c6dac461f95bc1000c4881d724)
|
|
(This used to be commit 13df2304b309a2bd14d4441db0e72e75b8742262)
|
|
(This used to be commit 832227a72b9c1d965736128ff84ffa235df6ecaf)
|
|
(This used to be commit abc294c4a82dc132b937aec374ee947992a1b93f)
|
|
Added cli_samr_lookup_names()
Removed redundant argument to cli_samr_connect()
(This used to be commit 79710a3ab394dc024b3ccfccfb45fb6a906c3499)
|
|
Also added smbtorture test for this.
Jeremy.
(This used to be commit 6d65556ae8bea45a203defaded8436cbb56965e1)
|
|
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
|
|
Added cli_ functions for set userinfo and userinfo2.
(This used to be commit 6c9796286c489a79c96d28b081ecf151803dbf7c)
|
|
(This used to be commit 7e23ed48908cf396610d26efda9f54d5f5f0e83c)
|
|
(This used to be commit ee599c9481c26d8407f03a9897eb5f1abd1e47f1)
|
|
(This used to be commit 8d5f2027095c3fb9240db238fb6d405aeefef1ef)
|
|
(This used to be commit 3343c9f0d67d98687e5933e1a73c0ff487279160)
|
|
in separate commit after I get it working in 2.2.
(This used to be commit 09506ac0e64b84d73e3b8fdd4942fa52dba6060f)
|
|
in a twitch.
(This used to be commit 672242a52eafde35cba4657bce248fef0df9e46b)
|
|
(This used to be commit b0ba25e22d101acbe4079bc81759a4e0c8a7e6d8)
|
|
is a better return code anyway (I knew that :-)
(This used to be commit 0bf2797b183b4d709a401ebdb2d5f3d5b1c907af)
|
|
(This used to be commit a92a0d061bd322b9d3a1fe13c6ce2d2e1f070ef7)
|
|
(This used to be commit 3b4b5b3c61bb1fe1db15306219f24036bf342e2d)
|
|
(This used to be commit 48688c4592d03d6404631a7d57701f0af38cfb2d)
|
|
Added lookup_rids() function.
(This used to be commit 9ff3c82a54a18d0d9f187c119656e58316c7eb0e)
|
|
Cleanup of exit paths.
Added query domain info and query display info.
(This used to be commit ff9e222e2ff3f50f4966d3c5859738a831c7adc9)
|
|
(This used to be commit a345b477a22f6261613d21d079b1632a9409c914)
|
|
(This used to be commit 5a387f59c441d355fe4535eae5c2c924ae9dd451)
|
|
(This used to be commit 0b3bc4375b8984fc16c8972d2b62762c1657f675)
|
|
(This used to be commit 5a3b7d8b1302fd11321c4a65161de169b41f5d9e)
|
|
with talloc.
Jeremy.
(This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)
|
|
- fixed slprintf and vsprintf macros
(This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)
|
|
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
|
|
(This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)
|
|
nmbd to talk to nmbd if it's a WINS server.
Jeremy.
(This used to be commit 0e8147aecaf6941c77fd05b4b705ca31c1ec5760)
|
|
Jeremy.
(This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
|
|
Jeremy.
(This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
|
|
when copying to a full disk problem, I discovered that we were not allowing
the delete on close flag to be set properly, this led to other things, and
after investigation of the proper delete on close semantics and their relationship
to the file_share_delete flag I discovered there were some cases where we
weren't doing the deny modes properly. And this after only 5 years working
on them..... :-) :-).
So here's the latest attempt. I realised the delete on close flag needs to
be set across all smbds with a dev/ino pair open - in addition, the delete
on close flag, allow share delete and delete access requested all need to
be stored in the share mode tdb.
The "delete_on_close" entry in the fsp struct is now redundant and should
really be removed. This may also mean we can get rid of the "iterate_fsp"
calls that I didn't like adding in the first place. Whilst doing this patch,
I also discovered we needed to do the se_map_generic() call for file opens
and POSIX ACL mapping, so I added that also.
This code, although ugly, now passes the deny mode torture tests plus the
delete on close tests I added. I do need to add one more multiple connection
delete on close test to make sure I got the semantics exactly right, plus we
should also (as Andrew suggested) move to random testing here.
The good news is that NT should now correctly delete the file on disk
full error when copying to a disk :-).
Jeremy.
(This used to be commit 51987684bd231c744da2e5f3705fd236d5616173)
|
|
Jeremy.
(This used to be commit 6f7d9e29e4d3a17254ff0ae20c0da63eacded7fe)
|
|
Used in smbtorture mods. Re-cast cli_nt_create() as a call to cli_nt_create_full().
Jeremy.
(This used to be commit f602fa1205e99541e825ccae8502c35cd0e7ccfc)
|
|
(merge from 2.2)
(This used to be commit ea963a648b889da9e47661c61c7fafe13b277e75)
|