bbaumbach/samba-autobuild/.git
12 years agor8671: use much shorter names for the selftest directory and socket wrapper
Andrew Tridgell [Thu, 21 Jul 2005 08:42:17 +0000 (08:42 +0000)]
r8671: use much shorter names for the selftest directory and socket wrapper
code. I'm afraid this is needed by irix 6.4 which silently truncates
names in unix domain sockets in recvfrom() to 16 chars. My apologies
for having to move to such short names :-(
(This used to be commit f9693e313da67e1347a607db5d3ebbf36e02a77a)

12 years agor8670: Remove GUID code from SAMR, it is handled lower down now. I notice
Andrew Bartlett [Thu, 21 Jul 2005 08:34:54 +0000 (08:34 +0000)]
r8670: Remove GUID code from SAMR, it is handled lower down now.  I notice
this code also does string SIDs, but I'm not quite sure where that
fits in.

Andrew Bartlett
(This used to be commit 968bcc4fe8142319ca0a2ac9e3a895b5436b4552)

12 years agor8669: The objectguid module belongs in Samba's ldb module collection, not in
Andrew Bartlett [Thu, 21 Jul 2005 08:32:07 +0000 (08:32 +0000)]
r8669: The objectguid module belongs in Samba's ldb module collection, not in
ldb, as it can't build without the NDR and GUID code.

Also make it properly use the NDR encoding for the GUID (I forgot last
time, and used a string), as well as set the dependencies on the
module correctly.

Andrew Bartlett
(This used to be commit 8054abc76e5e3588cebc7fc01062a1223b7f140b)

12 years agor8668: fixed a segv during upgrade of a very old ldb.
Andrew Tridgell [Thu, 21 Jul 2005 08:06:39 +0000 (08:06 +0000)]
r8668: fixed a segv during upgrade of a very old ldb.
Thanks to volker for finding this one too. Keep them coming!
(This used to be commit 756796ad2ea86a9471d1b09e66b1a74c4523f6f4)

12 years agor8667: Further simply the provision script, by removing the 'name' attribute.
Andrew Bartlett [Thu, 21 Jul 2005 07:59:01 +0000 (07:59 +0000)]
r8667: Further simply the provision script, by removing the 'name' attribute.

This is now calculated on the fly for every add and modify.

Andrew Bartlett
(This used to be commit ed1f2e029c840d2b3ecb49dbe6e8cd67588eeeed)

12 years agor8666: The same fix as the last commit, I was caught out on a move from a
Andrew Bartlett [Thu, 21 Jul 2005 07:57:20 +0000 (07:57 +0000)]
r8666: The same fix as the last commit, I was caught out on a move from a
BOOL to int function return.

Andrew Bartlett
(This used to be commit e03e00fe606db443783f1dea03411025c01c7de5)

12 years agor8665: fixed a segv at high debug level in the web server
Andrew Tridgell [Thu, 21 Jul 2005 07:52:31 +0000 (07:52 +0000)]
r8665: fixed a segv at high debug level in the web server
thanks to volker for finding this
(This used to be commit e02d7753f77327e3ca295a86afde9ea74ddcf5e0)

12 years agor8664: I got caught out not testing...
Andrew Bartlett [Thu, 21 Jul 2005 07:15:55 +0000 (07:15 +0000)]
r8664: I got caught out not testing...

I replaced these function calls, and they went from BOOL to int return
values, so naturally failed.

Andrew Bartlett
(This used to be commit 1982fdb6f3355494ecaae93280eea4e69c78430f)

12 years agor8663: Since simo constructed the samdb module, he and tridge have worked on
Andrew Bartlett [Thu, 21 Jul 2005 05:24:02 +0000 (05:24 +0000)]
r8663: Since simo constructed the samdb module, he and tridge have worked on
a DN parsing system.  Leverage that in the dsdb module.

Andrew Bartlett
(This used to be commit 2408f322765fc1b1769d5c8ea69eae4d968cd195)

12 years agor8662: Revert change to CN=Cert Publishers, this group still needs to
Andrew Bartlett [Thu, 21 Jul 2005 05:21:27 +0000 (05:21 +0000)]
r8662: Revert change to CN=Cert Publishers, this group still needs to
override the template for these attributes.

Andrew Bartlett
(This used to be commit 3462cbadb285313dfd88234b144d1921d2bcc880)

12 years agor8661: added strstr() ejs function in string lib
Andrew Tridgell [Thu, 21 Jul 2005 04:10:35 +0000 (04:10 +0000)]
r8661: added strstr() ejs function in string lib
(This used to be commit a569fc8924e8c8edbdfa7efc89ad99659af8c379)

12 years agor8660: Use templates for the initial provision of user and computer accounts.
Andrew Bartlett [Thu, 21 Jul 2005 02:12:20 +0000 (02:12 +0000)]
r8660: Use templates for the initial provision of user and computer accounts.

This ensures the templating code is used, and also makes it clearer
what I need to duplicate in the vampire area.

Also fix a silly bug in the template application code (the samdb
module) that caused templates to be compleatly unused (my fault, from
my commit last night).

Andrew Bartlett
(This used to be commit 4a8ef7197ff938942832034453f843cb8a50f2d1)

12 years agor8659: return ldif formatted attributes in the ejs ldb search call, so sids show...
Andrew Tridgell [Thu, 21 Jul 2005 01:56:22 +0000 (01:56 +0000)]
r8659: return ldif formatted attributes in the ejs ldb search call, so sids show up as strings
not binary blobs
(This used to be commit d2c29a5a51f68cabb9ef587376bf0a6b936cdd76)

12 years agor8658: move use of lp_security() and lp_nt_status_support() into the connection struc...
Andrew Tridgell [Thu, 21 Jul 2005 01:43:26 +0000 (01:43 +0000)]
r8658: move use of lp_security() and lp_nt_status_support() into the connection structure.
This massively reduces the number of lp_*() calls made
(This used to be commit b1d577f48d31c0c17ad0b6abd78120087408e58d)

12 years agor8652: added a test for the boolean bug just fixed
Andrew Tridgell [Wed, 20 Jul 2005 11:56:07 +0000 (11:56 +0000)]
r8652: added a test for the boolean bug just fixed
(This used to be commit 19ae68f59ad9b81005eb68b3773f24234c0f891d)

12 years agor8651: fixed a boolean expression bug (submitted upstream)
Andrew Tridgell [Wed, 20 Jul 2005 11:55:20 +0000 (11:55 +0000)]
r8651: fixed a boolean expression bug (submitted upstream)
(This used to be commit bd4c388cd2653823e012f1cd8c14832ee032eb11)

12 years agor8650: Use the timestamps and a new objectguid module rather than placing
Andrew Bartlett [Wed, 20 Jul 2005 11:43:23 +0000 (11:43 +0000)]
r8650: Use the timestamps and a new objectguid module rather than placing
boilerplate attributes in every entry in provision.ldif.

The next step will be to use templates.

Andrew Bartlett
(This used to be commit 940ed9827f5ab83b668a60a2b0110567dd54c3e2)

12 years agor8649: added smbscript to the list of binaries to install
Andrew Tridgell [Wed, 20 Jul 2005 11:30:45 +0000 (11:30 +0000)]
r8649: added smbscript to the list of binaries to install
(This used to be commit f5e39455a8e7aff54503857ec148c880aac71fac)

12 years agor8648: automatically redirect to provisioning if not yet provisioned when the
Andrew Tridgell [Wed, 20 Jul 2005 11:26:17 +0000 (11:26 +0000)]
r8648: automatically redirect to provisioning if not yet provisioned when the
home page in swat is accessed
(This used to be commit 78fb559c08d55c01f5ede81d43cdd857cce8d338)

12 years agor8647: no diffrences between the heimdal and no heimdal case when building
Love Hörnquist Åstrand [Wed, 20 Jul 2005 11:18:52 +0000 (11:18 +0000)]
r8647: no diffrences between the heimdal and no heimdal case when building
(This used to be commit 08eb97c264d238304908c251d1de7fe2ed8b5a1e)

12 years agor8646: update install howto for new provision code
Andrew Tridgell [Wed, 20 Jul 2005 11:15:52 +0000 (11:15 +0000)]
r8646: update install howto for new provision code
(This used to be commit bfc3270fb6177b01cb60e02c231084170c9ec15f)

12 years agor8645: updated the ldb esp test for the new ldb ejs syntax
Andrew Tridgell [Wed, 20 Jul 2005 11:13:11 +0000 (11:13 +0000)]
r8645: updated the ldb esp test for the new ldb ejs syntax

simo, when changing ejs syntax, please grep -r through the *.js and *.esp files to
fix all the callers. Thanks :)
(This used to be commit 8d0c9557a29a802800257af1bab38bfe57928c17)

