metze/samba/wip.git
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)
(This used to be commit dc6aab8d4a6d0fe47756c90d3d311b6009d571ff)

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.
(This used to be commit b73441b04d048919e95ee7f7bcae330c4dafefe7)

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)
(This used to be commit 178d040dbb07f53c29e945a2109bb3c8f355e3d3)

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.
(This used to be commit eb5e3b031cd18fb1f83d9ccbb21e5148c8c1cdd0)

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
(This used to be commit ef61c8de2fa62d37486ea93d5773198d21c1a2c4)

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
(This used to be commit 7e6957b906be760e7eb7e6ab6dbc86efeb0c42d2)

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'
(This used to be commit e0978ead23c493a802ce69ed7be871b2a9a54498)

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()
(This used to be commit 84b2fb34675fa557173621433838c5a7ec0f1283)

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
farm.
(This used to be commit b23bffcba62df954c7fb439c78b962fbd262cc5e)

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
(This used to be commit 47c11fd886d7c57cafe2e150d745d3ce17e3bb72)

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
(This used to be commit e0a0d3f092d601a22b7549a0278735e66239b301)

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...
(This used to be commit b8c52900636515d1215ae79a70416db93ce4531c)

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
(This used to be commit dd15131b5219ecf0d09329c0de37c426b9147f45)

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
(This used to be commit 53d0c3e4852c977901a6bdbe196e0d00753beeda)

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.

Thanks,

Volker
(This used to be commit c803d4c9a588e39a90ddfe900be9b9de1a861f82)

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

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
(This used to be commit ee0b693ffaf02e75d3d740c36fffb9ea75e54431)

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.

deryck
(This used to be commit f95bf0adf760b8799ec02ec68ce42516ca40b6d2)

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
(This used to be commit ba909a64e92e9b2d2c8fd02fc9e9e0e7aa49dd0a)

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

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.
(This used to be commit a37e2134e61eb38e9cbc54f8533113622f013037)

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
(This used to be commit 0e30c80a53af45ee9112513c02a6a231e8b1a133)

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
(This used to be commit f20695decd587f7b6bbdbd4861441bd19ab85078)

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

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
(This used to be commit 5c71547703eeb328cdfbefbbfce6da38f7e6c5d5)

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
(This used to be commit 881452c7b7cc00222328f743c2c0c4ece39f4c96)

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
(This used to be commit 439f34a9621e2e96329c30cfed8d78b8fdfbd8a2)

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
(This used to be commit 7082440a70c5f85606538b7a35a1cc8f41eb7eeb)

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
./configure.developer.
(This used to be commit 691d6a04d76d55bfd61d581759b9be6a72880019)

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
link.
(This used to be commit 545d3deaa43ed2e837a7fb5e0cf5761281a9451f)

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
(This used to be commit b91a695bd854c6d37ec536edb2db7b6f97fe69dc)

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
(This used to be commit 46c5cdb673b0a8c6f5e23f96ad4284b6d4f8ae63)

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..
(This used to be commit e59d6156b2d569ca788fe1824148f05f4a7a9918)

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.
(This used to be commit da3ca9e3c1df09983629eeee8baab2196f2135a9)

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...
(This used to be commit ab00976699a2deeb3ddca510864520fcb46714bc)

16 years agor9552: Add idmap support.
Jelmer Vernooij [Tue, 23 Aug 2005 23:55:41 +0000 (23:55 +0000)]
r9552: Add idmap support.
(This used to be commit 37882f22873fdeb3bf4ae90128e335abbd90db5f)

16 years agor9550: Adjust some indentation.
Tim Potter [Tue, 23 Aug 2005 22:28:36 +0000 (22:28 +0000)]
r9550: Adjust some indentation.
(This used to be commit 781df1691cec6ed59f94313f5ffd40a60f75a0fd)

16 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
(This used to be commit 729b8bd7832b0db19d68dd3348b1b7103ab135fb)

16 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
(This used to be commit 01c4a970ec22b3915b8017da018bd500b4fffcbc)

