1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

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 3f717e7fc7)
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 c3805aeb5e)
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 106779fcf3)
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 6824172940)
2007-10-10 14:49:36 -05:00
Rafal Szczesniak
16779a9e5d r21788: Add new JSON-RPC services.
rafal
(This used to be commit 78e123518c)
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 5fe63e1e87)
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 62fcd13da1)
2007-10-10 14:48:17 -05:00
Derrell Lipman
96325d3f76 r21170: Latest qooxdoo required a minor server change
(This used to be commit a4a394c9bb)
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 1773d43017)
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 48a5105f6b)
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 27c5d7dca6)
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 07817a5489)
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 339ee73ce2)
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 29db71587f)
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 23f8dd44cb)
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 023c3b02b9)
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 5a21c97b73)
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 039069b3fd)
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 38d64118d1)
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 9eba44bf16)
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 a2b996317f)
2007-10-10 14:20:42 -05:00