12 years agor8644: This is a more useful error than unsuccesful.
Andrew Bartlett [Wed, 20 Jul 2005 10:54:50 +0000 (10:54 +0000)]
r8644: This is a more useful error than unsuccesful.

Andrew Bartlett
(This used to be commit d7136c93fb7ddf27d914329a7c9fd77de22d4356)

12 years agor8643: - make lp_configfile() work again
Andrew Tridgell [Wed, 20 Jul 2005 10:07:48 +0000 (10:07 +0000)]
r8643: - make lp_configfile() work again

- get rid of redundeny dyn_CONFIGFILE argument to lp_load()

- fixed provisioning to work with completely pristine install,
  creating an initial smb.conf is none is present

- added lp.set() and lp.reload() to loadparm ejs object interface
(This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)

12 years agor8642: - fixed install of new swat files
Andrew Tridgell [Wed, 20 Jul 2005 08:39:53 +0000 (08:39 +0000)]
r8642: - fixed install of new swat files

- removed old provisioning items from esptest menu
(This used to be commit 760cc6bea5661245a8e4e18f103148281e31aaac)

12 years agor8640: continue the trend by moving the ejs random calls into an object
Andrew Tridgell [Wed, 20 Jul 2005 07:29:23 +0000 (07:29 +0000)]
r8640: continue the trend by moving the ejs random calls into an object
(This used to be commit ed4fb68ef7c28e415408e923bd9eefcd2d60f355)

