jra/samba/.git
16 years agor24729: First try and publishing a DNS service account, for folks to play with.
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
(This used to be commit af4d331eef91ef7699d179d15e7337fff1eff7bb)

16 years agor24728: Use more stock torture functions.
Jelmer Vernooij [Tue, 28 Aug 2007 00:16:58 +0000 (00:16 +0000)]
r24728: Use more stock torture functions.
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)

16 years agor24727: Initialize variable.
Jelmer Vernooij [Mon, 27 Aug 2007 22:18:16 +0000 (22:18 +0000)]
r24727: Initialize variable.
(This used to be commit 925fcc336621250a8e45adf3ce8d2ff42307c066)

16 years agor24726: Add tests for getting/setting security descriptors (still failing at the...
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)
(This used to be commit ecdfaf56c09e75dc3ca37a3599c89661ad3485ff)

16 years agor24725: Don't segfault if hive file can't be found
Jelmer Vernooij [Mon, 27 Aug 2007 21:24:44 +0000 (21:24 +0000)]
r24725: Don't segfault if hive file can't be found
(This used to be commit 2daa8fa88dbc80a7c54c4b489b1037658d95755c)

16 years agor24724: Also install the .reg files for provisioning from an installed version.
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.
(This used to be commit 9553c20ced3945c5ab8392f7239ecdc852a0e81b)

16 years agor24723: Install the right headers for use by samba-gtk.
Jelmer Vernooij [Mon, 27 Aug 2007 21:17:29 +0000 (21:17 +0000)]
r24723: Install the right headers for use by samba-gtk.
(This used to be commit 762e893d9ce4cc73bb1763a9520634bf921c0503)

16 years agor24721: Avoid True and False because they are only available within Samba.
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.
(This used to be commit 2d049c8d30876075b03ff74f7ba6d0c57bfb5c45)

16 years agor24718: Fix some compiler warnings.
Jelmer Vernooij [Mon, 27 Aug 2007 18:56:46 +0000 (18:56 +0000)]
r24718: Fix some compiler warnings.
(This used to be commit 08f7389ab7312d350e056b1ba98da86d80944424)

16 years agor24717: Some more easy bool conversions, update TODO for registry
Jelmer Vernooij [Mon, 27 Aug 2007 18:43:18 +0000 (18:43 +0000)]
r24717: Some more easy bool conversions, update TODO for registry
(This used to be commit fc8771fb6aab815e63334da0159032f7ecd0a931)

16 years agor24715: Mark fstring and pstring as deprecated.
Jelmer Vernooij [Mon, 27 Aug 2007 18:32:51 +0000 (18:32 +0000)]
r24715: Mark fstring and pstring as deprecated.
(This used to be commit c8118f156129cbd173693157e6648ed5e01813f3)

16 years agor24712: No longer expose the 'BOOL' data type in any interfaces.
Jelmer Vernooij [Mon, 27 Aug 2007 18:10:19 +0000 (18:10 +0000)]
r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)

16 years agor24710: Use standard boolean type for easier use by external users.
Jelmer Vernooij [Mon, 27 Aug 2007 17:21:16 +0000 (17:21 +0000)]
r24710: Use standard boolean type for easier use by external users.
(This used to be commit 99f4124137d4a61216e8189f26d4da32882c0f4a)

16 years agor24709: Convert perl test harness output to subunit for nicer display.
Jelmer Vernooij [Mon, 27 Aug 2007 16:27:23 +0000 (16:27 +0000)]
r24709: Convert perl test harness output to subunit for nicer display.
(This used to be commit 1be11bd0a5092ad9102587ea206388234983c479)

16 years agor24708: Move subunit code to a separate module.
Jelmer Vernooij [Mon, 27 Aug 2007 15:15:38 +0000 (15:15 +0000)]
r24708: Move subunit code to a separate module.
(This used to be commit 4be702896d6875b463dee046b34744b0b5699519)

