1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

254 Commits

Author SHA1 Message Date
Andrew Tridgell
591a500ed7 reversed the sense of the TCON test, now that we know that win2003
fixes this. This means that TCON fails on win2000, but passes on Samba
and win2003
-
Volker Lendecke
6f94ab8ed5 This changes our handling of invalid service types that the
client requested on tconx. We now return the same error
code like NT4SP6 and W2kSP3 return.

TCONDEV is a little test for this.

Volker
-
Volker Lendecke
6ab88f31d6 This changes our handling of invalid service types that the
client requested on tconx. We now return the same error
code like NT4SP6 and W2kSP3 return.

TCONDEV is a little test for this.

Volker
-
Andrew Tridgell
ca982a9f1d added simple tests for SMBchkpath and SMBioctl -
Andrew Tridgell
be98069c4e updated the TCON test so that win2000 passes. Samba now fails this
test.

It is an interesting test because it shows that win2000 completely
ignores the TID and VUID fields in a SMBwriteX. In Samba it is hard to
do this as we check the VUID and TID fields before we call the SMB
specific reply functions.

The test also shows that the list of open files must be global to the
socket, not specific to a tcon.
-
Andrew Tridgell
c95ae394c5 added a simple test for the old SMBtcon interface -
Jelmer Vernooij
2ddfed298d Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changes -
Martin Pool
e051789ac6 Run test 10000 times to make measurement easier. -
cvs2svn Import User
f0d009c3e9 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Martin Pool
cea126f62a The new string macros catch a bug at compile that previously only
trapped at runtime, which is great.  So we have to try a little harder
to provoke an overflow -- which is still caught nicely in developer
mode.
-
Andrew Tridgell
d40e3747cf show which files we fail to create in the casetable test -
Martin Pool
17f01f6959 Update usage message. -
Martin Pool
dcf1705782 Add example of string overflow which is now caught in developer mode. -
Andrew Tridgell
f283f71104 having sticky create times is not a bug -
Andrew Tridgell
7be44dbe00 fixed the MANGLE smbtorture test with the new paranoid string code -
Andrew Tridgell
af415842b8 make sure we have an empty directory when we start the utable test -
Andrew Tridgell
cec1ef09e5 fixed use_oplocks and the timeout in smbtorture startup -
Andrew Tridgell
0f4d1172a6 added -i option for ignoring dot errors in masktest -
Andrew Bartlett
8863ff863c Make smbtorture use the same cli_full_connection() framework as the rest of
Samba.  This fixes things like not doing *SMBSERVER etc.

Andrew Bartlett
-
Martin Pool
a387c42097 FIXME about crash on failure case. -
Richard Sharpe
460339db22 Add *SMBSERVER fallback code to smbtorture ... -
Richard Sharpe
1128a2fb4c Add code to allow us to specify the port to connect on when performing
a test ...
-
Martin Pool
ab77beca04 Add simple test harness that exposes StrCaseCmp for testing. -
Tim Potter
5f8a008a52 Merge: const fixes.
Merge: add popt_common_version to command line options table.
-
Tim Potter
018733eedd More const fixes and flow on fixes from yesterday's const-fest. -
Andrew Bartlett
a25f612664 Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a share
twice, let the libsmb code determine what form the share name should take.

Andrew Bartlett
-
Andrew Bartlett
56934f303c Missed a couple of files from the client-side kerberos merge -
Andrew Bartlett
d0365f20c2 Add static -
Jeremy Allison
caf298c380 New locktest7 code based on patch from "Srikanta Shivanna" <sshivanna@pillardata.com>
Jeremy.
-
Simo Sorce
a2e1969ce5 correct init, tx Stefan -
Simo Sorce
162683d2b5 correct init for vfs.conn, thanks Stefan -
Jelmer Vernooij
5de622968d Add -V option (to print out version) to utilities where possible
(pdbedit already has a -V option..)
-
Andrew Bartlett
ce52f1c2ed Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enable
users w/o full administrative access on computer accounts to join a
computer into AD domain.

The patch and detailed changelog is available at:
http://www.itcollege.ee/~aandreim/samba

This is a list of changes in general:

1. When creating machine account do not fail if SD cannot be changed.
   setting SD is not mandatory and join will work perfectly without it.
2. Implement KPASSWD CHANGEPW protocol for changing trust password so
   machine account does not need to have reset password right for itself.
3. Command line utilities no longer interfere with user's existing
   kerberos ticket cache.
4. Command line utilities can do kerberos authentication even if
   username is specified (-U). Initial TGT will be requested in this case.

I've modified the patch to share the kinit code, rather than copying it,
and updated it to current CVS.  The other change included in the original patch
(local realms) has been left out for now.

Andrew Bartlett
-
Jeremy Allison
b031e81f4f Fixup delete on close torture.
Jeremy.
-
Jeremy Allison
45d4e58ca5 Samba janitors: applying mbp's redundant umask fix.
Jeremy.
-
Jeremy Allison
b54f6bf06c Samba janitors: applying mbp's redundant umask fix.
Jeremy.
-
Jeremy Allison
510cd30a6e Got complete (I hope) coverage of the OPEN TRUNCATE ATTRIBUTES test.
Now to make Samba pass it :-).
Jeremy.
-
Jeremy Allison
fdc14aa6f6 Added first part of attribute matrix tests. Not run and compiled in right now...
Jeremy.
-
Andrew Bartlett
9b70fa868e Merge from HEAD:
- fstring/pstring mixups
 - the detection code that found them (disabled)
 - a bit of whitespace
 - a static

Andrew Bartlett
-
Andrew Bartlett
fe1cc779d5 Fix a number of client-side fstring/pstring mixups.
Andrew Bartlett
-
Andrew Bartlett
3a7458f947 Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
-
Andrew Bartlett
92a777d0ea BIG patch...
This patch makes Samba compile cleanly with -Wwrite-strings.
 - That is, all string literals are marked as 'const'.  These strings are
always read only, this just marks them as such for passing to other functions.

What is most supprising is that I didn't need to change more than a few lines of code (all
in 'net', which got a small cleanup of net.h and extern variables).  The rest
is just adding a lot of 'const'.

As far as I can tell, I have not added any new warnings - apart from making all
of tdbutil.c's function const (so they warn for adding that const string to
struct).

Andrew Bartlett
-
Jeremy Allison
784d15761c Finish adding strings to all talloc_init() calls.
Jeremy.
-
Jeremy Allison
842e08e52a Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
-
Jeremy Allison
09a218a9f6 Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
-
Jeremy Allison
7daa880503 Please compile with :
-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
if you're using gcc. It really does help !
Jeremy.
-
Jeremy Allison
41b56d975b Please compile with :
-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
if you're using gcc. It really does help !
Jeremy.
-
Jeremy Allison
fc5774b075 Added OPEN test with HIDDEN/NORMAL attributes.
Jeremy.
-
Jeremy Allison
657aa857a5 Added HIDDEN/NORMAL attribute test.
Jeremy.
-
Jim McDonough
36545ee9a7 Fix the build.
Build farm!  Build farm!  Please check the build farm!

...or at least run make torture.
-