12 years agor8639: moved loadparm calls into an ejs object
Andrew Tridgell [Wed, 20 Jul 2005 07:20:03 +0000 (07:20 +0000)]
r8639: moved loadparm calls into an ejs object
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)

12 years agor8638: continue the trend of maknig our C functions true ejs objects by making the...
Andrew Tridgell [Wed, 20 Jul 2005 07:04:07 +0000 (07:04 +0000)]
r8638: continue the trend of maknig our C functions true ejs objects by making the string functions
into an object. To keep existing code working I have added:

  string_init(global);

into base.js. That brings the functions into the global scope for our
existing scripts
(This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)

12 years agor8637: added sys.stat() and sys.lstat() calls
Andrew Tridgell [Wed, 20 Jul 2005 07:01:09 +0000 (07:01 +0000)]
r8637: added sys.stat() and sys.lstat() calls
(This used to be commit 5dbdf4fb3317964541339615b7ecbf174a2dc00b)

12 years agor8636: fixed the ejs ldb test to work with the new ldb.search() syntax, and
Andrew Tridgell [Wed, 20 Jul 2005 06:21:30 +0000 (06:21 +0000)]
r8636: fixed the ejs ldb test to work with the new ldb.search() syntax, and
add it to our test suite so it will be maintained
(This used to be commit 42ae50db8108ddc7c33f832d8752f809c99de157)

12 years agor8635: make object inheritance with the builtin objects easy by allowing
Andrew Tridgell [Wed, 20 Jul 2005 06:20:36 +0000 (06:20 +0000)]
r8635: make object inheritance with the builtin objects easy by allowing
callers to optionally supply an existing object to add the properties
to. So you can do:

 var rpc = samr_init();
 lsa_init(rpc);

and you end up with 'rpc' having both the samr and lsa functions and
constants available.
(This used to be commit 6a1ed328e27769bd52899fc2437a43fc17104eff)

12 years agor8634: we are still getting occasional test failures due to disk space
Andrew Tridgell [Wed, 20 Jul 2005 05:49:49 +0000 (05:49 +0000)]
r8634: we are still getting occasional test failures due to disk space
changing. I suspect it is a signed/unsigned problem with the approx
equal test. Hopefully this will fix it.
(This used to be commit 668dd29259198698c556c50e28a9070085db89ea)

12 years agor8633: check for valid input to ejs_userAuth()
Andrew Tridgell [Wed, 20 Jul 2005 05:41:29 +0000 (05:41 +0000)]
r8633: check for valid input to ejs_userAuth()
(This used to be commit 8e788ae3094220e5ea195cdf85abb6763a834abd)

12 years agor8632: use <pre> around displayed exceptions
Andrew Tridgell [Wed, 20 Jul 2005 05:40:51 +0000 (05:40 +0000)]
r8632: use <pre> around displayed exceptions
(This used to be commit 001917cc9dec4bdf8839ef175edad352b2763239)

12 years agor8631: give an error on incorrect argument count
Andrew Tridgell [Wed, 20 Jul 2005 05:40:24 +0000 (05:40 +0000)]
r8631: give an error on incorrect argument count
(This used to be commit ed09e19794d9625553bc48892a2e08b84d7bdcf4)

12 years agor8630: give a much nicer backtrace on assert() failures in ejs
Andrew Tridgell [Wed, 20 Jul 2005 05:13:01 +0000 (05:13 +0000)]
r8630: give a much nicer backtrace on assert() failures in ejs

I will submit this upstream
(This used to be commit a2266f6927d953459bd4b02fbca0a9c95c18494e)