16 years agor24707: Remove some more cruft from the test list generation code.
Jelmer Vernooij [Mon, 27 Aug 2007 14:38:13 +0000 (14:38 +0000)]
r24707: Remove some more cruft from the test list generation code.
(This used to be commit 76dddbdb519e2ff5384cb931cd24d6763985c5b2)

16 years agor24706: Move nmblookup tests to separate blackbox testsuite.
Jelmer Vernooij [Mon, 27 Aug 2007 14:36:22 +0000 (14:36 +0000)]
r24706: Move nmblookup tests to separate blackbox testsuite.
(This used to be commit aeb2e714f22abe68f89218967a55d7abd2d04ae1)

16 years agor24705: Avoid undefined value warnings.
Jelmer Vernooij [Mon, 27 Aug 2007 14:06:25 +0000 (14:06 +0000)]
r24705: Avoid undefined value warnings.
(This used to be commit 10f266e4d6a821a91bfa612d744eb7a4bab4ba6a)

16 years agor24704: Fix bug in the registry patch code.. all the more proves this code needs...
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.
(This used to be commit aa98d219571c4a7af1e5a0f8483cc17a4b6b36e2)

16 years agor24703: Use standard registry diff files when provisioning rather than
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.
(This used to be commit 67ad556b7388e5d82756e0a3cfc596e44136329c)

16 years agor24700: added auto-reconnect to BENCH-NBENCH. Used for testing cluster
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
(This used to be commit 737be7e2d6cefbdd207629fc2cdd27de83d326b6)

16 years agor24698: Patch from Andrew Kroeger <andrew@sprocks.gotdns.com> to fix Bug
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
(This used to be commit e05f3450ecc3f99509fbc069b09d402e3b6d7564)

16 years agor24697: Excelent patch and detective work by Matthias Wallnöfer
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
(This used to be commit c8e6a87867909b092d0451cd619d7eff4cd80dff)

16 years agor24696: Fix bug 4918 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>
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
(This used to be commit 35ee4aee719e69983d650602d1c6422a31600001)

16 years agor24695: Now the Samba4 passes this test, remove the skip...
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
(This used to be commit 771affed88edd1e2ad891bf2a253f7dc8082dd86)

16 years agor24694: Remove objectCategory entries from the setup templates. These can be
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
(This used to be commit 79e13349f00d009fc5dd0cdddade379df906ebc8)

16 years agor24693: Test search options in ldb blackbox testing.
Andrew Bartlett [Mon, 27 Aug 2007 01:46:09 +0000 (01:46 +0000)]
r24693: Test search options in ldb blackbox testing.

Andrew Bartlett
(This used to be commit 9f45b5553a53d2e8a1c2643bf58fb90db8217b66)

16 years agor24692: Color expected fialures orange rather than green.
Jelmer Vernooij [Mon, 27 Aug 2007 00:38:42 +0000 (00:38 +0000)]
r24692: Color expected fialures orange rather than green.
(This used to be commit cadfc0a7a1a86122f9dc5f127c0cd8be89cdaf46)

16 years agor24691: All smbclient blackbox tests pass.
Jelmer Vernooij [Mon, 27 Aug 2007 00:36:26 +0000 (00:36 +0000)]
r24691: All smbclient blackbox tests pass.
(This used to be commit c3a138627487ec0ed5a4c4c4457df35275f4cada)

16 years agor24690: Further fix to bug 4919: Ensure we don't supply a NULL URL argument to
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
(This used to be commit d0595e7a3d15c40dd49062efa0ddc6864b6b9030)

16 years agor24689: There is no such test as LDAP-UPTODATENESS.
Jelmer Vernooij [Mon, 27 Aug 2007 00:21:37 +0000 (00:21 +0000)]
r24689: There is no such test as LDAP-UPTODATENESS.
(This used to be commit ebdb0ce83b66faeeb3396f293c7fc8ed52c387e7)

