13 years agor9899: Be more conservative about what is sent to the remote server in ldb_map.
Jelmer Vernooij [Thu, 1 Sep 2005 15:33:31 +0000 (15:33 +0000)]
r9899: Be more conservative about what is sent to the remote server in ldb_map.
(This used to be commit 76e943d4416e38ce4cce27d5403bc3e133d0025b)

13 years agor9898: Add extra registry key used by WinXP (see r9894)
Jelmer Vernooij [Thu, 1 Sep 2005 15:31:45 +0000 (15:31 +0000)]
r9898: Add extra registry key used by WinXP (see r9894)
(This used to be commit 7666993fa96916d9d849a636a1b30ca7f77354a2)

13 years agor9888: add IDL for lsa_QueryDomainInformationPolicy to query Kerberos Settings.
Günther Deschner [Thu, 1 Sep 2005 10:36:48 +0000 (10:36 +0000)]
r9888: add IDL for lsa_QueryDomainInformationPolicy to query Kerberos Settings.

(This used to be commit d717e878bdc05b06adcc50c3527c339be8164145)

13 years agor9885: Fix code before declarations.
Tim Potter [Thu, 1 Sep 2005 09:14:35 +0000 (09:14 +0000)]
r9885: Fix code before declarations.
(This used to be commit b7d982c94be05d357a4c3517afc60c7929fb4615)

13 years agor9884: Fix compiler warning.
Tim Potter [Thu, 1 Sep 2005 09:08:36 +0000 (09:08 +0000)]
r9884: Fix compiler warning.
(This used to be commit 6e30dd8a50e9afc4942cd925e6e0266d960923dd)

13 years agor9883: More nested initialiser fixes.
Tim Potter [Thu, 1 Sep 2005 08:56:37 +0000 (08:56 +0000)]
r9883: More nested initialiser fixes.
(This used to be commit 579d11147849932ec76a175f815de890a8ea20ad)

13 years agor9881: I can't believe this can make a difference...
Tim Potter [Thu, 1 Sep 2005 07:44:59 +0000 (07:44 +0000)]
r9881: I can't believe this can make a difference...
(This used to be commit 31069bfd18c4b7355dbf85df9fb479705b0e3b4b)

13 years agor9880: Convert remaining initialisers to more portable form. This should
Tim Potter [Thu, 1 Sep 2005 07:37:13 +0000 (07:37 +0000)]
r9880: Convert remaining initialisers to more portable form.  This should
clean out a lot of build farm breakage.
(This used to be commit c34fbdc6c3fd2c066c713bdd84e6f40f6aa8cd43)

13 years agor9879: A quick check to see if nested initialisers (?) is portable across the
Tim Potter [Thu, 1 Sep 2005 07:29:33 +0000 (07:29 +0000)]
r9879: A quick check to see if nested initialisers (?) is portable across the
build farm.  I have a feeling it isn't.
(This used to be commit 7cc8df0c2f46fb9ce753e368ce645bcb69585334)

13 years agor9878: This is getting a bit out of control, but a few more tests.
Andrew Bartlett [Thu, 1 Sep 2005 07:07:00 +0000 (07:07 +0000)]
r9878: This is getting a bit out of control, but a few more tests.

Andrew Bartlett
(This used to be commit a6597181f62e5b0ec95232a2dd69b5d85de845b8)

13 years agor9877: Merge from lorikeet-heimdal, to try and fix build failures.
Andrew Bartlett [Thu, 1 Sep 2005 07:03:33 +0000 (07:03 +0000)]
r9877: Merge from lorikeet-heimdal, to try and fix build failures.

Andrew Bartlett
(This used to be commit 53f2bf3b9178b78527bb43b9dca7b43e1497dd20)

13 years agor9876: Fix some 64-bit warnings for Itanium machine.
Tim Potter [Thu, 1 Sep 2005 06:39:19 +0000 (06:39 +0000)]
r9876: Fix some 64-bit warnings for Itanium machine.
(This used to be commit 9e375d82e828879704442e5a27a9938015953de2)

13 years agor9861: I need to convert this to table-driven, but anyway...
Andrew Bartlett [Thu, 1 Sep 2005 02:23:38 +0000 (02:23 +0000)]
r9861: I need to convert this to table-driven, but anyway...

More CrackNames testing

Andrew Bartlett
(This used to be commit 0913dec6a98e735e5e3157a2fceec94f57dd706c)

13 years agor9859: Enable (blocking) KDC resolution with DNS.
Andrew Bartlett [Thu, 1 Sep 2005 01:32:50 +0000 (01:32 +0000)]
r9859: Enable (blocking) KDC resolution with DNS.

To enable, set:

 dns_lookup_realm = true
 dns_lookup_kdc = true

in your /etc/krb5.conf.