12 years agor8629: - moved the getDomainList() call out of smbcalls_auth.c and into libjs/auth.js
Andrew Tridgell [Wed, 20 Jul 2005 04:27:09 +0000 (04:27 +0000)]
r8629: - moved the getDomainList() call out of smbcalls_auth.c and into libjs/auth.js

- tried to make the ejs_userAuth() call work for the sam, not just for
  unix auth. I didn't get this working. Andrew, when you get a chance
  can you see what I'm doing wrong? I suspect its because we aren't
  supplying a challenge, but a challenge doesn't really make sense in a
  'is this username/password' correct call.
(This used to be commit 9e07c08a71908e99c2f44efc40a3249facd6850f)

12 years agor8628: add retries to the normal paths of nbt name resolution. UDP broadcasts are...
Andrew Tridgell [Wed, 20 Jul 2005 04:21:10 +0000 (04:21 +0000)]
r8628: add retries to the normal paths of nbt name resolution. UDP broadcasts are not 100% reliable :)
(This used to be commit 0f8f1cd18e20ea4f3a06bb093b00b930cfd005b2)

12 years agor8627: fixed a big memory leak in the spnego gensec code in session
Andrew Tridgell [Wed, 20 Jul 2005 04:19:45 +0000 (04:19 +0000)]
r8627: fixed a big memory leak in the spnego gensec code in session
setup. Andrew, please check over this.

What happens is this:

 - run the BASE-SECLEAK test
 - with each failed session setup using spnego a gensec ctx is leaked into the smb_conn structure
 - after the client disconnects these are finally cleaned up as they
   are all children of the connection structure
 - the cleanup of the millions of memory objects takes long enough
   that the next operation in test_posix.sh sometimes fails with a timeout

Andrew, can you also look at the talloc_reference() on line 332 of
sesssetup.c ? I suspect it isn't needed (I don't think it does any
actual harm though)
(This used to be commit b40fb6a4569ccc1fa1750a1e534e18a020764b4c)

12 years agor8626: fixed a typo
Andrew Tridgell [Wed, 20 Jul 2005 02:15:43 +0000 (02:15 +0000)]
r8626: fixed a typo
(This used to be commit 3083d494e2281b46209176ee63dd571850f0d328)

12 years agor8625: move the ldb_wrap logic into the ldb code. This logic is meant to
Andrew Tridgell [Wed, 20 Jul 2005 00:59:38 +0000 (00:59 +0000)]
r8625: move the ldb_wrap logic into the ldb code. This logic is meant to
avoid the horrors of posix locking, but it was preventing us having an
ldb open twice with different options. Now each ldb open of the same
file shares the same underlying tdb, but uses a different ldb
structure
(This used to be commit 4e090c66dfa1d2764e4693578d3845be3b8893f6)

12 years agor8624: removed valgrind comment on tdb that no longer applies
Andrew Tridgell [Wed, 20 Jul 2005 00:09:23 +0000 (00:09 +0000)]
r8624: removed valgrind comment on tdb that no longer applies
(This used to be commit 8f222c8c7a750c739d3288da0b1edb1efc3b1ffc)

12 years agor8623: Fix warnings in ODL-generated code.
Jelmer Vernooij [Tue, 19 Jul 2005 23:53:48 +0000 (23:53 +0000)]
r8623: Fix warnings in ODL-generated code.
(This used to be commit 78ef2349c7a1bff19fb86a41bf5c074a2dfcb222)

12 years agor8622: Support parsing new structs/unions/enums/bitmaps without typedef in
Jelmer Vernooij [Tue, 19 Jul 2005 23:34:02 +0000 (23:34 +0000)]
r8622: Support parsing new structs/unions/enums/bitmaps without typedef in
(This used to be commit cd33b5efc544345411db498b178fa532a9a2c82f)

12 years agor8621: Simplify code. Add support for nested structures back into the header generator.
Jelmer Vernooij [Tue, 19 Jul 2005 23:02:08 +0000 (23:02 +0000)]
r8621: Simplify code. Add support for nested structures back into the header generator.
(This used to be commit 5610838385ca00a944fb4765df1854954a3a81bc)

12 years agor8614: Add COMRESULT/HRESULT scalar type
Jelmer Vernooij [Tue, 19 Jul 2005 19:21:40 +0000 (19:21 +0000)]
r8614: Add COMRESULT/HRESULT scalar type
(This used to be commit 8637a85e6a349cce15a298154500921e9a0183a3)

