jelmer/samba4-debian.git
17 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

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

Andrew Bartlett

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

17 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

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

17 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

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

deryck

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

deryck

17 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

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

deryck

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

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

17 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

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

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

17 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

17 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

17 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

metze

17 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
pages.

deryck

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

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

17 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

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

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

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

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

17 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

17 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

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

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

17 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
farm.

17 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

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

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

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

17 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

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

Thanks,

Volker

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

17 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

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

deryck

17 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

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

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

17 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

17 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

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

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

17 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

17 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

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

17 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
./configure.developer.

17 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
link.

17 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

17 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

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

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

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

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

17 years agor9550: Adjust some indentation.
Tim Potter [Tue, 23 Aug 2005 22:28:36 +0000 (22:28 +0000)]
r9550: Adjust some indentation.

17 years agor9549: Rerun ./config.status if one of the .mk files changes
Jelmer Vernooij [Tue, 23 Aug 2005 22:16:36 +0000 (22:16 +0000)]
r9549: Rerun ./config.status if one of the .mk files changes

17 years agor9547: A pile more completeness testing for DsCrackNames.
Andrew Bartlett [Tue, 23 Aug 2005 22:02:54 +0000 (22:02 +0000)]
r9547: A pile more completeness testing for DsCrackNames.

Andrew Bartlett

17 years agor9527: add the magic Bind GUID's, that are needed to fetch the whole
Stefan Metzmacher [Tue, 23 Aug 2005 16:19:04 +0000 (16:19 +0000)]
r9527: add the magic Bind GUID's, that are needed to fetch the whole
tree with DsGeNCChanges(), this is possible as administrator
without having a DC account joined to the domain

metze

17 years agor9526: provide DCERPC auth type 16
Stefan Metzmacher [Tue, 23 Aug 2005 16:13:39 +0000 (16:13 +0000)]
r9526: provide DCERPC auth type 16

metze

17 years agor9519: Use the value() value of an element when that element is used in
Jelmer Vernooij [Tue, 23 Aug 2005 13:19:33 +0000 (13:19 +0000)]
r9519: Use the value() value of an element when that element is used in
limited expressions (size_is,length_is,subcontext_size,etc)

17 years agor9518: - remove the subcontext_size() hack from rev 9509
Stefan Metzmacher [Tue, 23 Aug 2005 13:12:07 +0000 (13:12 +0000)]
r9518: - remove the subcontext_size() hack from rev 9509
  as it isn't needed
- parse some more DsAddEntry() errors
- add some more attid constands so that all attribute that are needed
  for a DsAddEntry in the DC Domain Join are mapped
- add value() for __ndr_size, to more attribute container, so that the caller
  doesn't need to fill them in, that was the reason for getting an NDR_FAULT

metze

17 years agor9517: fix compiler warning: status.v initialized variable used in line 375
Stefan Metzmacher [Tue, 23 Aug 2005 13:03:39 +0000 (13:03 +0000)]
r9517: fix compiler warning: status.v initialized variable used in line 375

tridge: what should be the correct error code?
        see rev 3239!

metze

17 years agor9516: Try a full-on matrix test of all the combinations in DRSUAPI
Andrew Bartlett [Tue, 23 Aug 2005 11:54:38 +0000 (11:54 +0000)]
r9516: Try a full-on matrix test of all the combinations in DRSUAPI
CrackNames.

Andrew Bartlett

17 years agor9514: add some new error codes I was getting with DsGetNCChanges() and DsAddEntry()
Stefan Metzmacher [Tue, 23 Aug 2005 11:40:26 +0000 (11:40 +0000)]
r9514: add some new error codes I was getting with DsGetNCChanges() and DsAddEntry()

metze

17 years agor9513: - let us parse some more replies of DsAddEntry
Stefan Metzmacher [Tue, 23 Aug 2005 10:56:01 +0000 (10:56 +0000)]
r9513: - let us parse some more replies of DsAddEntry
- give some stuff a meening

metze

17 years agor9511: - fix the memory trees
Stefan Metzmacher [Tue, 23 Aug 2005 09:45:38 +0000 (09:45 +0000)]
r9511: - fix the memory trees
- add a note about a possible talloc_free()

metze

17 years agor9510: fix the memory tree
Stefan Metzmacher [Tue, 23 Aug 2005 09:29:32 +0000 (09:29 +0000)]
r9510: fix the memory tree

metze

