14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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 <>, bug

Andrew Bartlett
(This used to be commit 04af95bd31de39ad6aff349a4838dd77cb300034)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 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)

14 years agor9681: We don't need the full smb_krb5_context here, so just pass the krb5_context.
Andrew Bartlett [Sat, 27 Aug 2005 12:23:37 +0000 (12:23 +0000)]
r9681: We don't need the full smb_krb5_context here, so just pass the krb5_context.

Andrew Bartlett
(This used to be commit 47699019dbb7aa48e7acd6bf8364e40917db8410)

14 years agor9680: Update Heimdal to current lorikeet-heimdal (which was itself updated
Andrew Bartlett [Sat, 27 Aug 2005 11:49:06 +0000 (11:49 +0000)]
r9680: Update Heimdal to current lorikeet-heimdal (which was itself updated
to Heimdal CVS as of 2005-08-27).

Andrew Bartlett
(This used to be commit 913924a4997f5e14c503f87510cbd8e4bfd965a9)

14 years agor9678: Remove unused variables.
Andrew Bartlett [Sat, 27 Aug 2005 11:26:50 +0000 (11:26 +0000)]
r9678: Remove unused variables.

Andrew Bartlett
(This used to be commit 50e6229c7a13be9b5d10c954f9b895993cefe2b6)

14 years agor9677: Don't generate duplicate function names when processing structure elements
Tim Potter [Sat, 27 Aug 2005 08:47:35 +0000 (08:47 +0000)]
r9677: Don't generate duplicate function names when processing structure elements
that are bitmaps or enums.
(This used to be commit 1b0e65359cc9caee56a63690af142e8599ea6926)

14 years agor9674: r9678@blu: tridge | 2005-08-27 16:32:30 +1000
Andrew Tridgell [Sat, 27 Aug 2005 06:29:12 +0000 (06:29 +0000)]
r9674:  r9678@blu:  tridge | 2005-08-27 16:32:30 +1000
 - removed the initial provision button. It is just way too confusing.
 We should have a separate 'migration' page instead, but in the
 meantime to migrate please use the command line

 - added a check for a blank password. If blank, then ask them
  to reenter it
(This used to be commit 2673bebf138a9bda79f99dd5caff93dd6db24658)

14 years agor9672: Fix build for compilers that don't like undefined-length arrays at the end...
Jelmer Vernooij [Sat, 27 Aug 2005 02:10:28 +0000 (02:10 +0000)]
r9672: Fix build for compilers that don't like undefined-length arrays at the end of structs...
(This used to be commit c2211df586337ff68bb805801959147065040c01)

14 years agor9671: patch from Kai Blin fixing a bug in our base64 encoder
Andrew Tridgell [Sat, 27 Aug 2005 01:42:20 +0000 (01:42 +0000)]
r9671: patch from Kai Blin fixing a bug in our base64 encoder
(This used to be commit efa143cb3b4815fed7b037e05d591eadb828536b)

14 years agor9668: Cross-browser fix for IE, when adding scripts on the fly.
Deryck Hodge [Fri, 26 Aug 2005 21:58:57 +0000 (21:58 +0000)]
r9668: Cross-browser fix for IE, when adding scripts on the fly.

(This used to be commit 1f4e65ce96ec8c4335bfabbe54989a8cb431d773)

14 years agor9663: Portability fix for IE.
Deryck Hodge [Fri, 26 Aug 2005 19:55:22 +0000 (19:55 +0000)]
r9663: Portability fix for IE.

(This used to be commit 87cb23aae377a9cdce790881c65535ed4d3931e1)

14 years agor9654: introduce the samdb_search_dn call
Simo Sorce [Fri, 26 Aug 2005 16:12:25 +0000 (16:12 +0000)]
r9654: introduce the samdb_search_dn call
(This used to be commit 333ebb40d55c60465564b894d5028b364e99ee00)

14 years agor9651: Start to group all SWAT specific windowing, widgets, etc. in one
Deryck Hodge [Fri, 26 Aug 2005 13:22:56 +0000 (13:22 +0000)]
r9651: Start to group all SWAT specific windowing, widgets, etc. in one
file.  This allows basic style and event code to be set in one place,
though we'll still have to override for a specific position or look.

More to come...

(This used to be commit 9d5482d2aaff2082d85d626c288f2ad16e20b6ae)

14 years agor9649: missed a spot .....
Andrew Tridgell [Fri, 26 Aug 2005 12:02:47 +0000 (12:02 +0000)]
r9649: missed a spot .....
(This used to be commit d3b5d006717c24660244c6475ffc73cb0b56d021)

14 years agor9648: this fixes the krb5 based login with the pac. The key to this whole saga was
Andrew Tridgell [Fri, 26 Aug 2005 11:52:35 +0000 (11:52 +0000)]
r9648: this fixes the krb5 based login with the pac. The key to this whole saga was
that the logon_time field in the pac must match the authtime field in the ticket we
gave the client in the AS-REP (and thus also the authtime field in the ticket we get
back in the TGS-REQ).

Many thanks to Andrew Bartlett for his patience in showing me the
basic ropes of all this code! This was a joint effort.
(This used to be commit 7bee374b3ffcdb0424a83f909fe5ad504ea3882e)

14 years agor9647: saved_pac is binary data, so prevent any possible portability problems with...
Andrew Tridgell [Fri, 26 Aug 2005 11:42:21 +0000 (11:42 +0000)]
r9647: saved_pac is binary data, so prevent any possible portability problems with signed chars
(This used to be commit 4b3e3a9633bf7ce57f537b9897c0e9c613a99f7a)

14 years agor9646: fixed error message
Andrew Tridgell [Fri, 26 Aug 2005 11:38:07 +0000 (11:38 +0000)]
r9646: fixed error message
(This used to be commit 804f2485d059d60c4a41b6094c4cf568e6989397)

14 years agor9645: fixed the ejs GetOptions() call to look at the first option passed (this is...
Andrew Tridgell [Fri, 26 Aug 2005 11:37:52 +0000 (11:37 +0000)]
r9645: fixed the ejs GetOptions() call to look at the first option passed (this is what broke --help)
(This used to be commit 88a7e9e00f3714f89067ef97dfca46bc0688222e)

14 years agor9644: add LOCAL-PAC to the list of 'make test' tests
Andrew Tridgell [Fri, 26 Aug 2005 11:37:09 +0000 (11:37 +0000)]
r9644: add LOCAL-PAC to the list of 'make test' tests
(This used to be commit 13185f468f7f2a6773e58c14480f19c038dfd797)

14 years agor9643: fixed samsync code for the new dn explode semantics
Andrew Tridgell [Fri, 26 Aug 2005 11:36:28 +0000 (11:36 +0000)]
r9643: fixed samsync code for the new dn explode semantics
(This used to be commit 96298af202f994c3d5d0c7f5dacd1197a740f766)

14 years agor9638: add error code that you get when you call DsGetNCChanges() with a tmp_highest_...
Stefan Metzmacher [Fri, 26 Aug 2005 08:42:29 +0000 (08:42 +0000)]
r9638: add error code that you get when you call DsGetNCChanges() with a tmp_highest_usn which is
higher than the real highest of the source dsa

(This used to be commit e4424d2a6dc7a783e8b3af4a164f8dc801130e44)

14 years agor9635: Seperate window logic from registry js file.
Deryck Hodge [Fri, 26 Aug 2005 05:25:29 +0000 (05:25 +0000)]
r9635: Seperate window logic from registry js file.
This allows for flexibility in display format,
which will make more sense when I start working
on windows, tabs, etc.

Add the beginnings of a document.js object that allows
us to add and remove scripts as we use them, which will
ensure we only load what we need.  A desktop GUI runs
from a single page, so we can't load js files by changing

(This used to be commit b4f6f81d7bbf87fcb7c7c9bd4a7164aabaeedc1c)

14 years agor9625: Get rid of "duplicate const" warning.
Tim Potter [Thu, 25 Aug 2005 23:05:41 +0000 (23:05 +0000)]
r9625: Get rid of "duplicate const" warning.
(This used to be commit 0ec755cfa0499bf1f271584db3c028d87973f1af)

14 years agor9624: Support writing wins.ldif
Jelmer Vernooij [Thu, 25 Aug 2005 22:57:56 +0000 (22:57 +0000)]
r9624: Support writing wins.ldif
(This used to be commit b0595d238bbcc4a3927914d1fd6032e9293da5cc)

14 years agor9623: samba3dump now generates LDIF for the registry hives from registry.tdb
Jelmer Vernooij [Thu, 25 Aug 2005 22:29:55 +0000 (22:29 +0000)]
r9623: samba3dump now generates LDIF for the registry hives from registry.tdb
couple of other small fixes
(This used to be commit 06bc5d8e0950dd85b6f26a1355fa0a2ae178d30f)

14 years agor9621: Bunch of bug fixes. Add 'format' option to samba3dump (text,summary,ldif)
Jelmer Vernooij [Thu, 25 Aug 2005 19:02:03 +0000 (19:02 +0000)]
r9621: Bunch of bug fixes. Add 'format' option to samba3dump (text,summary,ldif)
(This used to be commit dc6aab8d4a6d0fe47756c90d3d311b6009d571ff)

14 years agor9616: Finish ldb_map module (still needs a lot of testing though...)
Jelmer Vernooij [Thu, 25 Aug 2005 15:25:22 +0000 (15:25 +0000)]
r9616: Finish ldb_map module (still needs a lot of testing though...)
Add initial mapping table for ldb_samba3. Contains most attributes.
(This used to be commit b73441b04d048919e95ee7f7bcae330c4dafefe7)

14 years agor9612: Don't generate handoff code for idl files that don't implement a pipe
Tim Potter [Thu, 25 Aug 2005 11:39:23 +0000 (11:39 +0000)]
r9612: Don't generate handoff code for idl files that don't implement a pipe
(e.g security.idl)
(This used to be commit 178d040dbb07f53c29e945a2109bb3c8f355e3d3)

14 years agor9611: Reset global variables (hf and ett lists) for each parser run. This
Tim Potter [Thu, 25 Aug 2005 11:05:49 +0000 (11:05 +0000)]
r9611: Reset global variables (hf and ett lists) for each parser run.  This
avoids building up buckets of unecessary definitions from other parsers.

Get rid of warning and FIXME for unknown data types.  This is handled
by the interface depends list and including the appropriate header files.
(This used to be commit eb5e3b031cd18fb1f83d9ccbb21e5148c8c1cdd0)

14 years agor9610: use a list of allowable extensions for unauthenticated access rather than
Andrew Tridgell [Thu, 25 Aug 2005 08:22:42 +0000 (08:22 +0000)]
r9610: use a list of allowable extensions for unauthenticated access rather than
a list of file names
(This used to be commit ef61c8de2fa62d37486ea93d5773198d21c1a2c4)

14 years agor9608: don't validate the hard-coded sid for an external pac file
Andrew Tridgell [Thu, 25 Aug 2005 05:00:52 +0000 (05:00 +0000)]
r9608: don't validate the hard-coded sid for an external pac file
(This used to be commit 7e6957b906be760e7eb7e6ab6dbc86efeb0c42d2)

14 years agor9603: allow the LOCAL-PAC test to use keys and pac data from the command line
Andrew Tridgell [Thu, 25 Aug 2005 02:07:51 +0000 (02:07 +0000)]
r9603: allow the LOCAL-PAC test to use keys and pac data from the command line

For example:

bin/smbtorture //xx/y LOCAL-PAC --option 'torture:pac_file=x.dat' --option 'torture:pac_kdc_key=B286757148AF7FD252C53603A150B7E7' --option 'torture:pac_member_key=D217FAEAE5E6B5F95CCC94077AB8A5FC'
(This used to be commit e0978ead23c493a802ce69ed7be871b2a9a54498)

14 years agor9602: Add support for reading share_info.tdb and smb.conf.
Jelmer Vernooij [Thu, 25 Aug 2005 01:12:43 +0000 (01:12 +0000)]
r9602: Add support for reading share_info.tdb and smb.conf.
Add userdata argument to function pointers for pm_process()
(This used to be commit 84b2fb34675fa557173621433838c5a7ec0f1283)

14 years agor9600: fixed the intermittent failures we were getting with ejs in the build
Andrew Tridgell [Thu, 25 Aug 2005 00:57:21 +0000 (00:57 +0000)]
r9600: fixed the intermittent failures we were getting with ejs in the build
(This used to be commit b23bffcba62df954c7fb439c78b962fbd262cc5e)

14 years agor9599: fix formatting of echo output
Andrew Tridgell [Thu, 25 Aug 2005 00:38:09 +0000 (00:38 +0000)]
r9599: fix formatting of echo output
(This used to be commit 47c11fd886d7c57cafe2e150d745d3ce17e3bb72)

14 years agor9595: Add ldb map module
Jelmer Vernooij [Wed, 24 Aug 2005 22:06:26 +0000 (22:06 +0000)]
r9595: Add ldb map module
(This used to be commit e0a0d3f092d601a22b7549a0278735e66239b301)

14 years agor9591: - Remove empty file
Jelmer Vernooij [Wed, 24 Aug 2005 17:01:23 +0000 (17:01 +0000)]
r9591: - Remove empty file
- Fix a couple of typo's
- Fix build of lib/samba3/secrets.c for systems that don't have /usr/include/tdb.h...
(This used to be commit b8c52900636515d1215ae79a70416db93ce4531c)

14 years agor9589: Support reading secrets tdb
Jelmer Vernooij [Wed, 24 Aug 2005 16:39:28 +0000 (16:39 +0000)]
r9589: Support reading secrets tdb
(This used to be commit dd15131b5219ecf0d09329c0de37c426b9147f45)

14 years agor9587: Fix SWAT data dir for --with-fhs
Jelmer Vernooij [Wed, 24 Aug 2005 15:11:13 +0000 (15:11 +0000)]
r9587: Fix SWAT data dir for --with-fhs
(This used to be commit 53d0c3e4852c977901a6bdbe196e0d00753beeda)

14 years agor9584: Fix a race condition in Samba 3. If two files are opened simultaneously with
Volker Lendecke [Wed, 24 Aug 2005 13:15:01 +0000 (13:15 +0000)]
r9584: Fix a race condition in Samba 3. If two files are opened simultaneously with
NTCREATEX_DISP_CREATE (create if not exists, else fail) they might end up with
two or more times NT_STATUS_OK as EEXIST is not correctly handled.

Jeremy, please look closely at this. You can easily verify this by adding a
smb_msleep(100) to the top of open_file_ntcreate and run the new samba4
torture test. It does also happen without the msleep, but not as reliably.


(This used to be commit c803d4c9a588e39a90ddfe900be9b9de1a861f82)

14 years agor9581: Registry db
Jelmer Vernooij [Wed, 24 Aug 2005 12:21:19 +0000 (12:21 +0000)]
r9581: Registry db
(This used to be commit b264e9f56a434400277bb73898484aff93522fe8)

14 years agor9580: put the libinclude() after the GetOptions so the smb.conf is loaded to
Andrew Tridgell [Wed, 24 Aug 2005 12:19:59 +0000 (12:19 +0000)]
r9580: put the libinclude() after the GetOptions so the smb.conf is loaded to
get the libjs path
(This used to be commit ee0b693ffaf02e75d3d740c36fffb9ea75e54431)

14 years agor9579: Desktop SWAT opens now with a little server status window.
Deryck Hodge [Wed, 24 Aug 2005 11:53:01 +0000 (11:53 +0000)]
r9579: Desktop SWAT opens now with a little server status window.
This includes a table layout that can be reused (see
QxListView in status.js).

Some formatting fixes, too.

(This used to be commit f95bf0adf760b8799ec02ec68ce42516ca40b6d2)

14 years agor9578: fixed an endless loop and memory leak in the QueryMultipleValues test
Andrew Tridgell [Wed, 24 Aug 2005 11:42:46 +0000 (11:42 +0000)]
r9578: fixed an endless loop and memory leak in the QueryMultipleValues test
(This used to be commit ba909a64e92e9b2d2c8fd02fc9e9e0e7aa49dd0a)

14 years agor9577: Fix some indentation.
Tim Potter [Wed, 24 Aug 2005 11:33:26 +0000 (11:33 +0000)]
r9577: Fix some indentation.
(This used to be commit 2759c91b811511d34f276631378fe6c1cf139760)

14 years agor9576: Couple of small fixes. Generate notice indicating
Jelmer Vernooij [Wed, 24 Aug 2005 11:17:28 +0000 (11:17 +0000)]
r9576: Couple of small fixes. Generate notice indicating
that the parsers were autogenerated.
(This used to be commit a37e2134e61eb38e9cbc54f8533113622f013037)

14 years agor9575: more automatic cleanup code in winreg test
Andrew Tridgell [Wed, 24 Aug 2005 11:12:16 +0000 (11:12 +0000)]
r9575: more automatic cleanup code in winreg test
(This used to be commit 0e30c80a53af45ee9112513c02a6a231e8b1a133)