12 years agor8613: Remove a couple of empty loops.
Jelmer Vernooij [Tue, 19 Jul 2005 19:04:54 +0000 (19:04 +0000)]
r8613: Remove a couple of empty loops.
(This used to be commit 94e338805de465a3ec7d82aa599f09adfcc06bd8)

12 years agor8612: Parse::Pidl::NDR:
Jelmer Vernooij [Tue, 19 Jul 2005 19:00:22 +0000 (19:00 +0000)]
r8612: Parse::Pidl::NDR:
Values that are deferred but don't contain deferred data don't
need NDR_BUFFERS

Parse::Pidl::Samba::NDR::Parser:
Only use manually written array access functions when the array
functions are faster then the autogenerated ones. Makes ndr_basic.c
a bit shorter.
(This used to be commit cad40815dcfb7cdcab13bd0cd204ef8711605ef3)

12 years agor8603: we have to use the same db name as the rest of smbd uses so the ldb connect
Andrew Tridgell [Tue, 19 Jul 2005 11:55:35 +0000 (11:55 +0000)]
r8603: we have to use the same db name as the rest of smbd uses so the ldb connect
works when already open
(This used to be commit 1183f54c8dee28c136b4dc72bc059a6175fe09e4)

12 years agor8602: allow options in ldb connect calls
Andrew Tridgell [Tue, 19 Jul 2005 11:54:33 +0000 (11:54 +0000)]
r8602: allow options in ldb connect calls
(This used to be commit 4c1d6a97c0c9df2848a16afb1b4eed4b20963bef)

12 years agor8601: fixed null termination in ltdb connect error
Andrew Tridgell [Tue, 19 Jul 2005 11:54:00 +0000 (11:54 +0000)]
r8601: fixed null termination in ltdb connect error
(This used to be commit 64b6586b57de0bf22f8779447d217a918b7024a0)

12 years agor8600: fixed null termination on some error messages in ldb
Andrew Tridgell [Tue, 19 Jul 2005 11:53:25 +0000 (11:53 +0000)]
r8600: fixed null termination on some error messages in ldb
(This used to be commit 326f0ad6fba8d78f104b93b49995e6c24f9493ef)

12 years agor8599: null terminate the argv list in string C functions
Andrew Tridgell [Tue, 19 Jul 2005 11:52:50 +0000 (11:52 +0000)]
r8599: null terminate the argv list in string C functions
(This used to be commit cabf638a31ab5f9b0e62e085d844d615c597bc2f)

12 years agor8598: move provisioning to /install/ directory from /esptest/
Andrew Tridgell [Tue, 19 Jul 2005 11:06:12 +0000 (11:06 +0000)]
r8598: move provisioning to /install/ directory from /esptest/
(This used to be commit 318402ee4e8900e0d8ed1dce1e201f63ac4a908f)

12 years agor8594: more placeholder pages for server status
Andrew Tridgell [Tue, 19 Jul 2005 09:44:55 +0000 (09:44 +0000)]
r8594: more placeholder pages for server status
(This used to be commit 1ad6b5878352708fb8863b85492e308a6c588a54)

12 years agor8593: register the rpc server with irpc
Andrew Tridgell [Tue, 19 Jul 2005 09:44:11 +0000 (09:44 +0000)]
r8593: register the rpc server with irpc
(This used to be commit bc9d9531f54d9dac3bb48e0704c6bff524dae465)

12 years agor8591: - added a simple 2 level menu structure to swat. Deryck, I know this
Andrew Tridgell [Tue, 19 Jul 2005 09:34:11 +0000 (09:34 +0000)]
r8591: - added a simple 2 level menu structure to swat. Deryck, I know this
  isn't very pretty, and please feel free to do this much more nicely
  :-)

- added a top level menu listing our main servers

- added placeholder pages for the main servers

- added NBT server statistics
(This used to be commit 1aa658b756903e7cb598302eddd18b7734937c83)

12 years agor8590: added server status utility functions for checking on the status of a task...
Andrew Tridgell [Tue, 19 Jul 2005 09:30:53 +0000 (09:30 +0000)]
r8590: added server status utility functions for checking on the status of a task via irpc

- for stream tasks, returns the number of connections

- for non-stream tasks, returns "RUNNING"

For both, return "DISABLED" or "NOT RESPONDING" appropriately
(This used to be commit 78d6303814382f7835212f5045f12180e396b540)

12 years agor8589: - support --version option to smbstatus
Andrew Tridgell [Tue, 19 Jul 2005 09:29:30 +0000 (09:29 +0000)]
r8589: - support --version option to smbstatus

- print samba version at startup
(This used to be commit eb3e4bbe7f4a8f48c9246275ad6ef21ed0b4d357)