16 years agor24688: Make output subunit-parseable.
Jelmer Vernooij [Mon, 27 Aug 2007 00:19:45 +0000 (00:19 +0000)]
r24688: Make output subunit-parseable.
(This used to be commit 2585c6feb22b4409a635017875a2e93fe7c436ba)

16 years agor24687: Registry tests are succeeding now so remove from known failure list, add...
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.
(This used to be commit 227659c2c05f76a37e1c9d20dc3f8b6966a111df)

16 years agor24686: Make sure control messages are on a new line.
Jelmer Vernooij [Sun, 26 Aug 2007 22:20:02 +0000 (22:20 +0000)]
r24686: Make sure control messages are on a new line.
(This used to be commit 90119f96e96ce71b1fe145be9027d925831f6500)

16 years agor24685: Don't warn about iconv tests not being usable until they're actually being...
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.
(This used to be commit df34e606981c3a9fe5b9ac846dbf40d36500bd6b)

16 years agor24684: Be a bit less verbose
Jelmer Vernooij [Sun, 26 Aug 2007 22:12:02 +0000 (22:12 +0000)]
r24684: Be a bit less verbose
(This used to be commit 7a7af62dc4485d832436ed39dfba41b417ec2b10)

16 years agor24683: Add two more tests.
Jelmer Vernooij [Sun, 26 Aug 2007 21:52:27 +0000 (21:52 +0000)]
r24683: Add two more tests.
(This used to be commit c87576743b09773489478e6eebeb3a282d6ec21b)

16 years agor24682: forgot to actually make the new test buil...
Rafal Szczesniak [Sun, 26 Aug 2007 21:49:23 +0000 (21:49 +0000)]
r24682: forgot to actually make the new test buil...

rafal
(This used to be commit dbcf4f15a6a0c1bb93b5f65f85795af262bf7552)

16 years agor24681: add basic test of libnet_GroupInfo function.
Rafal Szczesniak [Sun, 26 Aug 2007 21:48:26 +0000 (21:48 +0000)]
r24681: add basic test of libnet_GroupInfo function.

rafal
(This used to be commit 5ba36fe70308d99b8ca9104ebf42a5dc0bc7bab7)

16 years agor24680: fix a couple of stupid typos from previous commit.
Rafal Szczesniak [Sun, 26 Aug 2007 21:47:16 +0000 (21:47 +0000)]
r24680: fix a couple of stupid typos from previous commit.

rafal
(This used to be commit b21b322e4ce593dafb5331dc4d65fa2d69b61cb8)

16 years agor24679: Add (raw and untested) implementation of libnet_GroupInfo function.
Rafal Szczesniak [Sun, 26 Aug 2007 20:25:39 +0000 (20:25 +0000)]
r24679: Add (raw and untested) implementation of libnet_GroupInfo function.

rafal
(This used to be commit 80479eee256ab549b28cbd086a1343ce2a3c4948)

16 years agor24678: More improvements to html output; list unexpected successes and failures...
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.
(This used to be commit 14fda5260d49a89d7e74302958fe27b73415e6a1)

16 years agor24677: Also add built flex file for people that don't have lex.
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.
(This used to be commit a223be56dff504f2fcbbf8fba2c7f764eb9624b0)

16 years agor24676: Fix pointers being used rather than the data they point at - caught by the...
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.
(This used to be commit 678b125532621e2b2823e92695326469f0e557ed)

16 years agor24675: Specify mode to mkdir, as required by some versions of perl.
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.
(This used to be commit 2a21e69cd334fca7da8997562356e813a20a038f)

16 years agor24674: Make sure results are always on a new line, fix typo in test name.
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.
(This used to be commit 40c1635b39b4acff0acecc734583daa0217215ce)

16 years agor24673: Put lex/yacc output under version control for hosts that don't have those...
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.
(This used to be commit 92966041501718854b174d471301219a369ad057)