In the future I may override the krb5.conf and set this on by default
in Samba4.

Andrew Bartlett
(This used to be commit 32fb50d02560123b8d0ab13346041806c062f9bf)

13 years agor9857: Fix rename/delete issues
Jelmer Vernooij [Thu, 1 Sep 2005 01:11:15 +0000 (01:11 +0000)]
r9857: Fix rename/delete issues
(This used to be commit d6dce7ef3eb21a5e90244cf2ce7403ab43b12d63)

13 years agor9855: Finish ldb_map testsuite
Jelmer Vernooij [Thu, 1 Sep 2005 00:38:28 +0000 (00:38 +0000)]
r9855: Finish ldb_map testsuite
Update PLAN
Some more small other fixes
(This used to be commit 31cd5d55a9754b4e670be5d3687dfaaab8adaefc)

13 years agor9854: Finish ldb_map testsuite
Jelmer Vernooij [Thu, 1 Sep 2005 00:37:52 +0000 (00:37 +0000)]
r9854: Finish ldb_map testsuite
Update PLAN
Some more small other fixes
(This used to be commit de2bde2526ffaf521253e3b9e58fc11417986321)

13 years agor9849: Extend testsuite a bit more.
Jelmer Vernooij [Wed, 31 Aug 2005 22:27:40 +0000 (22:27 +0000)]
r9849: Extend testsuite a bit more.
(This used to be commit 5cbe1e6b70b03be441a36b36fb969339df0dfd45)

13 years agor9842: More error checks in the ldb_map modules, extend testsuite
Jelmer Vernooij [Wed, 31 Aug 2005 21:04:17 +0000 (21:04 +0000)]
r9842: More error checks in the ldb_map modules, extend testsuite
(This used to be commit b7992de4b7d42a55e00509c887a269a07c19627d)

13 years agor9835: Make ldb_map compile in the stand-alone LDB build
Jelmer Vernooij [Wed, 31 Aug 2005 18:33:57 +0000 (18:33 +0000)]
r9835: Make ldb_map compile in the stand-alone LDB build
(This used to be commit 2283a336e0e31e6857621d9806bba54c400bd986)

13 years agor9834: More tests for the upgrade from Samba3
Jelmer Vernooij [Wed, 31 Aug 2005 16:51:09 +0000 (16:51 +0000)]
r9834: More tests for the upgrade from Samba3
(This used to be commit d2db164d6f674cada470e871c558c75f98244141)

13 years agor9831: Check whether the two admin passwords entered were equal.
Jelmer Vernooij [Wed, 31 Aug 2005 15:47:10 +0000 (15:47 +0000)]
r9831: Check whether the two admin passwords entered were equal.
(This used to be commit d02834f88d6a26f77549ec9db8f2492eacc9b043)

13 years agor9830: Fix support for importing registry values. Extended the examplre registry...
Jelmer Vernooij [Wed, 31 Aug 2005 15:46:41 +0000 (15:46 +0000)]
r9830: Fix support for importing registry values. Extended the examplre registry tdb.
(This used to be commit 11e2a1938966f3aa9e9c25433181c20843951a6b)

13 years agor9829: Registry key and value names are case insensitive
Jelmer Vernooij [Wed, 31 Aug 2005 15:17:34 +0000 (15:17 +0000)]
r9829: Registry key and value names are case insensitive
(This used to be commit 96ccbd6402fa37338c49d9a55919a360e940bc48)

13 years agor9828: Fix path to testdata (tests are always run from source/)
Jelmer Vernooij [Wed, 31 Aug 2005 14:30:56 +0000 (14:30 +0000)]
r9828: Fix path to testdata (tests are always run from source/)
(This used to be commit 76666d401071bf9b67b0402efc1d647f45533259)

13 years agor9827: Convert 'passdb backend' rather then 'passdb backends'
Jelmer Vernooij [Wed, 31 Aug 2005 14:27:17 +0000 (14:27 +0000)]
r9827: Convert 'passdb backend' rather then 'passdb backends'
Be a bit more verbose
(This used to be commit fb2fd8da10b281b2064d4cae5d5a0630e8a207da)

13 years agor9826: Add some more OOM checks
Jelmer Vernooij [Wed, 31 Aug 2005 14:26:20 +0000 (14:26 +0000)]
r9826: Add some more OOM checks
(This used to be commit 213bcb7e16290da0c26492ced65509a63942d4ce)

13 years agor9825: Correctly handle length argument to substr()
Jelmer Vernooij [Wed, 31 Aug 2005 14:25:18 +0000 (14:25 +0000)]
r9825: Correctly handle length argument to substr()
(This used to be commit edf380cb5fa2c168fc05dd54580f024239ef835f)