12 years agor8588: register wins server with irpc
Andrew Tridgell [Tue, 19 Jul 2005 09:28:46 +0000 (09:28 +0000)]
r8588: register wins server with irpc
(This used to be commit dc0ea36344c8eeeff0aa1afa01202fe1f477d307)

12 years agor8587: - fixed ref allocation in irpc replies
Andrew Tridgell [Tue, 19 Jul 2005 09:28:13 +0000 (09:28 +0000)]
r8587: - fixed ref allocation in irpc replies

- make every irpc server support the irpc_uptime() call
(This used to be commit eee90448268b9f673cc43076ad87529aa80d17ae)

12 years agor8586: register the kdc with irpc so we can tell that it is up
Andrew Tridgell [Tue, 19 Jul 2005 09:27:20 +0000 (09:27 +0000)]
r8586: register the kdc with irpc so we can tell that it is up
(This used to be commit 093bbae1c391a999131f249b3aa9a9e3ce99a555)

12 years agor8585: add to ldb and ldap comparison functionality
Simo Sorce [Tue, 19 Jul 2005 09:09:00 +0000 (09:09 +0000)]
r8585: add to ldb and ldap comparison functionality
better pares filters
Approx is currently only a stub need to dig more info to
understand what it really means and how it works exactly
(This used to be commit a9e8cd0bad27ed2b3c6a12302e787ba3c9a70a3c)

12 years agor8584: added --nbt option to smbstatus for nbt server statistics
Andrew Tridgell [Tue, 19 Jul 2005 06:18:48 +0000 (06:18 +0000)]
r8584: added --nbt option to smbstatus for nbt server statistics
(This used to be commit 26a676a4e3596d34aee391bf132f2525972c81df)

12 years agor8583: nicer smbstatus output
Andrew Tridgell [Tue, 19 Jul 2005 06:08:06 +0000 (06:08 +0000)]
r8583: nicer smbstatus output
(This used to be commit 0578bcdf7f8919509a78a5c64f94aa5de7e90416)

12 years agor8582: added sys.httptime() call, to display a NTTIME as a http time string
Andrew Tridgell [Tue, 19 Jul 2005 06:07:34 +0000 (06:07 +0000)]
r8582: added sys.httptime() call, to display a NTTIME as a http time string
(This used to be commit 632f7bbe3e81af1ee89301765f8bfb72d4c9f3d7)

12 years agor8581: fixed handling of 64 bit integers in rpc calls from ejs
Andrew Tridgell [Tue, 19 Jul 2005 06:07:10 +0000 (06:07 +0000)]
r8581: fixed handling of 64 bit integers in rpc calls from ejs
(This used to be commit 2ae6a338466bf287ea2180d5ad7313ba116b88ca)

12 years agor8580: try to fix the build on stratus
Andrew Tridgell [Tue, 19 Jul 2005 05:35:19 +0000 (05:35 +0000)]
r8580: try to fix the build on stratus
(This used to be commit 58d7a1e6a311c98c9b4dfc9e280b328406165997)

12 years agor8579: recognise the name 'localhost' as 127.0.0.1. This solves a problem
Andrew Tridgell [Tue, 19 Jul 2005 05:09:36 +0000 (05:09 +0000)]
r8579: recognise the name 'localhost' as 127.0.0.1. This solves a problem
with some hosts that are missing localhost from /etc/hosts
(This used to be commit f9866258e099001390aa61dcc12055fe1374db60)

12 years agor8578: Fix overlapping sections in SWAT.
Deryck Hodge [Tue, 19 Jul 2005 04:40:11 +0000 (04:40 +0000)]
r8578: Fix overlapping sections in SWAT.

deryck
(This used to be commit 28cc020a1aaa2575b08b45f6334ab6b4de0b12f5)

12 years agor8577: added management calls to list current tree connects
Andrew Tridgell [Tue, 19 Jul 2005 04:26:58 +0000 (04:26 +0000)]
r8577: added management calls to list current tree connects
(This used to be commit 658befc1e4df44bee1f365a730951001f0f36640)

12 years agor8576: install scripts from scripting/bin/
Andrew Tridgell [Tue, 19 Jul 2005 04:02:59 +0000 (04:02 +0000)]
r8576: install scripts from scripting/bin/
(This used to be commit a64490d1e5224c47437e07a0f1fbcbd8f197fdfd)

12 years agor8575: the beginnings of a smbstatus command
Andrew Tridgell [Tue, 19 Jul 2005 03:59:25 +0000 (03:59 +0000)]
r8575: the beginnings of a smbstatus command
(This used to be commit 4ecaf72a31cde2722315a61cbe823d44f0c14586)

