1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-02 08:58:33 +03:00

5846 Commits

Author SHA1 Message Date
Andrew Tridgell
6f48b3a5cb r8630: give a much nicer backtrace on assert() failures in ejs
I will submit this upstream
(This used to be commit a2266f6927d953459bd4b02fbca0a9c95c18494e)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
e9c925f872 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)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
d9cfd55dbb r8628: add retries to the normal paths of nbt name resolution. UDP broadcasts are not 100% reliable :)
(This used to be commit 0f8f1cd18e20ea4f3a06bb093b00b930cfd005b2)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
174da76293 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)
2007-10-10 13:29:45 -05:00
Andrew Tridgell
594b76264f r8626: fixed a typo
(This used to be commit 3083d494e2281b46209176ee63dd571850f0d328)
2007-10-10 13:29:45 -05:00
Andrew Tridgell
338c3f8523 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)
2007-10-10 13:29:45 -05:00
Andrew Tridgell
f650ea1012 r8624: removed valgrind comment on tdb that no longer applies
(This used to be commit 8f222c8c7a750c739d3288da0b1edb1efc3b1ffc)
2007-10-10 13:29:45 -05:00
Jelmer Vernooij
ddd64e7ef4 r8623: Fix warnings in ODL-generated code.
(This used to be commit 78ef2349c7a1bff19fb86a41bf5c074a2dfcb222)
2007-10-10 13:29:45 -05:00
Jelmer Vernooij
d5b7249ddd r8622: Support parsing new structs/unions/enums/bitmaps without typedef in
(This used to be commit cd33b5efc544345411db498b178fa532a9a2c82f)
2007-10-10 13:29:45 -05:00
Jelmer Vernooij
f3a10494db r8621: Simplify code. Add support for nested structures back into the header generator.
(This used to be commit 5610838385ca00a944fb4765df1854954a3a81bc)
2007-10-10 13:29:44 -05:00
Jelmer Vernooij
4f3d66b0df r8614: Add COMRESULT/HRESULT scalar type
(This used to be commit 8637a85e6a349cce15a298154500921e9a0183a3)
2007-10-10 13:29:44 -05:00
Jelmer Vernooij
728033178b r8613: Remove a couple of empty loops.
(This used to be commit 94e338805de465a3ec7d82aa599f09adfcc06bd8)
2007-10-10 13:29:44 -05:00
Jelmer Vernooij
d99d06d954 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)
2007-10-10 13:29:44 -05:00
Andrew Tridgell
8f16aa6c17 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)
2007-10-10 13:29:44 -05:00
Andrew Tridgell
da88ef65e0 r8602: allow options in ldb connect calls
(This used to be commit 4c1d6a97c0c9df2848a16afb1b4eed4b20963bef)
2007-10-10 13:29:44 -05:00
Andrew Tridgell
c1a4f0c769 r8601: fixed null termination in ltdb connect error
(This used to be commit 64b6586b57de0bf22f8779447d217a918b7024a0)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
3c5675af93 r8600: fixed null termination on some error messages in ldb
(This used to be commit 326f0ad6fba8d78f104b93b49995e6c24f9493ef)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
cd65f29fc6 r8599: null terminate the argv list in string C functions
(This used to be commit cabf638a31ab5f9b0e62e085d844d615c597bc2f)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
325edaa66a r8598: move provisioning to /install/ directory from /esptest/
(This used to be commit 318402ee4e8900e0d8ed1dce1e201f63ac4a908f)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
6c38e3324a r8594: more placeholder pages for server status
(This used to be commit 1ad6b5878352708fb8863b85492e308a6c588a54)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
01dd0f8c6c r8593: register the rpc server with irpc
(This used to be commit bc9d9531f54d9dac3bb48e0704c6bff524dae465)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
342d11e354 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)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
82f1a9474d 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)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
0e7b9f84ce r8589: - support --version option to smbstatus
- print samba version at startup
(This used to be commit eb3e4bbe7f4a8f48c9246275ad6ef21ed0b4d357)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
ab9cef60a0 r8588: register wins server with irpc
(This used to be commit dc0ea36344c8eeeff0aa1afa01202fe1f477d307)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
7ee2babcfe r8587: - fixed ref allocation in irpc replies
- make every irpc server support the irpc_uptime() call
(This used to be commit eee90448268b9f673cc43076ad87529aa80d17ae)
2007-10-10 13:29:42 -05:00
Andrew Tridgell
ea39a55dea r8586: register the kdc with irpc so we can tell that it is up
(This used to be commit 093bbae1c391a999131f249b3aa9a9e3ce99a555)
2007-10-10 13:29:41 -05:00
Simo Sorce
bfb1186269 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)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
cb060f8bac r8584: added --nbt option to smbstatus for nbt server statistics
(This used to be commit 26a676a4e3596d34aee391bf132f2525972c81df)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
ef948e53b7 r8583: nicer smbstatus output
(This used to be commit 0578bcdf7f8919509a78a5c64f94aa5de7e90416)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
afe0fffc44 r8582: added sys.httptime() call, to display a NTTIME as a http time string
(This used to be commit 632f7bbe3e81af1ee89301765f8bfb72d4c9f3d7)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
6615b40601 r8581: fixed handling of 64 bit integers in rpc calls from ejs
(This used to be commit 2ae6a338466bf287ea2180d5ad7313ba116b88ca)
2007-10-10 13:29:41 -05:00
Andrew Tridgell
b484221730 r8580: try to fix the build on stratus
(This used to be commit 58d7a1e6a311c98c9b4dfc9e280b328406165997)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
9a4bc49fee 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)
2007-10-10 13:29:40 -05:00
Deryck Hodge
8638d01a28 r8578: Fix overlapping sections in SWAT.
deryck
(This used to be commit 28cc020a1aaa2575b08b45f6334ab6b4de0b12f5)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
a32fe0f293 r8577: added management calls to list current tree connects
(This used to be commit 658befc1e4df44bee1f365a730951001f0f36640)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
f3d61cc615 r8576: install scripts from scripting/bin/
(This used to be commit a64490d1e5224c47437e07a0f1fbcbd8f197fdfd)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
340b3d7301 r8575: the beginnings of a smbstatus command
(This used to be commit 4ecaf72a31cde2722315a61cbe823d44f0c14586)
2007-10-10 13:29:40 -05:00
Andrew Tridgell
25428433e3 r8574: added server side irpc calls for listing the current sessions
(This used to be commit 391cfe3c9645a19f8f5ff5c11b1ac03ee0b10f8f)
2007-10-10 13:29:39 -05:00
Andrew Tridgell
1bc4bd4c14 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)
2007-10-10 13:29:39 -05:00
Andrew Tridgell
09708a2012 r8569: delete is a js reserved word, so use del instead
(This used to be commit 9af48b8fc201822e290a1071d9e61afe519558f5)
2007-10-10 13:29:39 -05:00
Andrew Tridgell
139e43bf9c 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)
2007-10-10 13:29:39 -05:00
Andrew Tridgell
d2d5d71f34 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)
2007-10-10 13:29:39 -05:00
Jelmer Vernooij
494e396bfb r8566: Couple of code cleanups
(This used to be commit e43ac10e36e289966fdf34a8c5b523cd7fbcb368)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
18d64b6b7c r8565: put the docs menu on the right
(This used to be commit ed02d9989f934c5a81050246c1b63a23d0e335e2)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
2d92eca393 r8562: small merge with upstream
(This used to be commit 6c9bf162afddda4747ef08b56598aaf0747a4d27)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
f1245d4ac1 r8561: as with the other ejs subsystems, make nss into a object
(This used to be commit a3f3292e6698ce9be6a5036f47dd4fa81a1dfd4e)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
948183cb38 r8560: added a newuser page in swat
(This used to be commit da366042f48c70b4cd2e6efcae23a7f1777d3ed4)
2007-10-10 13:29:38 -05:00
Jelmer Vernooij
762a6a14e8 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)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
09fb6d2280 r8558: move newuser logic into the provision.js lib
(This used to be commit b6ef32ddd1fdca0d40a12f34fa5f7a484b3c2071)
2007-10-10 13:29:37 -05:00