Kai Blin [Thu, 30 Aug 2007 06:45:11 +0000 (06:45 +0000)]
r24795: When talking to squid, allocate the buffer size dynamically.
Jelmer Vernooij [Thu, 30 Aug 2007 02:02:04 +0000 (02:02 +0000)]
r24794: util_proto.h is no longer generated.
Andrew Bartlett [Thu, 30 Aug 2007 00:25:47 +0000 (00:25 +0000)]
r24793: The subtree_rename module is a work of fiction. An resemblance to a
working module, live or dead, is purely co-incidental.
Andrew Bartlett
Jelmer Vernooij [Wed, 29 Aug 2007 13:07:03 +0000 (13:07 +0000)]
r24780: More work allowing libutil to be used by external users.
Ronnie Sahlberg [Wed, 29 Aug 2007 12:51:46 +0000 (12:51 +0000)]
r24779: add 11 specific access rights that applies to accessmasks for User
objects on the samr pipe.
8 of these bits :
get name etc
get locale
get loc com
set attributes
change password
set password
get groups
comes from wireshark/ethereal where they were added Aug 21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
3 bits :
get attributes
get group membership
change group membership
also come from wireshark/ethereal where they were added Jul 24 2003
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=8022&r2=8080
Ronnie Sahlberg [Wed, 29 Aug 2007 12:39:58 +0000 (12:39 +0000)]
r24777: add 11 specific access rights to the access mask for
domains on the samr pipe
10 of these bits :
lookup info 1
set info 1
lookup info 2
set info 2
create user
create group
create alias
enum account
open account
set info 3
come from wireshark/ethereal and were added to wireshark in Aug 21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
one bit
lookup alias
also comes from wireshark where it was added in wireshark in Feb 21 2003
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=7173&r2=7178
Ronnie Sahlberg [Wed, 29 Aug 2007 12:22:15 +0000 (12:22 +0000)]
r24775: add 5 specific access right bits for the accessmask that refers
to Groups on the samr pipe
the five bits
lookup info
set info
add member
remove member
get members
comes from the wireshark/ethereal sources where they were added in Aug
21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
Ronnie Sahlberg [Wed, 29 Aug 2007 11:54:23 +0000 (11:54 +0000)]
r24774: add 5 specific access mask bits for policy handles created for aliases
these five access mask bits :
add member
remove members
get members
lookup info
set info
come from wireshark/ethereal where they were added to cvs in Aug 21 2002
http://anonsvn.wireshark.org/viewvc/viewvc.py/trunk/epan/dissectors/packet-dcerpc-samr.c?r1=5987&r2=6054
Ronnie Sahlberg [Wed, 29 Aug 2007 11:04:49 +0000 (11:04 +0000)]
r24772: add a bitmap that describes 6 of the specific accessmask bits for
policy handles that are create by Connect?() calls on the samr pipe.
these bits come from the wireshark/ethereal sources where they have
been documented for a long time.
the bits :
connect to server
initialize server
create domain
were added to wireshark/ethereal in svn 8080 Jul 24 2003
the bits :
open domain
enum domain
shutdown server
were added to wireshark/ethereal in svn 6054 Aug 21 2002
Ronnie Sahlberg [Wed, 29 Aug 2007 06:58:25 +0000 (06:58 +0000)]
r24768: redo the pingpong torture using sync functions to make the code simpler
Ronnie Sahlberg [Wed, 29 Aug 2007 05:45:24 +0000 (05:45 +0000)]
r24767: add a torture test that performs "ping-pong" that works the same way as
ping-pong.c
this is a manual test and only makes sense to be used in parallell with
the real ping-pong.c tool
Andrew Tridgell [Wed, 29 Aug 2007 05:34:20 +0000 (05:34 +0000)]
r24766: forgot to commit this before. It is needed as this never terminates.
Andrew Tridgell [Wed, 29 Aug 2007 04:33:26 +0000 (04:33 +0000)]
r24765: added a RAW-HOLD-OPLOCK test. This is a manual test, meant to be used
to test the interaction of oplocks with local filesystem or NFS
access. You start it, then manually access the 4 files via another
mechanism (such as a shell) and see what oplock breaks you get
Jelmer Vernooij [Wed, 29 Aug 2007 02:01:56 +0000 (02:01 +0000)]
r24763: Allow users to leave out the transport in DCE/RPC binding strings. If the transport is not specified, it will be retrieved from the remote endpoint mapper or the IDL file.
This means that 'smbtorture localhost RPC-WINREG' works now.
Andrew Bartlett [Wed, 29 Aug 2007 01:40:58 +0000 (01:40 +0000)]
r24761: Permit subtree renames in Samba4.
The module is scary: On a rename, it does a search for all entries
under that entry (including itself), and fires off a seperate rename
call for each result. This will fail miserably on an LDAP backend,
but I'll need to work on using hdb for OpenLDAP, and hope Fedora DS
can implement subtree renames at some point.
Andrew Bartlett
Andrew Bartlett [Wed, 29 Aug 2007 01:37:26 +0000 (01:37 +0000)]
r24760: Ensure we base64 encode any password being put into LDIF, to avoid
provision failures when some of the random password values are illigal
LDIF.
Andrew Bartlett
Jelmer Vernooij [Wed, 29 Aug 2007 00:56:13 +0000 (00:56 +0000)]
r24758: More use of torture API.
Jelmer Vernooij [Wed, 29 Aug 2007 00:04:40 +0000 (00:04 +0000)]
r24757: Try parsing a UNC location before a DCE/RPC binding string as the latter now
accepts strings not prefixed with a transport.
Jelmer Vernooij [Tue, 28 Aug 2007 19:03:08 +0000 (19:03 +0000)]
r24755: Use common code for finding the RPC binding in the torture tests.
Jelmer Vernooij [Tue, 28 Aug 2007 17:45:57 +0000 (17:45 +0000)]
r24753: Allow host name in binding string without transport.
Jelmer Vernooij [Tue, 28 Aug 2007 16:24:18 +0000 (16:24 +0000)]
r24751: Run more tests, remove empty testsuites, more small improvements.
Jelmer Vernooij [Tue, 28 Aug 2007 14:42:37 +0000 (14:42 +0000)]
r24741: More use of the torture API.
Michael Adam [Tue, 28 Aug 2007 14:25:46 +0000 (14:25 +0000)]
r24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and r23977.
Michael
Jelmer Vernooij [Tue, 28 Aug 2007 13:49:34 +0000 (13:49 +0000)]
r24736: Convert to using torture API.
Jelmer Vernooij [Tue, 28 Aug 2007 12:54:27 +0000 (12:54 +0000)]
r24735: Use torture API in more places.
Rafal Szczesniak [Tue, 28 Aug 2007 09:57:47 +0000 (09:57 +0000)]
r24732: Add comments and fix memory leak.
rafal
Andrew Bartlett [Tue, 28 Aug 2007 05:43:26 +0000 (05:43 +0000)]
r24731: Remove unused code - if we hit these error conditions, then we are
dead anyway, and a segfault would leave us with more infomation.
Andrew Bartlett
Andrew Bartlett [Tue, 28 Aug 2007 04:35:29 +0000 (04:35 +0000)]
r24730: Allow secrets entries to be for service principals.
Andrew Bartlett
Andrew Bartlett [Tue, 28 Aug 2007 04:28:02 +0000 (04:28 +0000)]
r24729: First try and publishing a DNS service account, for folks to play with.
The keytab in dns.keytab should (I hope) do the job.
Andrew Bartlett
Jelmer Vernooij [Tue, 28 Aug 2007 00:16:58 +0000 (00:16 +0000)]
r24728: Use more stock torture functions.
Jelmer Vernooij [Mon, 27 Aug 2007 22:18:16 +0000 (22:18 +0000)]
r24727: Initialize variable.
Jelmer Vernooij [Mon, 27 Aug 2007 22:01:58 +0000 (22:01 +0000)]
r24726: Add tests for getting/setting security descriptors (still failing at the moment)
Jelmer Vernooij [Mon, 27 Aug 2007 21:24:44 +0000 (21:24 +0000)]
r24725: Don't segfault if hive file can't be found
Jelmer Vernooij [Mon, 27 Aug 2007 21:19:34 +0000 (21:19 +0000)]
r24724: Also install the .reg files for provisioning from an installed version.
Jelmer Vernooij [Mon, 27 Aug 2007 21:17:29 +0000 (21:17 +0000)]
r24723: Install the right headers for use by samba-gtk.
Jelmer Vernooij [Mon, 27 Aug 2007 19:47:23 +0000 (19:47 +0000)]
r24721: Avoid True and False because they are only available within Samba.
Jelmer Vernooij [Mon, 27 Aug 2007 18:56:46 +0000 (18:56 +0000)]
r24718: Fix some compiler warnings.
Jelmer Vernooij [Mon, 27 Aug 2007 18:43:18 +0000 (18:43 +0000)]
r24717: Some more easy bool conversions, update TODO for registry
Jelmer Vernooij [Mon, 27 Aug 2007 18:32:51 +0000 (18:32 +0000)]
r24715: Mark fstring and pstring as deprecated.
Jelmer Vernooij [Mon, 27 Aug 2007 18:10:19 +0000 (18:10 +0000)]
r24712: No longer expose the 'BOOL' data type in any interfaces.
Jelmer Vernooij [Mon, 27 Aug 2007 17:21:16 +0000 (17:21 +0000)]
r24710: Use standard boolean type for easier use by external users.
Jelmer Vernooij [Mon, 27 Aug 2007 16:27:23 +0000 (16:27 +0000)]
r24709: Convert perl test harness output to subunit for nicer display.
Jelmer Vernooij [Mon, 27 Aug 2007 15:15:38 +0000 (15:15 +0000)]
r24708: Move subunit code to a separate module.
Jelmer Vernooij [Mon, 27 Aug 2007 14:38:13 +0000 (14:38 +0000)]
r24707: Remove some more cruft from the test list generation code.
Jelmer Vernooij [Mon, 27 Aug 2007 14:36:22 +0000 (14:36 +0000)]
r24706: Move nmblookup tests to separate blackbox testsuite.
Jelmer Vernooij [Mon, 27 Aug 2007 14:06:25 +0000 (14:06 +0000)]
r24705: Avoid undefined value warnings.
Jelmer Vernooij [Mon, 27 Aug 2007 13:53:18 +0000 (13:53 +0000)]
r24704: Fix bug in the registry patch code.. all the more proves this code needs tests.
Jelmer Vernooij [Mon, 27 Aug 2007 13:13:08 +0000 (13:13 +0000)]
r24703: Use standard registry diff files when provisioning rather than
LDIF files for the registry files.
Andrew Tridgell [Mon, 27 Aug 2007 11:17:48 +0000 (11:17 +0000)]
r24700: added auto-reconnect to BENCH-NBENCH. Used for testing cluster
failover
this is based on a patch from Dmitry Shatrov, with some mods from me
Andrew Bartlett [Mon, 27 Aug 2007 10:16:54 +0000 (10:16 +0000)]
r24698: Patch from Andrew Kroeger <andrew@sprocks.gotdns.com> to fix Bug
#4521: smbclient crashes during tab completion when tab hit twice.
The readline magic is beyond me, but this seems to do the trick.
Andrew Bartlett
Andrew Bartlett [Mon, 27 Aug 2007 02:31:51 +0000 (02:31 +0000)]
r24697: Excelent patch and detective work by Matthias Wallnöfer
<mwallnoefer@yahoo.de> noticing that:
> The error was caused by info1 that is'nt talloced but rather static.
In fact, no caller supplies info1 as a valid talloc context - other
callers supply an element into the array.
Andrew Bartlett
Andrew Bartlett [Mon, 27 Aug 2007 02:26:24 +0000 (02:26 +0000)]
r24696: Fix bug 4918 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>
with a patch from Andrew Kroeger <andrew@sprocks.gotdns.com>.
The changes to samldb_fill_foreignSecurityPrincipal_object() look much
larger then they are: We just skip all the objectSid generation if the
SID is supplied.
By providing a few more objects, standard dialogs on the clients are
better behaved, for these 'well known' users.
Andrew Bartlett
Andrew Bartlett [Mon, 27 Aug 2007 01:55:03 +0000 (01:55 +0000)]
r24695: Now the Samba4 passes this test, remove the skip...
Andrew Bartlett
Andrew Bartlett [Mon, 27 Aug 2007 01:54:32 +0000 (01:54 +0000)]
r24694: Remove objectCategory entries from the setup templates. These can be
autogenerated by the objectclass module when the the entries are
added.
Andrew Bartlett
Andrew Bartlett [Mon, 27 Aug 2007 01:46:09 +0000 (01:46 +0000)]
r24693: Test search options in ldb blackbox testing.
Andrew Bartlett
Jelmer Vernooij [Mon, 27 Aug 2007 00:38:42 +0000 (00:38 +0000)]
r24692: Color expected fialures orange rather than green.
Jelmer Vernooij [Mon, 27 Aug 2007 00:36:26 +0000 (00:36 +0000)]
r24691: All smbclient blackbox tests pass.
Andrew Bartlett [Mon, 27 Aug 2007 00:31:14 +0000 (00:31 +0000)]
r24690: Further fix to bug 4919: Ensure we don't supply a NULL URL argument to
ldb_connect_backend().
Andrew Bartlett
Jelmer Vernooij [Mon, 27 Aug 2007 00:21:37 +0000 (00:21 +0000)]
r24689: There is no such test as LDAP-UPTODATENESS.
Jelmer Vernooij [Mon, 27 Aug 2007 00:19:45 +0000 (00:19 +0000)]
r24688: Make output subunit-parseable.
Jelmer Vernooij [Sun, 26 Aug 2007 23:22:54 +0000 (23:22 +0000)]
r24687: Registry tests are succeeding now so remove from known failure list, add summary page with failures and skipped tests to html output.
Jelmer Vernooij [Sun, 26 Aug 2007 22:20:02 +0000 (22:20 +0000)]
r24686: Make sure control messages are on a new line.
Jelmer Vernooij [Sun, 26 Aug 2007 22:15:44 +0000 (22:15 +0000)]
r24685: Don't warn about iconv tests not being usable until they're actually being run.
Jelmer Vernooij [Sun, 26 Aug 2007 22:12:02 +0000 (22:12 +0000)]
r24684: Be a bit less verbose
Jelmer Vernooij [Sun, 26 Aug 2007 21:52:27 +0000 (21:52 +0000)]
r24683: Add two more tests.
Rafal Szczesniak [Sun, 26 Aug 2007 21:49:23 +0000 (21:49 +0000)]
r24682: forgot to actually make the new test buil...
rafal
Rafal Szczesniak [Sun, 26 Aug 2007 21:48:26 +0000 (21:48 +0000)]
r24681: add basic test of libnet_GroupInfo function.
rafal
Rafal Szczesniak [Sun, 26 Aug 2007 21:47:16 +0000 (21:47 +0000)]
r24680: fix a couple of stupid typos from previous commit.
rafal
Rafal Szczesniak [Sun, 26 Aug 2007 20:25:39 +0000 (20:25 +0000)]
r24679: Add (raw and untested) implementation of libnet_GroupInfo function.
rafal
Jelmer Vernooij [Sun, 26 Aug 2007 20:14:28 +0000 (20:14 +0000)]
r24678: More improvements to html output; list unexpected successes and failures seperately from expected ones.
Jelmer Vernooij [Sun, 26 Aug 2007 20:07:12 +0000 (20:07 +0000)]
r24677: Also add built flex file for people that don't have lex.
Jelmer Vernooij [Sun, 26 Aug 2007 20:05:13 +0000 (20:05 +0000)]
r24676: Fix pointers being used rather than the data they point at - caught by the IRIX compiler.
Jelmer Vernooij [Sun, 26 Aug 2007 20:00:56 +0000 (20:00 +0000)]
r24675: Specify mode to mkdir, as required by some versions of perl.
Jelmer Vernooij [Sun, 26 Aug 2007 19:58:40 +0000 (19:58 +0000)]
r24674: Make sure results are always on a new line, fix typo in test name.
Jelmer Vernooij [Sun, 26 Aug 2007 19:14:13 +0000 (19:14 +0000)]
r24673: Put lex/yacc output under version control for hosts that don't have those tools.
Jelmer Vernooij [Sun, 26 Aug 2007 19:09:40 +0000 (19:09 +0000)]
r24672: Add dummy variable to prevent errors on some compilers.
Jelmer Vernooij [Sun, 26 Aug 2007 19:07:46 +0000 (19:07 +0000)]
r24671: More improvements to the HTML test suite results: hide
control messages, improve summary, stylesheet.
Jelmer Vernooij [Sun, 26 Aug 2007 18:24:12 +0000 (18:24 +0000)]
r24670: Use torture functions for settings.
Jelmer Vernooij [Sun, 26 Aug 2007 16:56:41 +0000 (16:56 +0000)]
r24669: Add CSS to the test run HTML output. See samba.org/~jelmer/ for an
example of the current output.
Jelmer Vernooij [Sun, 26 Aug 2007 15:55:06 +0000 (15:55 +0000)]
r24668: Fix header installation.
Jelmer Vernooij [Sun, 26 Aug 2007 15:16:40 +0000 (15:16 +0000)]
r24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
been working on for at least half a year now. Contains the following
improvements:
* proper layering (finally!) for the registry library. Distinction is
now made between 'real' backends (local, remote, wine, etc) and
the low-level hive backends (regf, creg, ldb, ...) that are only used
by the local registry backend
* tests for all important hive and registry operations
* re-enable RPC-WINREG tests (still needs more work though, as
some return values aren't checked yet)
* write support for REGF files
* dir backend now supports setting/reading values, creating keys
* support for storing security descriptors
* remove CREG backend as it was incomplete, didn't match the data model
and wasn't used at all anyway
* support for parsing ADM files as used by the policy editor (see lib/policy)
* support for parsing PREG files (format used by .POL files)
* new streaming interface for registry diffs (improves speed and memory usage
for regdiff/regpatch significantly)
... and fixes a large number of bugs in the registry code
Jelmer Vernooij [Sun, 26 Aug 2007 14:07:23 +0000 (14:07 +0000)]
r24665: Close file handles properly.
Jelmer Vernooij [Sat, 25 Aug 2007 15:55:29 +0000 (15:55 +0000)]
r24657: Use torture functions.
Andrew Bartlett [Fri, 24 Aug 2007 22:58:29 +0000 (22:58 +0000)]
r24655: Fix bug 4919 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>:
> When you change to the SAMBA private directory on a shell (default
> /usr/local/samba/private) and start there for example ldbedit with the sam.ldb,
> the application crashes if you don't put the "./" before the filename.
I've adapted Matthias's patch.
Andrew Bartlett
Simo Sorce [Fri, 24 Aug 2007 13:31:05 +0000 (13:31 +0000)]
r24651: Allow dynamic updates for the domain controller over its own name
Simo Sorce [Fri, 24 Aug 2007 13:21:43 +0000 (13:21 +0000)]
r24650: Some more instructions to have make GSS-TSIG work
Andrew Bartlett [Fri, 24 Aug 2007 06:29:20 +0000 (06:29 +0000)]
r24648: Found out the meaning of a few more flags.
Andrew Tridgell [Fri, 24 Aug 2007 06:10:16 +0000 (06:10 +0000)]
r24647: this passes now
Andrew Tridgell [Fri, 24 Aug 2007 03:40:40 +0000 (03:40 +0000)]
r24646: fixed the handling of case insensitive paths with wildcards
Andrew Tridgell [Fri, 24 Aug 2007 02:38:51 +0000 (02:38 +0000)]
r24645: add in the ctdb dbwrap backend
Andrew Tridgell [Fri, 24 Aug 2007 02:38:17 +0000 (02:38 +0000)]
r24644: add a ctdb_fetch() function to the ctdb client code
Andrew Tridgell [Fri, 24 Aug 2007 02:38:09 +0000 (02:38 +0000)]
r24643: add a ctdb_fetch() function to the ctdb client code
Andrew Tridgell [Fri, 24 Aug 2007 02:37:38 +0000 (02:37 +0000)]
r24642: prevent recursion with fetch_locked
add a note about server_id exists checking
Andrew Tridgell [Fri, 24 Aug 2007 02:35:46 +0000 (02:35 +0000)]
r24641: fixed several memory leaks in the brlock code
Andrew Bartlett [Fri, 24 Aug 2007 01:57:54 +0000 (01:57 +0000)]
r24640: Add a suggested BIND configuration snippit, to help with DNS configuration.
When we sort out GSS-TSIG on the server, we can expand this to have
the 'right stuff'.
Andrew Bartlett
Andrew Bartlett [Thu, 23 Aug 2007 11:52:54 +0000 (11:52 +0000)]
r24633: Try to start on a set of release notes for Samba4 alpha1.
I still have things to fix, but I think we are close to making this
release.
Andrew Bartlett
Andrew Bartlett [Thu, 23 Aug 2007 02:10:17 +0000 (02:10 +0000)]
r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.
Andrew Bartlett
Michael Adam [Wed, 22 Aug 2007 13:51:44 +0000 (13:51 +0000)]
r24629: Make read_sock return the total number of bytes read instead
of the number of bytes read in the last of possibly several
read calls.
This was noted by Metze.
Michael
Stefan Metzmacher [Wed, 22 Aug 2007 12:44:22 +0000 (12:44 +0000)]
r24626: as TALLOC_ABORT() is defined to abort() by default
wrap it into a function so that the function name
in the backtrace shows what happens.
metze
Stefan Metzmacher [Wed, 22 Aug 2007 12:21:40 +0000 (12:21 +0000)]
r24623: add back '-D' option to smbd
metze