1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

4616 Commits

Author SHA1 Message Date
Stefan Metzmacher
2287ed4afa r7115: specify what properties can be used on what objects...
metze
2007-10-10 13:17:18 -05:00
Jelmer Vernooij
470c6185fb r7114: Convert ldb documentation to DocBook/XML 2007-10-10 13:17:18 -05:00
Jelmer Vernooij
f16d346032 r7113: Move manpages from docs repository to source repository 2007-10-10 13:17:18 -05:00
Stefan Metzmacher
5531eb852c r7112: add RPC-SPOOLSS test to the w2k3 tests, only with ncacn_np for now
(I also noticed that RPC-SAMR and some other tests are faling against my w2k3 box...)

metze
2007-10-10 13:17:18 -05:00
Jelmer Vernooij
1e9beae533 r7111: Patch from Alan DeKok for correct use of the needed variables in Decl* 2007-10-10 13:17:18 -05:00
Jelmer Vernooij
9fe7e0f770 r7110: Remove invalid use of id() 2007-10-10 13:17:17 -05:00
Jelmer Vernooij
7721fc7274 r7109: Change noid() to noopnum() so it isn't confusing to people familiar with id() 2007-10-10 13:17:17 -05:00
Andrew Tridgell
3f87d53d66 r7108: display a session expired message 2007-10-10 13:17:17 -05:00
Andrew Tridgell
0c2e42986c r7107: detect when a users session has expired and set request['SESSION_EXPIRED'] 2007-10-10 13:17:17 -05:00
Andrew Tridgell
104d47a745 r7106: the web interface now works completely with or without cookies. If you have cookies
they will be used, otherwise you will see URLs with ?SwatSessionId=XXX on the end.
2007-10-10 13:17:17 -05:00
Andrew Tridgell
790f861538 r7105: fixed a typo 2007-10-10 13:17:17 -05:00
Andrew Tridgell
6ca3e3af89 r7104: add support into the web server for session[] variables without cookies by using
query strings
2007-10-10 13:17:17 -05:00
Stefan Metzmacher
46e3f57f0e r7103: fix make installswat again:-)
metze
2007-10-10 13:17:16 -05:00
Stefan Metzmacher
81c878b7b2 r7102: fix subcontext(0)
metze
2007-10-10 13:17:16 -05:00
Andrew Tridgell
df7280c5c8 r7101: moved favicon into images/ 2007-10-10 13:17:16 -05:00
Stefan Metzmacher
067f3a4da2 r7100: install lately added files too
metze
2007-10-10 13:17:16 -05:00
Stefan Metzmacher
ad2d3991ba r7099: make the password field a password field...
metze
2007-10-10 13:17:16 -05:00
Stefan Metzmacher
189730d143 r7098: - make use of the NDR table instead of the IDL table in the client and server generation
- add 'noid' property to allow functions to be not present in the function table,
  and not generate client and server functions for them
- print out a warning about [id()] not being correctly supported yet

metze
2007-10-10 13:17:16 -05:00
Andrew Tridgell
b45ddce5dd r7097: removed a debug line 2007-10-10 13:17:16 -05:00
Andrew Tridgell
33d21d35fe r7096: added support for select lists in forms 2007-10-10 13:17:15 -05:00
Andrew Tridgell
314bc44afe r7095: more html tidying 2007-10-10 13:17:15 -05:00
Andrew Tridgell
9b8546f921 r7094: use the Form() object in a few more places 2007-10-10 13:17:15 -05:00
Andrew Tridgell
ddccf6d2f5 r7093: - added a new Form() ejs object for producing simple forms.
- tidied up the html generation a bit
2007-10-10 13:17:15 -05:00
Andrew Tridgell
5f91db4d60 r7092: added some js for formatting table results in a nicer fashion 2007-10-10 13:17:15 -05:00
Andrew Tridgell
d1d8268675 r7091: added some more useful links 2007-10-10 13:17:15 -05:00
Andrew Tridgell
90b50ed983 r7090: added back in the showvars test 2007-10-10 13:17:15 -05:00
Andrew Tridgell
cb896a141a r7089: ensure that headers['HOST'] is setup 2007-10-10 13:17:14 -05:00
Andrew Tridgell
86d2ecf0f2 r7088: start on some real structure for the SWAT web pages
- this imports the basic css pages from samba.org

- i have created some useful ejs scripts in common.js that will be included by all pages

- added a real login page, and a logout button showing who you are logged in as

- added page_header() and page_footer() functions that take a page type, allowing
  for "plain" or "columms" pages