16 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
(This used to be commit e6f92444d26734ed984ff1b15a359ef94193945a)

16 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
(This used to be commit 995b805e046e6e25544487667d928187e13614d6)

16 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)
(This used to be commit 886780c298a794f304b0fce851bbb58c53605d17)

16 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
(This used to be commit a9a1a6f861c8db626b3232f057ef0b9c3d0ad1b0)

16 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
(This used to be commit 27ec849718b97df2d6f30e2fbacaa0423e918862)

16 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
(This used to be commit a82a419579872fc78b02c29972eaf55da22088c1)

16 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
(This used to be commit 2cbbb8ace215f56e4e9affd54027bbd74309ae3a)

16 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
(This used to be commit 6d9b8d300829f1dcb3faee666c471c40c24c8aaa)

16 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
(This used to be commit 550e3030f0e02720b527f3b4923457f05f484e6e)

16 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
(This used to be commit 6d412cf0a4186ec04cee61dd5387903de051fde7)

16 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
(This used to be commit 93065f2d3439bceeaa7c2a09679cc6d81472150d)

16 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
(This used to be commit 1b777217ba2e7ee7bf4932fe5bea18a306207d0f)

16 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
(This used to be commit 134550cf752b9edad66c3368750bfb4bbd9d55d1)

16 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
(This used to be commit 84c756b25ccb2bd75360bdb9b7b7643975d1f3b3)

16 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
(This used to be commit fc15e1b003a2b24dc73a6a7f2bbc45e20373dda1)

16 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
(This used to be commit 10b1f95790f2769cdc0e1c6f051cb7cc73f07d69)

16 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 ...
(This used to be commit 57e6eb9c66ba539a593524d8cfd8836a840ac1ba)

16 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
(This used to be commit 4afb16d7b24b1d1ed359048a89950924b363e44a)

16 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
(This used to be commit c22baee5aafb2937ddfb71942eef5c69544e823c)

16 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
(This used to be commit 47cf409cdf501fc3e2b0c65688a9ef1d702278a5)

16 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.
(This used to be commit 76ffc200794cdae6dcd7d07adb5617f1b09fe435)

16 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
(This used to be commit 198aff894eb63e6731daf68474d23a2abe21fbb9)

16 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.
(This used to be commit 850d073c8569c758a6998021ee033793425316c9)

16 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'
(This used to be commit 20a14b9b35c928a592cf03ebedbc6c89f756af28)

16 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?
(This used to be commit 516ba6d20bd1bd8d0235028515e94a8c4fd6574d)

16 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 :-)
(This used to be commit 1ead49f8e823a69dbd9cd3df3f5be04dc17e0d1f)

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

Andrew Bartlett
(This used to be commit 093b98b5b51d21cce9b2fdeab3d4113bfd96da41)

16 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
(This used to be commit f12ab6a9d3bd9d5043e9e602c383085869ddf4db)

16 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
(This used to be commit 4f9f4312e98cce7589fc8e094d08e76cc697ab3d)

16 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
(This used to be commit 4b89d7c7296dd7abd2d8bcd3f7b702de7314d9ff)

16 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
(This used to be commit 1990793b23d6198a85ce1bdf6ad43e12015db203)

16 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
(This used to be commit d1b7a4a24c3af1bfcc289a3476c9fb33ed2fb840)

16 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
(This used to be commit 3b83cf6b5bae877cf7c6a858683bc6fe781ad104)

16 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)
(This used to be commit 77cbb6299847bab1272cc681f4b8f54a9fca1339)

16 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
(This used to be commit 93e648ade28eb7e0fd147fdde281b3edfb2e9367)

16 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 :-)
(This used to be commit e68db751f064a0d968bd0995805141ffe5938ee7)

16 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
(This used to be commit eeacd73ef2da16337f2968aec86f9f9313085c25)

16 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
(This used to be commit 62d55a250afa3e3923a6b9da7b59177ad59d55a3)

16 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)"
(This used to be commit 6f69eeb8f258063f1ac911ab38e667e7743ccba3)