13 years agor9824: r9495@cabra: derrell | 2005-08-31 09:33:55 -0400
Derrell Lipman [Wed, 31 Aug 2005 13:36:35 +0000 (13:36 +0000)]
r9824:  r9495@cabra:  derrell | 2005-08-31 09:33:55 -0400
 add a readme file to indicate what the smbc directory is for
(This used to be commit c1a9ea47a326adf529dbf207a75d23f326887a14)

13 years agor9816: Work on testsuite for upgrade
Jelmer Vernooij [Wed, 31 Aug 2005 02:39:57 +0000 (02:39 +0000)]
r9816: Work on testsuite for upgrade
Add 'paths' object to provision code.
(This used to be commit 488d737fb0ebbc2535d0ec17c14f0dc1eaf2a578)

13 years agor9813: Conver testsuite for samba3sam module to EJS
Jelmer Vernooij [Tue, 30 Aug 2005 22:38:34 +0000 (22:38 +0000)]
r9813: Conver testsuite for samba3sam module to EJS
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)

13 years agor9808: Improve code that selects what "passdb backend" to import from.
Jelmer Vernooij [Tue, 30 Aug 2005 17:23:07 +0000 (17:23 +0000)]
r9808: Improve code that selects what "passdb backend" to import from.
(This used to be commit 7739d092d5ca99bd44a1612cc783e38a2f09a67f)

13 years agor9807: Use talloc in fd_lines_load() and file_lines_load(). The return
Jelmer Vernooij [Tue, 30 Aug 2005 17:21:41 +0000 (17:21 +0000)]
r9807: Use talloc in fd_lines_load() and file_lines_load(). The return
value now can be freed using talloc(). I couldn't find the free_lines_list()
function that was supposed to free it before.
(This used to be commit f6f31661d05e392a9f2819c5a0ceff92c1b7656a)

13 years agor9806: Some more test data
Jelmer Vernooij [Tue, 30 Aug 2005 16:30:11 +0000 (16:30 +0000)]
r9806: Some more test data
(This used to be commit 96a511b6de08385d58998f5ae5f4f569c9b730cf)

13 years agor9805: Add 'data' property to param EJS object
Jelmer Vernooij [Tue, 30 Aug 2005 16:09:38 +0000 (16:09 +0000)]
r9805: Add 'data' property to param EJS object
Write out new smb.conf file. Parameters that have disappeared
between Samba 3 and 4 will optionally be prefixed with 'samba3:'
(This used to be commit 27eefbd9059fe0a3daca15a71da7b4cb88ed22ec)

13 years agor9800: Add EJS interface to param. tridge, sorry this overlaps a bit
Jelmer Vernooij [Tue, 30 Aug 2005 14:44:33 +0000 (14:44 +0000)]
r9800: Add EJS interface to param. tridge, sorry this overlaps a bit
with your loadparm interface. :-/
(This used to be commit bb0cef581a09a86113f3212c776c011ae73def14)