- added some simple menus on the left of the columns page type, with links to the esp
  tests and some useful links for samba4 developers
2007-10-10 13:17:14 -05:00
Andrew Tridgell
6a876d6611 r7087: always run the /scripting/preauth.esp page before processing any
request. If this page produces any output then that output is sent to
the browser and the request is not processed

This allows us to ensure that all pages are authenticated
2007-10-10 13:17:14 -05:00
Andrew Tridgell
af97ded8d4 r7086: make include() recognise the ".esp" extension and include the file as
an esp script instead of as a ejs script
2007-10-10 13:17:14 -05:00
Andrew Tridgell
722950c213 r7085: fixed a bug in ejs with setting up the arguments[] array 2007-10-10 13:17:14 -05:00
Stefan Metzmacher
e1fa7ae6c8 r7084: - readd the work from rev 6516,6517,6572
- use a single list of scalars

- let "string" not be so special anymore

- fix support for "string_array"

metze
2007-10-10 13:17:14 -05:00
Tim Potter
6911e46c6a r7083: Add a ejs hook to the resolve_name() function.
We need to figure out what the best way to return NTSTATUS codes.  In the
Python wrappers I threw an exception which could be caught by some code,
but I'm not sure whether this is possible in ejs.
2007-10-10 13:17:14 -05:00
Tim Potter
54051bf8bb r7082: Call load_interfaces() in smbscript initialisation. 2007-10-10 13:17:13 -05:00
Tim Potter
790a46f53b r7081: Add mprToInt() function. 2007-10-10 13:17:13 -05:00
Tim Potter
fcf177c86e r7080: Fix typo in error message. 2007-10-10 13:17:13 -05:00
Andrew Tridgell
ab27e58c08 r7079: remember to register the esp calls 2007-10-10 13:17:13 -05:00
Andrew Tridgell
45ea1b6441 r7078: - fix an uninitialised variable in smbscript
- fixed handle passing in the smb/ejs interface calls, so they can be called
  safely from esp
2007-10-10 13:17:13 -05:00
Andrew Tridgell
caceb31be8 r7077: pull in a bunch more libs for smbscript. I plan on making a whole lot
of internal functions available to ejs, including rpc functions.

This should hopefully fix the link on solaris10 as well
2007-10-10 13:17:13 -05:00
Andrew Tridgell
9679f20272 r7076: added demos of using ARGV[] 2007-10-10 13:17:12 -05:00
Andrew Tridgell
3db568eb6b r7075: added support for ARGV[] in ejs scripts 2007-10-10 13:17:12 -05:00
Andrew Tridgell
92f85507df r7074: we should load all shares in smbscript 2007-10-10 13:17:12 -05:00
Andrew Tridgell
f1d0c00660 r7073: added some simple example scripts for use with smbscript 2007-10-10 13:17:12 -05:00
Andrew Tridgell
e59ae64f60 r7072: moved the esp hooks calls to the ejs level, so we can call them from
both esp scripts and ejs scripts. This allows the smbscript program to
call all the existing extension calls like lpGet() and ldbSearch()

Also fixed smbscript to load smb.conf, and setup logging for DEBUG()

I left the unixAuth() routine in web_server/calls.c at the moment, as
that is really only useful for esp scripts. I imagine that as we
extend esp/ejs, we will put some functions in scripting/ejs/ for use
in both ejs and esp, and some functions in web_server/ where they will
only be accessed by esp web scripts
2007-10-10 13:17:12 -05:00
Andrew Tridgell
a58531dcf3 r7071: allow access to the current mpr memory context from ejs calls 2007-10-10 13:17:12 -05:00
Stefan Metzmacher
ccc4d51927 r7070: fix redirection when the client
doesn't send a 'Host' header

metze
2007-10-10 13:17:12 -05:00
Volker Lendecke
06d27a1921 r7069: Add a little usage message to smbscript and fix a compiler warning. My
compiler still complains about "handle" (scripting/ejs/smbscrip.c:46) possibly
not being initialized and to me this looks true.

Running smbscript with the trivial write("Hello, world\n"); also leaves some
memory around.

Volker
2007-10-10 13:17:11 -05:00
Tim Potter
cebbce9bf5 r7068: Missed one! 2007-10-10 13:17:11 -05:00
Andrew Tridgell
9b568eb957 r7067: older versions of gnutls don't have GNUTLS_KP_TLS_WWW_SERVER 2007-10-10 13:17:11 -05:00
Tim Potter
f2e59d3adf r7066: Rename http_exception to ejs_exception. 2007-10-10 13:17:11 -05:00