16 years agor24672: Add dummy variable to prevent errors on some compilers.
Jelmer Vernooij [Sun, 26 Aug 2007 19:09:40 +0000 (19:09 +0000)]
r24672: Add dummy variable to prevent errors on some compilers.
(This used to be commit d3b1acce112b3d4aa1be40a77af085e3a825be0d)

16 years agor24671: More improvements to the HTML test suite results: hide
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.
(This used to be commit fcc2320417707ec803d706a923a231fbd1bb72a7)

16 years agor24670: Use torture functions for settings.
Jelmer Vernooij [Sun, 26 Aug 2007 18:24:12 +0000 (18:24 +0000)]
r24670: Use torture functions for settings.
(This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8)

16 years agor24669: Add CSS to the test run HTML output. See http://samba.org/~jelmer/ for an
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.
(This used to be commit 1e57394e865a9122bddb3413088a19d4f57a3e3d)

16 years agor24668: Fix header installation.
Jelmer Vernooij [Sun, 26 Aug 2007 15:55:06 +0000 (15:55 +0000)]
r24668: Fix header installation.
(This used to be commit e9e66693505e5b9f136bd24f5f76ccd0ae574d99)

16 years agor24667: Finally merge the registry improvements that Wilco Baan Hofman and I have
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
(This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)

16 years agor24665: Close file handles properly.
Jelmer Vernooij [Sun, 26 Aug 2007 14:07:23 +0000 (14:07 +0000)]
r24665: Close file handles properly.
(This used to be commit 7f914b08a77c6035918d9f4463990f1dd8f3efb9)

16 years agor24657: Use torture functions.
Jelmer Vernooij [Sat, 25 Aug 2007 15:55:29 +0000 (15:55 +0000)]
r24657: Use torture functions.
(This used to be commit e95c50fc501ee4e2a394dc01f2708abb9d937e28)

16 years agor24655: Fix bug 4919 reported by Matthias Wallnöfer <mwallnoefer@yahoo.de>:
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
(This used to be commit ba82197e30da8e626419e877d224431703edc866)

16 years agor24651: Allow dynamic updates for the domain controller over its own name
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
(This used to be commit ce9b64341159cb1a8f42809dcecc0b1e80eb8a5e)

16 years agor24650: Some more instructions to have make GSS-TSIG work
Simo Sorce [Fri, 24 Aug 2007 13:21:43 +0000 (13:21 +0000)]
r24650: Some more instructions to have make GSS-TSIG work
(This used to be commit 98350b35ab0b0f06cc9ddf8edaf3dfe705c3e5bf)

16 years agor24648: Found out the meaning of a few more flags.
Andrew Bartlett [Fri, 24 Aug 2007 06:29:20 +0000 (06:29 +0000)]
r24648: Found out the meaning of a few more flags.
(This used to be commit 6bdebc3cfdf13358bbb610af2a7f9889b4f885cb)

16 years agor24647: this passes now
Andrew Tridgell [Fri, 24 Aug 2007 06:10:16 +0000 (06:10 +0000)]
r24647: this passes now
(This used to be commit baa6cfaa78725a2504e1557cad76a2152df7f979)

16 years agor24646: fixed the handling of case insensitive paths with wildcards
Andrew Tridgell [Fri, 24 Aug 2007 03:40:40 +0000 (03:40 +0000)]
r24646: fixed the handling of case insensitive paths with wildcards
(This used to be commit 066bcd8420045f095130674e32bdee97cb1471be)

16 years agor24645: add in the ctdb dbwrap backend
Andrew Tridgell [Fri, 24 Aug 2007 02:38:51 +0000 (02:38 +0000)]
r24645: add in the ctdb dbwrap backend
(This used to be commit e2d173fde17ab903bddf2139d8100785280856bd)

16 years agor24644: add a ctdb_fetch() function to the ctdb client code
Andrew Tridgell [Fri, 24 Aug 2007 02:38:17 +0000 (02:38 +0000)]
r24644: add a ctdb_fetch() function to the ctdb client code
(This used to be commit 1aa4628f16b4c2ba4c8253fdd9c109b3ea874c5a)

