1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

21 Commits

Author SHA1 Message Date
Rafal Szczesniak
671d785c16 r22324: Another step closer to nice listing of user accounts.
rafal
(This used to be commit 3f717e7fc7b0876de01cac375ef3151700066e0d)
2007-10-10 14:51:02 -05:00
Rafal Szczesniak
8732429818 r22179: Store resource id along with the object itself to be able to return
it as "number" type. This fixes a small problem with resource set
method returning id of type "number" whereas find method was returning
id of type "string".

rafal
(This used to be commit c3805aeb5e64aa66c0dfceb89efdf60bfb2134e8)
2007-10-10 14:49:58 -05:00
Rafal Szczesniak
e2f26316cd r21896: - Enable creating default NetContext when no explicit credentials are
passed. In such case use what's been provided on swat session logon.
- Create a proper NetContext object only once and add it to the resources
  for later use.

rafal
(This used to be commit 106779fcf3bf96eaa82adfa020a31a4634afda43)
2007-10-10 14:49:37 -05:00
Rafal Szczesniak
449afe04f8 r21841: Rename the method and check parameters more strictly.
rafal
(This used to be commit 6824172940e175f2af6ab2c9c25a1495f024de42)
2007-10-10 14:49:36 -05:00
Rafal Szczesniak
16779a9e5d r21788: Add new JSON-RPC services.
rafal
(This used to be commit 78e123518cbc808424e776751f4112fbaa8b74eb)
2007-10-10 14:49:26 -05:00
Simo Sorce
cccd788ba7 r21368: Adapy Json to the new ldb functions return object, this
allow us to return meaningful erors back to swat
(This used to be commit 5fe63e1e87d225e2f142f9b58f4ba1debfc8767c)
2007-10-10 14:48:21 -05:00
Derrell Lipman
6d18b574e5 r21344: ensure that the full range of error values is available to applications. parameter errors are really server errors.
(This used to be commit 62fcd13da1c9738393781ff55eb3f4dbdf7357fc)
2007-10-10 14:48:17 -05:00
Derrell Lipman
96325d3f76 r21170: Latest qooxdoo required a minor server change
(This used to be commit a4a394c9bb42ed1883c95c10f9c24987d4ab4294)
2007-10-10 14:44:40 -05:00
Derrell Lipman
e370e9140d r21137: If you change the name of a constant in one file, it helps to ensure that the use of the constant in other files is corrected as well.
(This used to be commit 1773d430176bc3cab37431c6a9991bc5c9c66dcd)
2007-10-10 14:44:32 -05:00
Andrew Bartlett
db10033b2b r21103: This seems to do the 'right thing' in applying the correct access
control to the SWAT ldb browser.  This should show up as the
authenticated user, rather than anonymous now.

Andrew Bartlet
(This used to be commit 48a5105f6bb0afcd22feb9448aba3006e6646848)
2007-10-10 14:44:29 -05:00
Derrell Lipman
9639836022 r20600: Web Application Framework
- Add authentication.  The Web Application Framework can now be called
  directly and it will rqeuire authentication if required, and should re-query
  the user to log in when the session expires.

- General clean-up
(This used to be commit 27c5d7dca6fa4e0811c1b8bb52d1db3d1824462c)
2007-10-10 14:37:13 -05:00
Derrell Lipman
102e4840b3 r20559: Web Application Framework
- Disallow, for now, any ScriptTransport access.  A serious security issue has
  been described, and since we don't currently need it for anything, disable
  it completely.

- Continued clean-up towards implementing the common authentication code
(This used to be commit 07817a5489dd8cc6c85c10116f4dba43d798ef03)
2007-10-10 14:36:56 -05:00
Derrell Lipman
9698b2c282 r20538: Web Application Framework
- correct an error message in the JSON-RPC server

- provide a common RPC request function

- make it easier to have multiple pending RPC requests.  this allows an
  application-specified request to return "not logged in"; authentication
  information to be requested and sent; and the original request to be
  reissued.

- in statistics module, if a time is provided as zero, leave it blank rather
  than displaying 1 Jan 1970.  this showed up in the last_used_at field in the
  SMB status report.

- clean up makefile: remove no-longer-used hard-coded path and install target;
  remove "chmod" and "nice" commands which were part of the original skeleton,
  since that is not deemed appropriate for samba makefiles
(This used to be commit 339ee73ce2809905f608b1003cc645231f256420)
2007-10-10 14:36:49 -05:00
Derrell Lipman
2d132edbab r20364: SWAT updates, part 1
These next few check-ins will add a working Statistics module to SWAT, and add
an API Documentation module as well.

Next step will be to modify the LDB browser to work with this new module and
fsm structure.

Derrell
(This used to be commit 29db71587f1332a9c44d5993a2be389f3a392ce4)
2007-10-10 14:30:16 -05:00
Derrell Lipman
ff8ef6c280 r20220: Apply patch from Brad Henry with some additional qooxdoo/json-rpc SWAT
functionality: basic admin console.
(This used to be commit 23f8dd44cbf85e05e4b3d38de9ed7798dd21defb)
2007-10-10 14:29:23 -05:00
Derrell Lipman
313e6c6adf r19397: Restrict databases which can be opened to a known set (currently only 'sam.ldb')
(This used to be commit 023c3b02b9990eed90904d3ba7e506dfe3d28345)
2007-10-10 14:21:25 -05:00
Derrell Lipman
c111683f31 r19383: pass only the base filename of an ldb file to be opened; allow server to prepend path where it's located (private_dir)
(This used to be commit 5a21c97b73a896dbba0d814c2226e17a67034802)
2007-10-10 14:21:22 -05:00
Derrell Lipman
3df891a5af r19295: ldbbrowse: the search tab is now doing something vaguely reasonable.
(This used to be commit 039069b3fd10e2ea614c385c6b432b235e1c226b)
2007-10-10 14:21:03 -05:00
Derrell Lipman
9ee311c39f r19167: - Various JSON-RPC facilities will desire to keep resources open in a
session.  Provide a common method of doing this, which allows limiting,
  somewhat (at least on a per-session basis) the possibility of DOS attacks.

- Add bindings for LDB functions, so they can be called via JSON-RPC
(This used to be commit 38d64118d17e20dc625c8262b2f667927daeac0d)
2007-10-10 14:20:48 -05:00
Derrell Lipman
7bdfbd608c r19166: better bug and reporting and proper authentication tracking
(This used to be commit 9eba44bf16e1f5b6c9dc29d9917bc3b7754da54c)
2007-10-10 14:20:47 -05:00
Derrell Lipman
250399c923 r19142: ensure no race conditions during installation by having same name in source and swat directory; install new apps and services
(This used to be commit a2b996317f81aa61d7d5bf427003399560e64f77)
2007-10-10 14:20:42 -05:00