16 years agor9464: fixed a problem with child pointers copied into non-allocated mpr variables. We
Andrew Tridgell [Mon, 22 Aug 2005 01:51:02 +0000 (01:51 +0000)]
r9464: fixed a problem with child pointers copied into non-allocated mpr variables. We
now use the same free technique as is used for mpr strings, rather than relying on
being a child of the variable
(This used to be commit 3d6739eaa6e1b56d67bc7d9b5350a6911c96597a)

16 years agor9463: Fix DumpFunction() (was ignoring elements)
Jelmer Vernooij [Mon, 22 Aug 2005 00:22:21 +0000 (00:22 +0000)]
r9463: Fix DumpFunction() (was ignoring elements)
Fix use of pidl for people that don't have it installed...
Generate documentation for pidl debian package
(This used to be commit de66450c242b943cfb226187b0ad14f380f08479)

16 years agor9462: Fix locations for generating the yapp files
Jelmer Vernooij [Mon, 22 Aug 2005 00:06:35 +0000 (00:06 +0000)]
r9462: Fix locations for generating the yapp files
(This used to be commit 714f96b9bf2c6271f23bfcd35c58d5bf7b29aae2)

16 years agor9461: Couple of very small fixes.
Jelmer Vernooij [Sun, 21 Aug 2005 23:56:47 +0000 (23:56 +0000)]
r9461: Couple of very small fixes.
(This used to be commit f91121bded545b414b873cd3f3824556d0d2a42e)

16 years agor9460: - Move pidl to lib/. This fixes standalone installation of pidl.
Jelmer Vernooij [Sun, 21 Aug 2005 23:30:17 +0000 (23:30 +0000)]
r9460: - Move pidl to lib/. This fixes standalone installation of pidl.
- Update the README
- Allow building the docs stand-alone
(This used to be commit b56084ce251ab7a35dd1422f38de258e8e1e1477)

16 years agor9459: Move pidl up one level (to prevent too much nesting)
Jelmer Vernooij [Sun, 21 Aug 2005 23:17:35 +0000 (23:17 +0000)]
r9459: Move pidl up one level (to prevent too much nesting)
(This used to be commit e48202275e60c18e464457d200daeb953386e221)

16 years agor9455: Support for reading the policy database
Jelmer Vernooij [Sun, 21 Aug 2005 20:01:10 +0000 (20:01 +0000)]
r9455: Support for reading the policy database
(This used to be commit 7548a5012aad41bde0652d4532d184545997be86)

16 years agor9453: Add samba3_samaccount (fix the build)
Jelmer Vernooij [Sun, 21 Aug 2005 19:04:41 +0000 (19:04 +0000)]
r9453: Add samba3_samaccount (fix the build)
(This used to be commit 65ddea09b952452468aa4319e97d272a61ae7c06)

16 years agor9451: some fixes now core.schema and cosine.schema are also read properly
Simo Sorce [Sun, 21 Aug 2005 17:20:34 +0000 (17:20 +0000)]
r9451: some fixes now core.schema and cosine.schema are also read properly
(This used to be commit 0a26ee04322a06069be48dbc33307e4997700f74)

16 years agor9450: Initial work on reading group mapping database.
Jelmer Vernooij [Sun, 21 Aug 2005 17:19:14 +0000 (17:19 +0000)]
r9450: Initial work on reading group mapping database.
(This used to be commit 788fd262fc736a1bdb0fe6f266b31b2268f9d8d8)

16 years agor9449: Add simple utility for dumping Samba3 domain information. Currently
Jelmer Vernooij [Sun, 21 Aug 2005 17:18:35 +0000 (17:18 +0000)]
r9449: Add simple utility for dumping Samba3 domain information. Currently
only prints rids and usernames of users in passdb database.

Update plan
(This used to be commit 651d06728fb21393c15268ea47689c738c2c6b86)