16 years agor24643: 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
(This used to be commit 5705ee04498780d8ca89290e85b8ec831f0a185d)

16 years agor24642: prevent recursion with fetch_locked
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
(This used to be commit dd951b983c0cde2dd54c5370dc8d6440509b0559)

16 years agor24641: fixed several memory leaks in the brlock code
Andrew Tridgell [Fri, 24 Aug 2007 02:35:46 +0000 (02:35 +0000)]
r24641: fixed several memory leaks in the brlock code
(This used to be commit aa0a3489646ee0ce9d69e4c57c60f83e4894c8a3)

16 years agor24640: Add a suggested BIND configuration snippit, to help with DNS configuration.
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
(This used to be commit 8f02ade1b2cc164f64f4ea8a371c107ccf6a81b3)

16 years agor24633: Try to start on a set of release notes for Samba4 alpha1.
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
(This used to be commit a1bfd410d6c31f58d6c7825cd1970c38d2ad713d)

16 years agor24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.
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
(This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)

16 years agor24629: Make read_sock return the total number of bytes read instead
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
(This used to be commit 37363307c6cbe28f1ca7135ca501d8c0dcd4c6d7)

16 years agor24626: as TALLOC_ABORT() is defined to abort() by default
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
(This used to be commit 0216ff6daa276e413811ca32cca0a66b4b2abe55)

16 years agor24623: add back '-D' option to smbd
Stefan Metzmacher [Wed, 22 Aug 2007 12:21:40 +0000 (12:21 +0000)]
r24623: add back '-D' option to smbd

metze
(This used to be commit 5ecc1311a143dd1adf9369d71ccb919be06daf57)

16 years agor24620: move printing out the version string and exit()
Stefan Metzmacher [Wed, 22 Aug 2007 12:04:42 +0000 (12:04 +0000)]
r24620: move printing out the version string and exit()
into the popt _POST processing.

Now 'smbd -V --bla' complains about an unknown option

metze
(This used to be commit 69bf7f1874c8e89b61c4baa03ff9ad191e71b804)

16 years agor24614: Merge with current lorikeet-heimdal. This brings us one step closer
Andrew Bartlett [Wed, 22 Aug 2007 06:46:34 +0000 (06:46 +0000)]
r24614: Merge with current lorikeet-heimdal.  This brings us one step closer
to an alpha release.

Andrew Bartlett
(This used to be commit 30e02747d511630659c59eafec8d28f58605943b)

16 years agor24613: Missed this in my recent commit -r 24611. We don't discriminate on
Andrew Bartlett [Wed, 22 Aug 2007 05:32:52 +0000 (05:32 +0000)]
r24613: Missed this in my recent commit -r 24611.  We don't discriminate on
where the password change came from, to determine if policy should be
applied.  We discriminate on if the account is a trust account.

Andrew Bartlett
(This used to be commit 48fd2889571b10a6057b9e271860e4951fc85c8b)

16 years agor24612: Revert this part of -r 24611. This isn't related to my SAMR password
Andrew Bartlett [Wed, 22 Aug 2007 04:43:17 +0000 (04:43 +0000)]
r24612: Revert this part of -r 24611.  This isn't related to my SAMR password
work, but to an odd bind failure I noticed in a trace.  I need to
commit this with changes to the torture suite.

Andrew Bartlett
(This used to be commit 3ab90ad312b85b5a887090418e9cb7594f519b2f)

16 years agor24611: Following up on the re-opening of bug 4817 is it pretty clear that
Andrew Bartlett [Wed, 22 Aug 2007 04:28:15 +0000 (04:28 +0000)]
r24611: Following up on the re-opening of bug 4817 is it pretty clear that
machine accounts are not subject to password policy in Win2k3 R2 (at
least in terms of password quality).