17 years agor9509: start to fix the pushing of drsuapi_DsAttributeValueDNString structs,
Stefan Metzmacher [Tue, 23 Aug 2005 09:28:37 +0000 (09:28 +0000)]
r9509: start to fix the pushing of drsuapi_DsAttributeValueDNString structs,
this uses a trick with talloc_get_type() to workaround using [value()] vars
in [subcontext_size()]

metze

17 years agor9506: as the included file only contains a macro and no logic for configure move the
Stefan Metzmacher [Tue, 23 Aug 2005 06:40:10 +0000 (06:40 +0000)]
r9506: as the included file only contains a macro and no logic for configure move the
include to aclocal.m4

metze

17 years agor9505: Work on GENSEC and the code that calls it, for tighter interface
Andrew Bartlett [Tue, 23 Aug 2005 05:29:37 +0000 (05:29 +0000)]
r9505: Work on GENSEC and the code that calls it, for tighter interface
requirements, and for better error reporting.

In particular, the composite session setup (extended security/SPNEGO)
code now returns errors, rather than NT_STATUS_NO_MEMORY.  This is
seen particularly when GENSEC fails to start.

The tighter interface rules apply to NTLMSSP, which must be called
exactly the right number of times.  This is to match some of our other
less-tested modules, where adding flexablity is harder.  (and this is
security code, so let's just get it right).  As such, the DCE/RPC and
LDAP clients have been updated.

Andrew Bartlett

17 years agor9504: use some low level ejs hackery to give much better exception error messages...
Andrew Tridgell [Tue, 23 Aug 2005 05:21:04 +0000 (05:21 +0000)]
r9504: use some low level ejs hackery to give much better exception error messages in both
the web server and smbscript. We can now give backtraces for all internal asserts, not
just high level errors

17 years agor9503: removed duplicate REG_* defines from registry.h now that they are
Andrew Tridgell [Tue, 23 Aug 2005 03:22:25 +0000 (03:22 +0000)]
r9503: removed duplicate REG_* defines from registry.h now that they are
generated in winreg.h

17 years agor9501: fixed the SWAT login page for the changes to the userAuth() function that...
Andrew Tridgell [Tue, 23 Aug 2005 02:12:21 +0000 (02:12 +0000)]
r9501: fixed the SWAT login page for the changes to the userAuth() function that Mimir made
earlier today

17 years agor9500: userAuth() takes a creds object, not a general object now ...
Andrew Tridgell [Tue, 23 Aug 2005 02:11:49 +0000 (02:11 +0000)]
r9500: userAuth() takes a creds object, not a general object now ...

17 years agor9499: added error checking to the userAuth() call. SWAT is still failing, but at...
Andrew Tridgell [Tue, 23 Aug 2005 02:05:53 +0000 (02:05 +0000)]
r9499: added error checking to the userAuth() call. SWAT is still failing, but at least it now
tells us why

17 years agor9498: converted the SWAT regedit backend code to use the OO calls
Andrew Tridgell [Tue, 23 Aug 2005 02:00:43 +0000 (02:00 +0000)]
r9498: converted the SWAT regedit backend code to use the OO calls

17 years agor9497: - converted the winreg library to a more OO style of interface
Andrew Tridgell [Tue, 23 Aug 2005 02:00:09 +0000 (02:00 +0000)]
r9497: - converted the winreg library to a more OO style of interface

- added a reg.typestring() method that returns a string representation of a type

17 years agor9496: added a regToVar() function that converts a registry blob variable to a ejs...
Andrew Tridgell [Tue, 23 Aug 2005 01:59:08 +0000 (01:59 +0000)]
r9496: added a regToVar() function that converts a registry blob variable to a ejs variable.

17 years agor9495: - added an enum for winreg key types, making it easier to read the debug logs
Andrew Tridgell [Tue, 23 Aug 2005 00:41:25 +0000 (00:41 +0000)]
r9495: - added an enum for winreg key types, making it easier to read the debug logs

- got rid of winreg_Time, as its just a NTTIME

17 years agor9494: Add ac-archive macro for checking GCC options. Use this to add to
James Peach [Tue, 23 Aug 2005 00:16:13 +0000 (00:16 +0000)]
r9494: Add ac-archive macro for checking GCC options. Use this to add to
developer CFLAGS to handle different versions of GCC.

17 years agor9493: our test scripts need to use testok at the end or the errors don't annumulate...
Andrew Tridgell [Mon, 22 Aug 2005 23:35:01 +0000 (23:35 +0000)]
r9493: our test scripts need to use testok at the end or the errors don't annumulate between scripts

this is why the GetOptions bug wasn't caught by 'make test'

17 years agor9492: it is more usual to return 'undefined' instead of 'false' on a call failing...
Andrew Tridgell [Mon, 22 Aug 2005 23:33:47 +0000 (23:33 +0000)]
r9492: it is more usual to return 'undefined' instead of 'false' on a call failing (unless the
call is returning a boolean anyway).

Unfortunately the new GetOptions syntax loses the ability for the caller to know why the
command line arguments were bad. Maybe we would be better always returning an object and
having an is_error element?

17 years agor9491: fixed up a few scripts that need to be updated for the new GetOptions syntax...
Andrew Tridgell [Mon, 22 Aug 2005 23:31:18 +0000 (23:31 +0000)]
r9491: fixed up a few scripts that need to be updated for the new GetOptions syntax. Mimir, its
a good idea to use grep -r to find places that need fixing when you change the syntax of
a call :-)