16 years agor9448: Work on reading the secrets tdb. Build tdbsam support by default.
Jelmer Vernooij [Sun, 21 Aug 2005 15:45:16 +0000 (15:45 +0000)]
r9448: Work on reading the secrets tdb. Build tdbsam support by default.
(This used to be commit 9ea601c0a675767f8ea5f316c9355572dffbc4c0)

16 years agor9447: Add a new tool to convert openLdap schema files into an ldif
Simo Sorce [Sun, 21 Aug 2005 14:26:03 +0000 (14:26 +0000)]
r9447: Add a new tool to convert openLdap schema files into an ldif
My first test with nis.schema seem to confirm it works properly

Use a command line like:
oLschema2ldif -I tests/schema/nis.schema -O nis_schema.ldif -b "dc=sambadom,dc=samba,dc=org"
to see how it works.

SSS
(This used to be commit fc373fd4631420c9d8d4087a2c698b08e18372d7)

16 years agor9446: clean up old test file
Simo Sorce [Sun, 21 Aug 2005 14:23:45 +0000 (14:23 +0000)]
r9446: clean up old test file
(This used to be commit 10e4ebcc4233de7c89eb25b679db69b41b3d8273)

16 years agor9445: Support flags, add DATA_BLOB support
Jelmer Vernooij [Sun, 21 Aug 2005 13:19:36 +0000 (13:19 +0000)]
r9445: Support flags, add DATA_BLOB support
(This used to be commit cb5b23f0382ea7e242248cdfbbed82bc4eedfe42)

16 years agor9443: We can now move windows around anywhere on our SWAT "desktop".
Deryck Hodge [Sun, 21 Aug 2005 05:41:48 +0000 (05:41 +0000)]
r9443: We can now move windows around anywhere on our SWAT "desktop".
QxWidget doesn't accept percentages, so I feed the toplevel
widget the actual brower height/width onload and onresize.

deryck
(This used to be commit dadc89f8839b5c481ba47eeadec9f7bf4d3e14a9)

16 years agor9442: Support some more primitive types. Fix charset support.
Jelmer Vernooij [Sun, 21 Aug 2005 02:12:25 +0000 (02:12 +0000)]
r9442: Support some more primitive types. Fix charset support.
(This used to be commit eeced29eb3dd2cbc4540555bdb642b2685eb9c5c)

16 years agor9441: Use "const char *" for fixed-size arrays with charset() because
Jelmer Vernooij [Sun, 21 Aug 2005 01:59:41 +0000 (01:59 +0000)]
r9441: Use "const char *" for fixed-size arrays with charset() because
these can require more elements in the local charset (usually UTF8) then
in the wire one.
(This used to be commit a0e63c2691f596cdacbc2e15404829ebca075429)

16 years agor9440: Fix bug introduced by new zero-padding code. Caught by the buildfarm.
Jelmer Vernooij [Sun, 21 Aug 2005 00:07:51 +0000 (00:07 +0000)]
r9440: Fix bug introduced by new zero-padding code. Caught by the buildfarm.
(This used to be commit 9be03c057e229e9cf7fe8b1db04adb9d2f1efc64)

16 years agor9439: Make sure the remainder of the array is always initialized if the buffer is
Jelmer Vernooij [Sat, 20 Aug 2005 23:36:43 +0000 (23:36 +0000)]
r9439: Make sure the remainder of the array is always initialized if the buffer is
larger then the string to be pushed.
(This used to be commit 70b52e26f31b00637ed7f90f77ff0b2794dad729)

16 years agor9438: Add initial files for ldb_map
Jelmer Vernooij [Sat, 20 Aug 2005 23:30:10 +0000 (23:30 +0000)]
r9438: Add initial files for ldb_map
(This used to be commit a66eeadecdcc5f67dd34c4ae82f5ae9191163499)

16 years agor9437: Update PLAN and README for Samba3 compatibility layer
Jelmer Vernooij [Sat, 20 Aug 2005 23:28:14 +0000 (23:28 +0000)]
r9437: Update PLAN and README for Samba3 compatibility layer
Add support for reading tdbsam files
(This used to be commit 75ac972909ac601fb876e208a992eeebafaf6417)