In testing this, I found that Win2k3 R2 has changed the way the old
ChangePassword RPC call is handled - the 'cross-checks' between new LM
and NT passwords are not required.

Andrew Bartlett
(This used to be commit 417ea885b41cc097a0bb3a10ffbffb31f234f25d)

16 years agor24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.c
Stefan Metzmacher [Tue, 21 Aug 2007 19:35:43 +0000 (19:35 +0000)]
r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.c
and rename the containing functions to have a ndr_
prefix

metze
(This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a)

16 years agor24596: - talloc request structure for the samba3 server bindings
Stefan Metzmacher [Tue, 21 Aug 2007 14:06:33 +0000 (14:06 +0000)]
r24596: - talloc request structure for the samba3 server bindings
  and make that the primary context for the request
  which the implementations can also use.
- go via functions pointers in the ndr_interface_table
  instead of calling functions directly.

metze
(This used to be commit fa577a12940d2df9d5ea9e3e0fed40021d59647d)

16 years agor24592: pass down the ndr_interface_table in the samba3 client bindings
Stefan Metzmacher [Tue, 21 Aug 2007 12:19:56 +0000 (12:19 +0000)]
r24592: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze
(This used to be commit 9b59534a14700f7bfe56cae448030df59ced0ba5)

16 years agor24588: use the right type
Andrew Tridgell [Tue, 21 Aug 2007 01:27:21 +0000 (01:27 +0000)]
r24588: use the right type
(This used to be commit 710f6dc17f4bdf994a5fefd439eee93e1774e70e)

16 years agor24587: the elements of the array are not talloc pointers
Andrew Tridgell [Tue, 21 Aug 2007 01:25:15 +0000 (01:25 +0000)]
r24587: the elements of the array are not talloc pointers
(This used to be commit 2ebf00dc42edfc3474dc88ef2e560d4b1b534efa)

16 years agor24586: same bug in RAW-BENCH-OPEN
Andrew Tridgell [Tue, 21 Aug 2007 01:17:13 +0000 (01:17 +0000)]
r24586: same bug in RAW-BENCH-OPEN
(This used to be commit 3bd35bb8abf2e49036d0356ce1b5db95908f7189)

16 years agor24585: put in the right state variable when doing a SMBecho - this caused the
Andrew Tridgell [Tue, 21 Aug 2007 01:16:04 +0000 (01:16 +0000)]
r24585: put in the right state variable when doing a SMBecho - this caused the
wrong connection to reconnect on a SMBecho failure
(This used to be commit c61415b05ddd29c7214384189f7d0ddabdaa3b71)

16 years agor24577: Implement basic getpwent.
Kai Blin [Mon, 20 Aug 2007 11:51:01 +0000 (11:51 +0000)]
r24577: Implement basic getpwent.

This one still cheats and only returns one winbindd_pw structure per call.
Also, doesn't get a new libnet_UserList yet.
(This used to be commit e1b93be1e130692a75a2fc4eb5ca8ee425fe1b82)

16 years agor24576: Implement endpwent
Kai Blin [Mon, 20 Aug 2007 11:41:36 +0000 (11:41 +0000)]
r24576: Implement endpwent
(This used to be commit ef93a7991d3b4445ba87f964f2f17c33044ba8c4)

16 years agor24575: Implement setpwent
Kai Blin [Mon, 20 Aug 2007 11:38:00 +0000 (11:38 +0000)]
r24575: Implement setpwent
(This used to be commit 9bbbedac99278853e30a9f81f594ee3144545268)

16 years agor24574: Fix a warning in wb_samba3_cmd.c
Kai Blin [Mon, 20 Aug 2007 11:29:17 +0000 (11:29 +0000)]
r24574: Fix a warning in wb_samba3_cmd.c
(This used to be commit ebdd03ee9e5bf11d1cb85da0ecb66a84f810bbcc)