12 years agor8574: added server side irpc calls for listing the current sessions
Andrew Tridgell [Tue, 19 Jul 2005 03:58:44 +0000 (03:58 +0000)]
r8574: added server side irpc calls for listing the current sessions
(This used to be commit 391cfe3c9645a19f8f5ff5c11b1ac03ee0b10f8f)

12 years agor8570: delete all records in the old db when provisioning, rather than using
Andrew Tridgell [Tue, 19 Jul 2005 02:10:08 +0000 (02:10 +0000)]
r8570: delete all records in the old db when provisioning, rather than using
sys.unlink(). This allows smbd to see the new db without restarting.
(This used to be commit 71004aa165e88f5f448dc7d90ad11dea7143f0df)

12 years agor8569: delete is a js reserved word, so use del instead
Andrew Tridgell [Tue, 19 Jul 2005 02:09:05 +0000 (02:09 +0000)]
r8569: delete is a js reserved word, so use del instead
(This used to be commit 9af48b8fc201822e290a1071d9e61afe519558f5)

12 years agor8568: change missing templates to warnings, so that provisioning with an existing db
Andrew Tridgell [Tue, 19 Jul 2005 02:08:38 +0000 (02:08 +0000)]
r8568: change missing templates to warnings, so that provisioning with an existing db
doesn't print lots of fatal errors
(This used to be commit d8d47bb18fbb467e253e99c4281578d6e4762de3)

12 years agor8567: fixed the build after the com idl changes
Andrew Tridgell [Tue, 19 Jul 2005 01:33:38 +0000 (01:33 +0000)]
r8567: fixed the build after the com idl changes

Jelmer, can you please check that I got this right?
(This used to be commit bec135446af741200743cdc4ecb4c5ce68ed34a6)

12 years agor8566: Couple of code cleanups
Jelmer Vernooij [Tue, 19 Jul 2005 01:17:48 +0000 (01:17 +0000)]
r8566: Couple of code cleanups
(This used to be commit e43ac10e36e289966fdf34a8c5b523cd7fbcb368)

12 years agor8565: put the docs menu on the right
Andrew Tridgell [Tue, 19 Jul 2005 01:06:56 +0000 (01:06 +0000)]
r8565: put the docs menu on the right
(This used to be commit ed02d9989f934c5a81050246c1b63a23d0e335e2)

12 years agor8562: small merge with upstream
Andrew Tridgell [Tue, 19 Jul 2005 00:40:52 +0000 (00:40 +0000)]
r8562: small merge with upstream
(This used to be commit 6c9bf162afddda4747ef08b56598aaf0747a4d27)

12 years agor8561: as with the other ejs subsystems, make nss into a object
Andrew Tridgell [Tue, 19 Jul 2005 00:16:43 +0000 (00:16 +0000)]
r8561: as with the other ejs subsystems, make nss into a object
(This used to be commit a3f3292e6698ce9be6a5036f47dd4fa81a1dfd4e)

12 years agor8560: added a newuser page in swat
Andrew Tridgell [Tue, 19 Jul 2005 00:08:00 +0000 (00:08 +0000)]
r8560: added a newuser page in swat
(This used to be commit da366042f48c70b4cd2e6efcae23a7f1777d3ed4)

12 years agor8559: Couple of (D)COM updates:
Jelmer Vernooij [Mon, 18 Jul 2005 23:58:59 +0000 (23:58 +0000)]
r8559: Couple of (D)COM updates:
 - Fixes annoying array-of-pointers bug in pidl.
 - No longer "inherit" alignment thru subcontexts
 - Use "Image Object" as example DCOM object, rather then the "My Computer" object, which is built-in and can't be accessed remotely as far as I can see
(This used to be commit bd706d496405d274b68c1ee560211837a8e63009)

12 years agor8558: move newuser logic into the provision.js lib
Andrew Tridgell [Mon, 18 Jul 2005 23:58:18 +0000 (23:58 +0000)]
r8558: move newuser logic into the provision.js lib
(This used to be commit b6ef32ddd1fdca0d40a12f34fa5f7a484b3c2071)

12 years agor8557: expose ldb_errstring() in ldb ejs code
Andrew Tridgell [Mon, 18 Jul 2005 23:57:37 +0000 (23:57 +0000)]
r8557: expose ldb_errstring() in ldb ejs code
(This used to be commit 21ca972d06bbf4694569855f39a1649d799c05c7)

12 years agor8541: this might take a few tries ...
Andrew Tridgell [Mon, 18 Jul 2005 10:01:58 +0000 (10:01 +0000)]
r8541: this might take a few tries ...
(This used to be commit cc61a0ba33d5a9d4d0b98736109220c58342358a)