17 years agor9490: Fix typo
Andrew Bartlett [Mon, 22 Aug 2005 22:33:58 +0000 (22:33 +0000)]
r9490: Fix typo

Andrew Bartlett

17 years agor9482: add --validate and --dump-data options to ndrdump,
Stefan Metzmacher [Mon, 22 Aug 2005 16:21:29 +0000 (16:21 +0000)]
r9482: add --validate and --dump-data options to ndrdump,
this allows us to check the differences in our pull and push code

metze

17 years agor9479: More fixes for explicit ignoring of returned result to fix Coverity warnings
Alexander Bokovoy [Mon, 22 Aug 2005 16:02:11 +0000 (16:02 +0000)]
r9479: More fixes for explicit ignoring of returned result to fix Coverity warnings

17 years agor9478: Fix NTVFS POSIX module to work with EA and blkid after build system changes
Alexander Bokovoy [Mon, 22 Aug 2005 16:01:01 +0000 (16:01 +0000)]
r9478: Fix NTVFS POSIX module to work with EA and blkid after build system changes

17 years agor9477: Convert popt options to an ejs object. Doesn't seem to break anything
Rafal Szczesniak [Mon, 22 Aug 2005 14:32:58 +0000 (14:32 +0000)]
r9477: Convert popt options to an ejs object. Doesn't seem to break anything
except of popt help (-h) option (unexpected ?).

rafal

17 years agor9476: Make intention to ignore result of receiving excplicit. Fixes warning found...
Alexander Bokovoy [Mon, 22 Aug 2005 14:07:52 +0000 (14:07 +0000)]
r9476: Make intention to ignore result of receiving excplicit. Fixes warning found by Coverity

17 years agor9473: - assume the case that happens on most boxes, to remove compiler warnings...
Stefan Metzmacher [Mon, 22 Aug 2005 12:08:14 +0000 (12:08 +0000)]
r9473: - assume the case that happens on most boxes, to remove compiler warnings on them

metze

17 years agor9472: Add read-only version of Samba3 registry database (doesn't compile yet)
Jelmer Vernooij [Mon, 22 Aug 2005 11:37:20 +0000 (11:37 +0000)]
r9472: Add read-only version of Samba3 registry database (doesn't compile yet)

17 years agor9471: Rough first pass at a menu system. It's hacked together, but
Deryck Hodge [Mon, 22 Aug 2005 05:07:39 +0000 (05:07 +0000)]
r9471: Rough first pass at a menu system.  It's hacked together, but
I wanted to just get it working to play with it.  Only the
reg editor works from this menu.  The rest will follow later.

deryck

17 years agor9470: non-working attempt to add a little table for values to the reg editor
Andrew Tridgell [Mon, 22 Aug 2005 03:48:48 +0000 (03:48 +0000)]
r9470: non-working attempt to add a little table for values to the reg editor

hopefully deryck will be able to tell me what I've screwed up :-)

17 years agor9469: Add a right-click menu to the SWAT desktop.
Deryck Hodge [Mon, 22 Aug 2005 03:38:31 +0000 (03:38 +0000)]
r9469: Add a right-click menu to the SWAT desktop.
This includes a generic showMessage() for opening
a dialog window to the user.

Next is a start menu, and then I'll move on to more
practical functionality... user manager, server config, etc.

deryck

17 years agor9466: add display of values as well as keys in the registry editor
Andrew Tridgell [Mon, 22 Aug 2005 01:53:06 +0000 (01:53 +0000)]
r9466: add display of values as well as keys in the registry editor

17 years agor9465: handle encoding and decoding of pointers, representing them as a
Andrew Tridgell [Mon, 22 Aug 2005 01:52:22 +0000 (01:52 +0000)]
r9465: handle encoding and decoding of pointers, representing them as a
string containing "(POINTER)"