13 years agor9798: Add generic functions for handling smb.conf files (the parameters don't to...
Jelmer Vernooij [Tue, 30 Aug 2005 13:58:48 +0000 (13:58 +0000)]
r9798: Add generic functions for handling smb.conf files (the parameters don't to be pre-declared). Also doesn't use any globals, so multiple files can be loaded at once.

Currently uses the prefix "param" for all functions and structures; suggestions for better ones are welcome...

Remove old smb.conf-parsing code from libsamba3.
(This used to be commit 414e5f7f6dc38a8fde3b61d524a664f56f9ea592)

13 years agor9797: - let us parse replication packets with linked attributes fine,
Stefan Metzmacher [Tue, 30 Aug 2005 13:43:58 +0000 (13:43 +0000)]
r9797: - let us parse replication packets with linked attributes fine,
- also resolve the 0x1f ('member') attid for nicer debugging

(This used to be commit f6cf38d608d727e2065035604b537e07cb88ded9)

13 years agor9795: fix the ndr_pull_string code to handle, some special cases,
Stefan Metzmacher [Tue, 30 Aug 2005 13:34:12 +0000 (13:34 +0000)]
r9795: fix the ndr_pull_string code to handle, some special cases,
where the idl was something like this:

uint32 size;
[size_is(size+1)] wchar_t *string;

we always need a pair of NDR_PULL_NEEDED_BYTES() and ndr_pull_advance(),
with the same size passed in.

(This used to be commit 8eb75bd5ac5869f11f930ec872ec8a46fba9361b)

13 years agor9794: r11627@blu: tridge | 2005-08-30 22:55:27 +1000
Andrew Tridgell [Tue, 30 Aug 2005 12:51:05 +0000 (12:51 +0000)]
r9794:  r11627@blu:  tridge | 2005-08-30 22:55:27 +1000
 fill in correct error code for zero length and too large IPC reads
(This used to be commit bf6558b8971ccda080d463753ddae977967e7093)

13 years agor9793: Be more verbose, check for errors in upgrade script.
Jelmer Vernooij [Tue, 30 Aug 2005 12:27:53 +0000 (12:27 +0000)]
r9793: Be more verbose, check for errors in upgrade script.
(This used to be commit b7c09df9e506f8048f69c4bdd1c3351e3b554e18)

13 years agor9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
Jelmer Vernooij [Tue, 30 Aug 2005 11:55:05 +0000 (11:55 +0000)]
r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
(This used to be commit 200a8f6652cb2de7a8037a7a4c2a204b50aee2b1)

13 years agor9791: r11611@blu: tridge | 2005-08-30 21:48:22 +1000
Andrew Tridgell [Tue, 30 Aug 2005 11:44:00 +0000 (11:44 +0000)]
r9791:  r11611@blu:  tridge | 2005-08-30 21:48:22 +1000
 recognise any case combination of 'localhost' as
(This used to be commit 1d8dae5167a1a08b69274fc17e6e010174420ab5)

13 years agor9789: Patch from Volker that fixes the build on AIX.
Jelmer Vernooij [Tue, 30 Aug 2005 11:37:58 +0000 (11:37 +0000)]
r9789: Patch from Volker that fixes the build on AIX.
(This used to be commit 9a1a7fb60e6531ff74e6817313548f3cee37a990)

13 years agor9786: Move ldb_map into ldb/modules/
Jelmer Vernooij [Tue, 30 Aug 2005 11:08:03 +0000 (11:08 +0000)]
r9786: Move ldb_map into ldb/modules/
Move samba3sam to dsdb/
(This used to be commit eb9d615bcd49328131613f64745760a90553b7f2)

13 years agor9785: Add some testdata
Jelmer Vernooij [Tue, 30 Aug 2005 10:47:51 +0000 (10:47 +0000)]
r9785: Add some testdata
(This used to be commit 721431cff73b06d6e74ca47d25adbf89b900fd5a)

13 years agor9779: Add a contextmenu function to be used by all window/widget objects.
Deryck Hodge [Tue, 30 Aug 2005 03:55:08 +0000 (03:55 +0000)]
r9779: Add a contextmenu function to be used by all window/widget objects.

(This used to be commit f0c7b43767b713f15d9c50fc744da0a6582618b2)

13 years agor9778: Test for particular error returns, rather than just OK/not OK.
Andrew Bartlett [Tue, 30 Aug 2005 03:37:14 +0000 (03:37 +0000)]
r9778: Test for particular error returns, rather than just OK/not OK.

Andrew Bartlett
(This used to be commit fccbc15555871059e62bf720f115b2307a171667)

13 years agor9776: r11609@blu: tridge | 2005-08-30 12:20:11 +1000
Andrew Tridgell [Tue, 30 Aug 2005 02:15:52 +0000 (02:15 +0000)]
r9776:  r11609@blu:  tridge | 2005-08-30 12:20:11 +1000
 make the selftest script a bit less existential
(This used to be commit f8a17063a26487ea22caf0a3651f0ecee5d506df)

13 years agor9775: r11607@blu: tridge | 2005-08-30 12:16:19 +1000
Andrew Tridgell [Tue, 30 Aug 2005 02:11:56 +0000 (02:11 +0000)]
r9775:  r11607@blu:  tridge | 2005-08-30 12:16:19 +1000
 fixed the help message
(This used to be commit 5e3d9708f6592bf35f491f4ae979c20ad99e8358)

13 years agor9774: r11605@blu: tridge | 2005-08-30 12:02:19 +1000
Andrew Tridgell [Tue, 30 Aug 2005 01:58:03 +0000 (01:58 +0000)]
r9774:  r11605@blu:  tridge | 2005-08-30 12:02:19 +1000
 make sure we don't walk off the end of the hash array
(This used to be commit 3c32f24e2c6a99ec294fb16e1684cd22b08f2df4)

13 years agor9773: r11599@blu: tridge | 2005-08-30 11:55:57 +1000
Andrew Tridgell [Tue, 30 Aug 2005 01:51:36 +0000 (01:51 +0000)]
r9773:  r11599@blu:  tridge | 2005-08-30 11:55:57 +1000
 optimise this case a bit more. The total speedup using non-indexed
 ldbtest is now around a factor of 80x. The code is ugly as hell, but
 I think this speed is worth it.

 Of course, if we only ever do indexed searches in ldb then this
 doesn't help, but it seems all too common that we get unindexable
 searches, so the optimisation is worthwhile
(This used to be commit 2e14fb893dd9815cdb2488c630131dc549e5c361)

13 years agor9772: Make credentials callbacks more consistant with the abstraction
Andrew Bartlett [Tue, 30 Aug 2005 01:19:41 +0000 (01:19 +0000)]
r9772: Make credentials callbacks more consistant with the abstraction
function interface used in the credentials code.

Fix bug in ntlm_auth, where we would overwrite the PW specified as a
first input.  (Reported and chased by Kai Blin <blin@gmx.net>, bug

Andrew Bartlett
(This used to be commit 04af95bd31de39ad6aff349a4838dd77cb300034)

13 years agor9771: - Prevent ldb crash when a invalid DN is added
Jelmer Vernooij [Tue, 30 Aug 2005 00:43:26 +0000 (00:43 +0000)]
r9771: - Prevent ldb crash when a invalid DN is added
- Don't silently drop records with empty attributes

tridge/simo: Could you please verify this patch is correct?
(This used to be commit 505c9b1d3d39475da141d3b3c156a7e5ba06790c)

13 years agor9770: Couple other bugfixes
Jelmer Vernooij [Tue, 30 Aug 2005 00:41:02 +0000 (00:41 +0000)]
r9770: Couple other bugfixes
Update TODO-list
(This used to be commit d9541535e3f9e1c058410eeb0a54d60181572f2b)

13 years agor9769: r11592@blu: tridge | 2005-08-30 10:40:19 +1000
Andrew Tridgell [Tue, 30 Aug 2005 00:36:12 +0000 (00:36 +0000)]
r9769:  r11592@blu:  tridge | 2005-08-30 10:40:19 +1000
 added a tdb optimisation that speeds up non-indexed ldb by a large
 margin (often 10x or more). I'd be interested in any comments on the
 safety of this optimisation. See the comment in the code for an
(This used to be commit 7f9efaceb6d6dfc0c82923344cc45ec34493f2ed)

13 years agor9768: Arrrgh.. Right this time.
Jelmer Vernooij [Tue, 30 Aug 2005 00:26:44 +0000 (00:26 +0000)]
r9768: Arrrgh.. Right this time.
(This used to be commit 8bded3fc926b8eb6285e06fd4b4706b779edb386)

13 years agor9767: Fix typo
Jelmer Vernooij [Tue, 30 Aug 2005 00:25:46 +0000 (00:25 +0000)]
r9767: Fix typo
(This used to be commit 0602e8b3e7b5921fa99bfe788fe290f03b3dc7ac)

13 years agor9766: Prevent erroneous OOM message
Jelmer Vernooij [Mon, 29 Aug 2005 23:20:40 +0000 (23:20 +0000)]
r9766: Prevent erroneous OOM message
ldb_dup_val() sets out->data to NULL if in->length == 0
(This used to be commit 7ecb6988e74f4273b2ca3ea76562117e1be54b08)

13 years agor9763: Add the start bar as a widget from the
Deryck Hodge [Mon, 29 Aug 2005 22:04:11 +0000 (22:04 +0000)]
r9763: Add the start bar as a widget from the
desktop file.  This is more portable to IE, though
there are still some IE issues hanging around.

(This used to be commit a70b52bb04689de90ee5ec59109d669175b91c04)

13 years agor9762: Add support for reading good old smbpasswd files
Jelmer Vernooij [Mon, 29 Aug 2005 22:01:18 +0000 (22:01 +0000)]
r9762: Add support for reading good old smbpasswd files
Fix password support
Make base64 decode/encode functions available to EJS
(This used to be commit 1376a1fe44cd6b01709819095a711c14626b1d3e)

13 years agor9761: Move initial widget setup to desktop library. Now, just by including
Deryck Hodge [Mon, 29 Aug 2005 21:28:48 +0000 (21:28 +0000)]
r9761: Move initial widget setup to desktop library.  Now, just by including
desktop.js, you get the basic desktop layout.

(This used to be commit 6acc7ec7c2957e1487ee72f883079e1680dd9896)

13 years agor9759: Create some wrappers for QxWidget. This gives us some pre-fabbed
Deryck Hodge [Mon, 29 Aug 2005 21:15:04 +0000 (21:15 +0000)]
r9759: Create some wrappers for QxWidget.  This gives us some pre-fabbed
windows, which set size and positioning.

To use:

var myWin = new Window.large("Some Window Title");
var myWin = new Window.standard("Some Window Title");
var myWin = new Window.small("Some Window Title");

You can omit the title if you don't need one.  Also,
var myWin = new Window();  will give you the random
positioning and no predetermined sizing.

(This used to be commit 92d6bb90a64591b13f4d1bec77ebebcd1198914d)

13 years agor9756: One-way upgrade from Samba3->Samba4 basically works now
Jelmer Vernooij [Mon, 29 Aug 2005 20:18:51 +0000 (20:18 +0000)]
r9756: One-way upgrade from Samba3->Samba4 basically works now
Still need to polish some rough edges
(This used to be commit a8f309aa812533f57a90410722dfb342c8cf3b48)

13 years agor9755: Fix crash bug in SWAT login
Jelmer Vernooij [Mon, 29 Aug 2005 19:08:18 +0000 (19:08 +0000)]
r9755: Fix crash bug in SWAT login
(This used to be commit 6e3e964fb4529260c2fcb09b41eda1a100e690eb)

13 years agor9754: Upgrading with the command line utility now works, at least partially (-:
Jelmer Vernooij [Mon, 29 Aug 2005 18:52:24 +0000 (18:52 +0000)]
r9754: Upgrading with the command line utility now works, at least partially (-:
Upgrading using SWAT should work as well now.
(This used to be commit 8baa2ac377315ae8b365f58c2bda0bf3d0c5aec3)

13 years agor9751: Remove C version of samba3dump (the EJS version works nicely as well).
Jelmer Vernooij [Mon, 29 Aug 2005 17:31:19 +0000 (17:31 +0000)]
r9751: Remove C version of samba3dump (the EJS version works nicely as well).
Fix a couple of bugs in ldb_map.
(This used to be commit 66df76a63433aea4081eab8b20bf3ba86e0a606d)

13 years agor9746: Add "staff" as possible alternative to wheel
Jelmer Vernooij [Mon, 29 Aug 2005 15:55:35 +0000 (15:55 +0000)]
r9746: Add "staff" as possible alternative to wheel
(should fix standard provisioning on AIX)
(This used to be commit b1d9ef899821376d7883fa126a14c06ed1b16601)

13 years agor9744: - [upgrade.js] Start working on smb.conf conversion.
Jelmer Vernooij [Mon, 29 Aug 2005 15:54:10 +0000 (15:54 +0000)]
r9744: - [upgrade.js] Start working on smb.conf conversion.
- [ldb_map] Support storing non-mappable data in a fallback LDB
(This used to be commit 435e4c6389b9d9b545beec8036289620ee5883db)

13 years agor9735: More work on generating a valid Samba4 configuration using the
Jelmer Vernooij [Mon, 29 Aug 2005 12:31:32 +0000 (12:31 +0000)]
r9735: More work on generating a valid Samba4 configuration using the
Samba3 data (both console and SWAT)
(This used to be commit d569465dc4def55c27878028f2fc762960f453d8)

13 years agor9734: The ethereal parser generator was generating duplicate functions for
Tim Potter [Mon, 29 Aug 2005 12:22:48 +0000 (12:22 +0000)]
r9734: The ethereal parser generator was generating duplicate functions for
fields in structures with the same name as a structure (i.e
security_ace.object and security_ace_object).  I've twiddled the naming
scheme a bit and things are a bit more unique but there is still may be
some naming conflicts in other IDL files.

We are now getting confused over fields with the same name in unions
(e.g security_ace_object_ctr.object) plus some other union weirdness.
(This used to be commit c2ad9f49a204d0075a3b460c5ea2ca9741fc7125)

13 years agor9733: Test conversion from known sids in CrackNames.
Andrew Bartlett [Mon, 29 Aug 2005 12:16:49 +0000 (12:16 +0000)]
r9733: Test conversion from known sids in CrackNames.

Andrew Bartlett
(This used to be commit ad60d4571568d5b3edd98199462812a2f30c36cd)

13 years agor9731: Fix typo
Andrew Bartlett [Mon, 29 Aug 2005 04:38:37 +0000 (04:38 +0000)]
r9731: Fix typo
(This used to be commit e4492951e56d89a2b805f644d83d4bd4be31a6b0)

13 years agor9728: A *major* update to the credentials system, to incorporate the
Andrew Bartlett [Mon, 29 Aug 2005 04:30:22 +0000 (04:30 +0000)]
r9728: A *major* update to the credentials system, to incorporate the
Kerberos CCACHE into the system.

This again allows the use of the system ccache when no username is
specified, and brings more code in common between gensec_krb5 and

It also has a side-effect that may (or may not) be expected: If there
is a ccache, even if it is not used (perhaps the remote server didn't
want kerberos), it will change the default username.

Andrew Bartlett
(This used to be commit 6202267f6ec1446d6bd11d1d37d05a977bc8d315)

13 years agor9727: A simplier test I can aim at passing when I get the cracknames code done.
Andrew Bartlett [Mon, 29 Aug 2005 04:15:08 +0000 (04:15 +0000)]
r9727: A simplier test I can aim at passing when I get the cracknames code done.

Andrew Bartlett
(This used to be commit b1b0e26e537677793a92af02464ff1e83fce9610)

13 years agor9725: Fix full output mode of samba3dump as well. Thanks to tridge for
Jelmer Vernooij [Mon, 29 Aug 2005 01:17:20 +0000 (01:17 +0000)]
r9725: Fix full output mode of samba3dump as well. Thanks to tridge for
a bit for explanation about js.
(This used to be commit 765a30a0493cbd150f53335c6648e8e56ef6dc23)

13 years agor9724: Rewrite samba3dump in JS. The summary works now, but the full output
Jelmer Vernooij [Mon, 29 Aug 2005 00:48:24 +0000 (00:48 +0000)]
r9724: Rewrite samba3dump in JS. The summary works now, but the full output
is triggering some obscure EJS assert..
(This used to be commit 42605f4444998e3063ffd1bea17425ff825f6132)

13 years agor9722: Initial attempt at converting samba3dump to EJS..
Jelmer Vernooij [Sun, 28 Aug 2005 23:03:49 +0000 (23:03 +0000)]
r9722: Initial attempt at converting samba3dump to EJS..
(This used to be commit 7e3b94dfb9c421793dab7813b96ca63da4b33960)

13 years agor9718: Work a bit on the SWAT interface
Jelmer Vernooij [Sun, 28 Aug 2005 22:17:07 +0000 (22:17 +0000)]
r9718: Work a bit on the SWAT interface
(This used to be commit b1844905d2c1ca26aef0ccba799ff16383348fc1)

13 years agor9712: Bunch of small fixes
Jelmer Vernooij [Sun, 28 Aug 2005 14:55:26 +0000 (14:55 +0000)]
r9712: Bunch of small fixes
Write out basic sam.ldif
(This used to be commit 67593bef7f0f8dc2258b2fe9c06779f0025d240e)

13 years agor9710: Filename change for clarity's sake.
Deryck Hodge [Sun, 28 Aug 2005 12:05:43 +0000 (12:05 +0000)]
r9710: Filename change for clarity's sake.

(This used to be commit 4acd4489c9f016f7f48ba1cff231cbfc56925547)

13 years agor9707: r11080@blu: tridge | 2005-08-28 12:41:12 +1000
Andrew Tridgell [Sun, 28 Aug 2005 02:38:11 +0000 (02:38 +0000)]
r9707:  r11080@blu:  tridge | 2005-08-28 12:41:12 +1000
 make sure we leave the account enabled after creating a new user
(This used to be commit a22d0d02eed8b960f5fde4211b0d2967c500f4a4)

13 years agor9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000
Andrew Tridgell [Sun, 28 Aug 2005 02:38:00 +0000 (02:38 +0000)]
r9706:  r11042@blu:  tridge | 2005-08-28 12:40:09 +1000
 a NULL expression is valid in a ldb search
(This used to be commit a8748cab865c765f844336087a386c01e60add62)

13 years agor9705: r9685@blu: tridge | 2005-08-27 19:43:44 +1000
Andrew Tridgell [Sun, 28 Aug 2005 02:37:49 +0000 (02:37 +0000)]
r9705:  r9685@blu:  tridge | 2005-08-27 19:43:44 +1000
 set the backend_name on socket_accept() too
(This used to be commit 10ac2732881ac73dd9cb8162beb1efd741bfe3d2)

13 years agor9704: r9684@blu: tridge | 2005-08-27 19:38:31 +1000
Andrew Tridgell [Sun, 28 Aug 2005 02:37:38 +0000 (02:37 +0000)]
r9704:  r9684@blu:  tridge | 2005-08-27 19:38:31 +1000
 don't try to call the name resolver on non-ipv4 names!
(This used to be commit 4bb3d36fe6705bc625fe4122500f681ab7f2dc53)

13 years agor9703: r9683@blu: tridge | 2005-08-27 18:56:05 +1000
Andrew Tridgell [Sun, 28 Aug 2005 02:37:27 +0000 (02:37 +0000)]
r9703:  r9683@blu:  tridge | 2005-08-27 18:56:05 +1000
 added a comment about event_context_find()
(This used to be commit 9c230082215dd1f7f19f6b797e7f0c60a9e933fd)

13 years agor9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000
Andrew Tridgell [Sun, 28 Aug 2005 02:37:14 +0000 (02:37 +0000)]
r9702:  r9680@blu:  tridge | 2005-08-27 18:45:08 +1000
 - fixed ncacn_ip_tcp to use the generic async name resolution methods,
   so NBT names now work (as requested several times by abartlet!)

 - changed resolve_name() to take an event_context, so it doesn't cause
   the whole process to block

 - cleaned up the talloc_find_parent_bytype() calls to go via a cleaner
   event_context_find() call
(This used to be commit b3d491b210a8b889a25efcb273e70fefbd01b7f7)

13 years agor9701: Provide correct parameters.
Andrew Bartlett [Sun, 28 Aug 2005 01:54:27 +0000 (01:54 +0000)]
r9701: Provide correct parameters.

Andrew Bartlett
(This used to be commit 1cd62944f1387a3922e01dbee9bcf28f96f131ad)

13 years agor9700: Change DATA_BLOB in ejs back to struct datablob
Jelmer Vernooij [Sun, 28 Aug 2005 01:37:27 +0000 (01:37 +0000)]
r9700: Change DATA_BLOB in ejs back to struct datablob
Support writing idmap mappings to winbind.ldif
(This used to be commit 3709def35303f1afed0f344628fe2c89250ee087)

13 years agor9699: Add as much attributes the current Samba4 SAM has to the mapping table (ignori...
Jelmer Vernooij [Sun, 28 Aug 2005 00:34:14 +0000 (00:34 +0000)]
r9699: Add as much attributes the current Samba4 SAM has to the mapping table (ignoring most of them, currently..)
(This used to be commit 5100ae211c380024baa67b1f643c7294a29c1713)

13 years agor9698: Fix a bit of memory management
Jelmer Vernooij [Sat, 27 Aug 2005 23:47:17 +0000 (23:47 +0000)]
r9698: Fix a bit of memory management
More minor bugfixes
Support mapping objectclasses and do mapping on 'dn' field as well (not just msg->dn)
(This used to be commit b7b079167d5c6616f7c5c4afb7dd80c15707cfd9)

13 years agor9696: Update prototypes for new name of short parsing function.
Andrew Bartlett [Sat, 27 Aug 2005 22:48:39 +0000 (22:48 +0000)]
r9696: Update prototypes for new name of short parsing function.

Andrew Bartlett
(This used to be commit cc35cd5ee2abbd6be01dc1ea66eca0bd48a6f636)

13 years agor9693: Move the smb_krb5_context setup code to use the new pattern of
Andrew Bartlett [Sat, 27 Aug 2005 22:15:29 +0000 (22:15 +0000)]
r9693: Move the smb_krb5_context setup code to use the new pattern of
tmp_ctx, then steal at the last moment, on success.

andrew Bartlett
(This used to be commit c7a44518ad9acaf5708169e07aa03eae52262773)

13 years agor9690: Extend test + fix several bugs
Jelmer Vernooij [Sat, 27 Aug 2005 19:46:28 +0000 (19:46 +0000)]
r9690: Extend test + fix several bugs
(This used to be commit 0cff0e03fca0ddccaff3b463aadba63d29e061a9)

13 years agor9689: valgrind-clean now. Editing works now mostly, you just lose half of your
Jelmer Vernooij [Sat, 27 Aug 2005 18:30:00 +0000 (18:30 +0000)]
r9689: valgrind-clean now. Editing works now mostly, you just lose half of your
database every time you do it...
(This used to be commit 40ea2af427911d9a3e65ca9ebed438e9a0a83af8)

13 years agor9686: Another round of bugfixes. Works somewhat now, when running under valgrind ;-)
Jelmer Vernooij [Sat, 27 Aug 2005 16:33:42 +0000 (16:33 +0000)]
r9686: Another round of bugfixes. Works somewhat now, when running under valgrind ;-)
(This used to be commit 786379064f0ed779b965330fb3b74deaca75ce99)

13 years agor9685: Add tests for samba3sam mapping module
Jelmer Vernooij [Sat, 27 Aug 2005 15:13:15 +0000 (15:13 +0000)]
r9685: Add tests for samba3sam mapping module
Fix a couple of bugs
Move samba3sam backend to lib/ldb/
Remove some more unused parameters
(This used to be commit 7f864d446d6af7cfd9fb8dbc496a29b36ec57ce9)

13 years agor9684: Remove unused parameters (about 70)
Jelmer Vernooij [Sat, 27 Aug 2005 12:56:24 +0000 (12:56 +0000)]
r9684: Remove unused parameters (about 70)
(This used to be commit 4a51a31571d12078e3c2c78641c0c844fc26925d)

13 years agor9683: OK that last fix was too good to be true. (-:
Tim Potter [Sat, 27 Aug 2005 12:39:56 +0000 (12:39 +0000)]
r9683: OK that last fix was too good to be true.  (-:
(This used to be commit b33774b693f9866295fc11758c826ff150bfb02d)

13 years agor9682: Jelmer, I think this fixes another case where the parser generator was
Tim Potter [Sat, 27 Aug 2005 12:24:02 +0000 (12:24 +0000)]
r9682: Jelmer, I think this fixes another case where the parser generator was
producing duplicate function definitions.  Can you check this out?
(This used to be commit e9bb695e74c98ea1f2647dacc7c9c4b8ad37bd72)