12 years agor8540: fixed network interface detection on several hosts
Andrew Tridgell [Mon, 18 Jul 2005 09:46:52 +0000 (09:46 +0000)]
r8540: fixed network interface detection on several hosts
(This used to be commit 777ac8496b400b0ed348995feed83c22c5b344b3)

12 years agor8539: $LOGNAME is a common varient of $USER on some systems
Andrew Tridgell [Mon, 18 Jul 2005 08:30:32 +0000 (08:30 +0000)]
r8539: $LOGNAME is a common varient of $USER on some systems
(This used to be commit e571d6a36bdf61aaab383e05c857347838de4c1d)

12 years agor8537: cope better with the small file handle limit on some systems in the build...
Andrew Tridgell [Mon, 18 Jul 2005 06:26:03 +0000 (06:26 +0000)]
r8537: cope better with the small file handle limit on some systems in the build farm
(This used to be commit 6202a9d099619a0ba78809647039cbc7622f1d3d)

12 years agor8536: - use smbd pid file to kill at end of selftest
Andrew Tridgell [Mon, 18 Jul 2005 05:15:22 +0000 (05:15 +0000)]
r8536: - use smbd pid file to kill at end of selftest

- remove use of 'jobs -p' as it is not portable
(This used to be commit ff42315245750a37759ef84548582da5cf5e4716)

12 years agor8535: no longer rely on seekdir working after a closedir. Instead, keep
Andrew Tridgell [Mon, 18 Jul 2005 03:35:52 +0000 (03:35 +0000)]
r8535: no longer rely on seekdir working after a closedir. Instead, keep
directories open, but close search states based on an inactivity
timer, with a default of a 5 minute timeout
(This used to be commit 2e8d154e7dfb9b320a1344e957a39e96e1eefadd)

12 years agor8533: improve --help output
Andrew Tridgell [Mon, 18 Jul 2005 00:08:46 +0000 (00:08 +0000)]
r8533: improve --help output
(This used to be commit 3dd6e2056678ccf5c4844d74410dbe0775db3c46)

12 years agor8532: this miight fix cross compilation for reactos
Andrew Tridgell [Mon, 18 Jul 2005 00:06:12 +0000 (00:06 +0000)]
r8532: this miight fix cross compilation for reactos
(This used to be commit 810fa4f762458202adee3f2fd5b13e74eae7781f)

12 years agor8530: Now our ldap server is able to fullfill present and substring searches
Simo Sorce [Sun, 17 Jul 2005 14:16:41 +0000 (14:16 +0000)]
r8530: Now our ldap server is able to fullfill present and substring searches
(This used to be commit a910671bd8c6d2d8d5b6ff30fc07ead244e696f1)

12 years agor8529: Matching against the wrong union
Simo Sorce [Sun, 17 Jul 2005 14:15:45 +0000 (14:15 +0000)]
r8529: Matching against the wrong union
(This used to be commit 24a65b5ba6e31655bdf49be8076d758206694ac3)

12 years agor8527: found an uninitialised variable in 'make valgrindtest'
Andrew Tridgell [Sun, 17 Jul 2005 12:57:14 +0000 (12:57 +0000)]
r8527: found an uninitialised variable in 'make valgrindtest'
(This used to be commit 9eebd240d8ed9a634307ce31696d817f78f503b2)

12 years agor8525: added two more test targets:
Andrew Tridgell [Sun, 17 Jul 2005 12:23:40 +0000 (12:23 +0000)]
r8525: added two more test targets:

 - 'make quicktest' for running only quick tests. Finishes in 20
   seconds or so.

 - 'make valgrindtest' runs smbd under valgrind in a xterm window and
   runs the quick tests. Also disables tls as that slows down valgrind
   too much to be usable
(This used to be commit af36bc401154d278dbe272628110634f62fdba25)

12 years agor8523: match a zero message id in ldap replies to the last request sent. Thanks to...
Andrew Tridgell [Sun, 17 Jul 2005 10:52:31 +0000 (10:52 +0000)]
r8523: match a zero message id in ldap replies to the last request sent. Thanks to simo
for noticing that this is needed to catch the server sending a "can't decode request"
error reply
(This used to be commit 6e81e866dc7a5dc014d2d9f2e09803c6adfd1830)

12 years agor8522: fixed another couple of size_t warnings
Andrew Tridgell [Sun, 17 Jul 2005 10:38:59 +0000 (10:38 +0000)]
r8522: fixed another couple of size_t warnings
(This used to be commit d2c928548336682ffd3dda873f9957f3d041f0af)