16 years agor24570: Attempt to fix make test
Volker Lendecke [Mon, 20 Aug 2007 07:30:59 +0000 (07:30 +0000)]
r24570: Attempt to fix make test

Samba4 seems not to survive the newly added tests
(This used to be commit b8a8a81ffe58ae8d7c2fd006c0cd285db714cbfe)

16 years agor24569: Add two tests
Volker Lendecke [Mon, 20 Aug 2007 05:24:19 +0000 (05:24 +0000)]
r24569: Add two tests

A subtest for rename to check if case-changing renames work

A test that exposes the case insensitivity unix_convert bug
(This used to be commit 786706322a920fd54585bec72d860ed112398f12)

16 years agor24568: Fix the build, caused by a conflict betwen mimir's work and metze's bulk...
Andrew Bartlett [Mon, 20 Aug 2007 01:03:51 +0000 (01:03 +0000)]
r24568: Fix the build, caused by a conflict betwen mimir's work and metze's bulk rename.

Andrew Bartlett
(This used to be commit 6e730d43e4052e074161af7bedef87994056e398)

16 years agor24567: Try much harder not to leak memory when comparing objectCategory entires.
Andrew Bartlett [Mon, 20 Aug 2007 00:22:53 +0000 (00:22 +0000)]
r24567: Try much harder not to leak memory when comparing objectCategory entires.

Andrew Bartlett
(This used to be commit 8cfa1f898e5f5a8e57e3794a80174063223247ec)

16 years agor24566: Remove trailing newlines in ldb_debug(), these are not required.
Andrew Bartlett [Mon, 20 Aug 2007 00:22:08 +0000 (00:22 +0000)]
r24566: Remove trailing newlines in ldb_debug(), these are not required.

Andrew Bartlett
(This used to be commit 2ed782f7caa98003c524d70bcb97874002be57a2)

16 years agor24563: remove unused DCERPC specific stuff from the generated NDR code
Stefan Metzmacher [Sun, 19 Aug 2007 22:23:17 +0000 (22:23 +0000)]
r24563: remove unused DCERPC specific stuff from the generated NDR code

metze
(This used to be commit 2dbf89e22352dcb36c7246671ccc9cd55d9f6a57)

16 years agor24560: rename some DCERPC_ prefixes into NDR_
Stefan Metzmacher [Sun, 19 Aug 2007 22:09:21 +0000 (22:09 +0000)]
r24560: rename some DCERPC_ prefixes into NDR_

metze
(This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)

16 years agor24557: rename 'dcerpc_table_' -> 'ndr_table_'
Stefan Metzmacher [Sun, 19 Aug 2007 21:23:03 +0000 (21:23 +0000)]
r24557: rename 'dcerpc_table_' -> 'ndr_table_'

metze
(This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)

16 years agor24556: forgot to commit the winbind/ subdir...sorry
Stefan Metzmacher [Sun, 19 Aug 2007 21:12:13 +0000 (21:12 +0000)]
r24556: forgot to commit the winbind/ subdir...sorry

metze
(This used to be commit 184a7cfc36860e16f9483347ae70a053a5823e83)

16 years agor24555: Add a test for libnet's group info call.
Rafal Szczesniak [Sun, 19 Aug 2007 21:09:15 +0000 (21:09 +0000)]
r24555: Add a test for libnet's group info call.

rafal
(This used to be commit 40ad66dd75acce330c2db3f4258eacf8265b05e2)

16 years agor24554: Add internal implementation (before api function) of group
Rafal Szczesniak [Sun, 19 Aug 2007 21:07:11 +0000 (21:07 +0000)]
r24554: Add internal implementation (before api function) of group
info call.

rafal
(This used to be commit 75f81f862ef06e86f9dcfcf4709221ed9c4e22ed)

16 years agor24551: rename dcerpc_interface_table -> ndr_interface_table
Stefan Metzmacher [Sun, 19 Aug 2007 20:46:45 +0000 (20:46 +0000)]
r24551: rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze
(This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)