16 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.


16 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

16 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.


16 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.


16 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

16 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

16 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.

16 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.

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

16 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

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

16 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.

16 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

16 years agor9731: Fix typo
Andrew Bartlett [Mon, 29 Aug 2005 04:38:37 +0000 (04:38 +0000)]
r9731: Fix typo

16 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

16 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

16 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.

16 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..

16 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..

16 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

16 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

16 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.


16 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

16 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

16 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

16 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!

16 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()

16 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

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

Andrew Bartlett

16 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

16 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..)

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

16 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

16 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

16 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

16 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...

16 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 ;-)

16 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

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

16 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.  (-:

16 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?

16 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

16 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

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

Andrew Bartlett

16 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.

16 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

16 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...

16 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

16 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.


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


16 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

16 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...


16 years agor9649: missed a spot .....
Andrew Tridgell [Fri, 26 Aug 2005 12:02:47 +0000 (12:02 +0000)]
r9649: missed a spot .....

16 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.

16 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

16 years agor9646: fixed error message
Andrew Tridgell [Fri, 26 Aug 2005 11:38:07 +0000 (11:38 +0000)]
r9646: fixed error message

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

16 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

16 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

16 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


16 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


16 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.

16 years agor9624: Support writing wins.ldif
Jelmer Vernooij [Thu, 25 Aug 2005 22:57:56 +0000 (22:57 +0000)]
r9624: Support writing wins.ldif

16 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

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

16 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.

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

16 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.

16 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

16 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

16 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'

16 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()

16 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

16 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

16 years agor9595: Add ldb map module
Jelmer Vernooij [Wed, 24 Aug 2005 22:06:26 +0000 (22:06 +0000)]
r9595: Add ldb map module

16 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...

16 years agor9589: Support reading secrets tdb
Jelmer Vernooij [Wed, 24 Aug 2005 16:39:28 +0000 (16:39 +0000)]
r9589: Support reading secrets tdb

16 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

16 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.



16 years agor9581: Registry db
Jelmer Vernooij [Wed, 24 Aug 2005 12:21:19 +0000 (12:21 +0000)]
r9581: Registry db

16 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

16 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.


16 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

16 years agor9577: Fix some indentation.
Tim Potter [Wed, 24 Aug 2005 11:33:26 +0000 (11:33 +0000)]
r9577: Fix some indentation.

16 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.

16 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

16 years agor9574: - made the sec_info fields in lsa and samr use a IDL bitmap
Andrew Tridgell [Wed, 24 Aug 2005 11:01:10 +0000 (11:01 +0000)]
r9574: - made the sec_info fields in lsa and samr use a IDL bitmap

- fixed winreg_GetKeySecurity() to use a sec_info field correctly

- simplied the winreg torture code, removing the separate opens for
  each hive

- added torture cleanup code in winreg test

- added 'create with security descriptor' in the winreg torture test

16 years agor9573: fixed a comment
Andrew Tridgell [Wed, 24 Aug 2005 10:58:29 +0000 (10:58 +0000)]
r9573: fixed a comment

16 years agor9569: fixed an uninitialised variable
Andrew Tridgell [Wed, 24 Aug 2005 08:33:56 +0000 (08:33 +0000)]
r9569: fixed an uninitialised variable

16 years agor9568: updated the winreg js library for CreateKey, and add a --createkey
Andrew Tridgell [Wed, 24 Aug 2005 08:32:51 +0000 (08:32 +0000)]
r9568: updated the winreg js library for CreateKey, and add a --createkey
option to the winreg tool

16 years agor9567: fixed the winreg IDL for CreateKey, including a security
Andrew Tridgell [Wed, 24 Aug 2005 08:31:39 +0000 (08:31 +0000)]
r9567: fixed the winreg IDL for CreateKey, including a security
descriptor. To keep it simple I just use normal IDL buffers for now,
avoiding the complex methods metze used in spoolss. We might change
that later

Also added decoding of the security_descriptor in
winreg_GetKeySecurity() in smbtorture

16 years agor9566: fix an uninitialised variable
Andrew Tridgell [Wed, 24 Aug 2005 08:28:49 +0000 (08:28 +0000)]
r9566: fix an uninitialised variable

16 years agor9563: I think this INIT_OBJ_FILES should be ADD_OBJ_FILES so that the lib/samba3
Tim Potter [Wed, 24 Aug 2005 03:39:25 +0000 (03:39 +0000)]
r9563: I think this INIT_OBJ_FILES should be ADD_OBJ_FILES so that the lib/samba3
source files are included in make proto.  Fixes the build with

16 years agor9558: Add more whitespace to generated output.
Tim Potter [Wed, 24 Aug 2005 01:58:36 +0000 (01:58 +0000)]
r9558: Add more whitespace to generated output.

Change conformance file warning to something more understandable.

Don't generate duplicate duplicate element dissectors for function
call arguments.  Hey this makes the winreg dissector compile, but not

16 years agor9557: Some more updates. Use combined function for parsing a set of
Jelmer Vernooij [Wed, 24 Aug 2005 01:52:17 +0000 (01:52 +0000)]
r9557: Some more updates. Use combined function for parsing a set of
samba3 databases

16 years agor9556: Define a few libsamba structs
Jelmer Vernooij [Wed, 24 Aug 2005 01:05:48 +0000 (01:05 +0000)]
r9556: Define a few libsamba structs

16 years agor9555: More updates. Everything except for secrets.c compiles now..
Jelmer Vernooij [Wed, 24 Aug 2005 00:58:52 +0000 (00:58 +0000)]
r9555: More updates. Everything except for secrets.c compiles now..

16 years agor9554: Do a quick once-over to make the ethereal auto-generated parser code a
Tim Potter [Wed, 24 Aug 2005 00:53:37 +0000 (00:53 +0000)]
r9554: Do a quick once-over to make the ethereal auto-generated parser code a
bit more readable.

16 years agor9553: Some cosmetic things to make the atsvc dissector output look prettier
Tim Potter [Wed, 24 Aug 2005 00:04:48 +0000 (00:04 +0000)]
r9553: Some cosmetic things to make the atsvc dissector output look prettier
and be more usable:

  - nicer formatting for summary of set fields in bitmap.

  - say "Pointer to Foo" in proto_tree instead of just "Foo" when
    dissecting pointers.

  - append string value to proto_tree when dissecting pointers to strings.

  - strip librpc/gen_ndr prefix from includes so generated files can
    live in the ethereal epan/dissectors directory.

Now to work on getting the winreg dissector compiling...

16 years agor9552: Add idmap support.
Jelmer Vernooij [Tue, 23 Aug 2005 23:55:41 +0000 (23:55 +0000)]
r9552: Add idmap support.