summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10192: r11631@blu: tridge | 2005-08-30 23:06:37 +1000Andrew Tridgell1-0/+26
added a ldb.close() method in js. Useful for re-opening the db (This used to be commit 1f12364a0f23ba39fd3d29b510fdef2423685f0d)
2007-10-10r9990: Fix some 64-bit size_t warnings.Tim Potter1-3/+3
(This used to be commit dd148451d7d554dc0b102023e6a22439fd3b4b81)
2007-10-10r9915: Some more mappings. Fix weird sAMAccountName values.Jelmer Vernooij1-4/+10
(This used to be commit 8ff1358f401e0086b941f4ff73af5d4c38a1f8bf)
2007-10-10r9842: More error checks in the ldb_map modules, extend testsuiteJelmer Vernooij1-4/+4
(This used to be commit b7992de4b7d42a55e00509c887a269a07c19627d)
2007-10-10r9834: More tests for the upgrade from Samba3Jelmer Vernooij1-0/+42
(This used to be commit d2db164d6f674cada470e871c558c75f98244141)
2007-10-10r9826: Add some more OOM checksJelmer Vernooij1-2/+2
(This used to be commit 213bcb7e16290da0c26492ced65509a63942d4ce)
2007-10-10r9825: Correctly handle length argument to substr()Jelmer Vernooij1-3/+2
(This used to be commit edf380cb5fa2c168fc05dd54580f024239ef835f)
2007-10-10r9813: Conver testsuite for samba3sam module to EJSJelmer Vernooij1-3/+3
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)
2007-10-10r9805: Add 'data' property to param EJS objectJelmer Vernooij1-4/+58
Write out new smb.conf file. Parameters that have disappeared between Samba 3 and 4 will optionally be prefixed with 'samba3:' (This used to be commit 27eefbd9059fe0a3daca15a71da7b4cb88ed22ec)
2007-10-10r9800: Add EJS interface to param. tridge, sorry this overlaps a bitJelmer Vernooij4-1/+213
with your loadparm interface. :-/ (This used to be commit bb0cef581a09a86113f3212c776c011ae73def14)
2007-10-10r9798: Add generic functions for handling smb.conf files (the parameters ↵Jelmer Vernooij1-40/+3
don't to be pre-declared). Also doesn't use any globals, so multiple files can be loaded at once. Currently uses the prefix "param" for all functions and structures; suggestions for better ones are welcome... Remove old smb.conf-parsing code from libsamba3. (This used to be commit 414e5f7f6dc38a8fde3b61d524a664f56f9ea592)
2007-10-10r9770: Couple other bugfixesJelmer Vernooij2-5/+19
Update TODO-list (This used to be commit d9541535e3f9e1c058410eeb0a54d60181572f2b)
2007-10-10r9762: Add support for reading good old smbpasswd filesJelmer Vernooij2-2/+63
Fix password support Make base64 decode/encode functions available to EJS (This used to be commit 1376a1fe44cd6b01709819095a711c14626b1d3e)
2007-10-10r9756: One-way upgrade from Samba3->Samba4 basically works nowJelmer Vernooij1-0/+57
Still need to polish some rough edges (This used to be commit a8f309aa812533f57a90410722dfb342c8cf3b48)
2007-10-10r9755: Fix crash bug in SWAT loginJelmer Vernooij1-1/+4
(This used to be commit 6e3e964fb4529260c2fcb09b41eda1a100e690eb)
2007-10-10r9754: Upgrading with the command line utility now works, at least partially (-:Jelmer Vernooij1-1/+3
Upgrading using SWAT should work as well now. (This used to be commit 8baa2ac377315ae8b365f58c2bda0bf3d0c5aec3)
2007-10-10r9735: More work on generating a valid Samba4 configuration using theJelmer Vernooij1-36/+85
Samba3 data (both console and SWAT) (This used to be commit d569465dc4def55c27878028f2fc762960f453d8)
2007-10-10r9728: A *major* update to the credentials system, to incorporate theAndrew Bartlett2-2/+2
Kerberos CCACHE into the system. This again allows the use of the system ccache when no username is specified, and brings more code in common between gensec_krb5 and gensec_gssapi. It also has a side-effect that may (or may not) be expected: If there is a ccache, even if it is not used (perhaps the remote server didn't want kerberos), it will change the default username. Andrew Bartlett (This used to be commit 6202267f6ec1446d6bd11d1d37d05a977bc8d315)
2007-10-10r9725: Fix full output mode of samba3dump as well. Thanks to tridge forJelmer Vernooij1-0/+2
a bit for explanation about js. (This used to be commit 765a30a0493cbd150f53335c6648e8e56ef6dc23)
2007-10-10r9724: Rewrite samba3dump in JS. The summary works now, but the full outputJelmer Vernooij2-170/+350
is triggering some obscure EJS assert.. (This used to be commit 42605f4444998e3063ffd1bea17425ff825f6132)
2007-10-10r9722: Initial attempt at converting samba3dump to EJS..Jelmer Vernooij4-1/+263
(This used to be commit 7e3b94dfb9c421793dab7813b96ca63da4b33960)
2007-10-10r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000Andrew Tridgell1-4/+0
a NULL expression is valid in a ldb search (This used to be commit a8748cab865c765f844336087a386c01e60add62)
2007-10-10r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000Andrew Tridgell2-3/+5
- fixed ncacn_ip_tcp to use the generic async name resolution methods, so NBT names now work (as requested several times by abartlet!) - changed resolve_name() to take an event_context, so it doesn't cause the whole process to block - cleaned up the talloc_find_parent_bytype() calls to go via a cleaner event_context_find() call (This used to be commit b3d491b210a8b889a25efcb273e70fefbd01b7f7)
2007-10-10r9700: Change DATA_BLOB in ejs back to struct datablobJelmer Vernooij1-3/+3
Support writing idmap mappings to winbind.ldif (This used to be commit 3709def35303f1afed0f344628fe2c89250ee087)
2007-10-10r9698: Fix a bit of memory managementJelmer Vernooij1-1/+1
More minor bugfixes Support mapping objectclasses and do mapping on 'dn' field as well (not just msg->dn) (This used to be commit b7b079167d5c6616f7c5c4afb7dd80c15707cfd9)
2007-10-10r9645: fixed the ejs GetOptions() call to look at the first option passed ↵Andrew Tridgell1-1/+1
(this is what broke --help) (This used to be commit 88a7e9e00f3714f89067ef97dfca46bc0688222e)
2007-10-10r9566: fix an uninitialised variableAndrew Tridgell1-1/+1
(This used to be commit 7082440a70c5f85606538b7a35a1cc8f41eb7eeb)
2007-10-10r9504: use some low level ejs hackery to give much better exception error ↵Andrew Tridgell1-2/+6
messages in both the web server and smbscript. We can now give backtraces for all internal asserts, not just high level errors (This used to be commit 84c756b25ccb2bd75360bdb9b7b7643975d1f3b3)
2007-10-10r9500: userAuth() takes a creds object, not a general object now ...Andrew Tridgell1-1/+1
(This used to be commit 57e6eb9c66ba539a593524d8cfd8836a840ac1ba)
2007-10-10r9499: added error checking to the userAuth() call. SWAT is still failing, ↵Andrew Tridgell1-1/+5
but at least it now tells us why (This used to be commit 4afb16d7b24b1d1ed359048a89950924b363e44a)
2007-10-10r9496: added a regToVar() function that converts a registry blob variable to ↵Andrew Tridgell1-0/+119
a ejs variable. (This used to be commit 76ffc200794cdae6dcd7d07adb5617f1b09fe435)
2007-10-10r9492: it is more usual to return 'undefined' instead of 'false' on a call ↵Andrew Tridgell1-1/+1
failing (unless the call is returning a boolean anyway). Unfortunately the new GetOptions syntax loses the ability for the caller to know why the command line arguments were bad. Maybe we would be better always returning an object and having an is_error element? (This used to be commit 516ba6d20bd1bd8d0235028515e94a8c4fd6574d)
2007-10-10r9477: Convert popt options to an ejs object. Doesn't seem to break anythingRafal Szczesniak3-24/+44
except of popt help (-h) option (unexpected ?). rafal (This used to be commit 1990793b23d6198a85ce1bdf6ad43e12015db203)
2007-10-10r9464: fixed a problem with child pointers copied into non-allocated mpr ↵Andrew Tridgell1-2/+4
variables. We now use the same free technique as is used for mpr strings, rather than relying on being a child of the variable (This used to be commit 3d6739eaa6e1b56d67bc7d9b5350a6911c96597a)
2007-10-10r9391: Convert all the code to use struct ldb_dn to ohandle ldap like ↵Simo Sorce2-14/+32
distinguished names Provide more functions to handle DNs in this form (This used to be commit 692e35b7797e39533dd2a1c4b63d9da30f1eb5ba)
2007-10-10r9344: started adding calls for manipulation of data blobs in ejsAndrew Tridgell4-1/+167
added: blobToArray() blobFromArray() blobCompare() (This used to be commit cc5a3e9cc3b44f418eb5dfcd4e855a36c5ac8327)
2007-10-10r9340: print the [in] contents when debugging even if the marshallingAndrew Tridgell1-2/+4
failed. This makes it easier to track down marshalling bugs. (This used to be commit a7a1752ca47a18b325a0ad0984cf7d02da1e2afe)
2007-10-10r9339: treat arrays of uint8 values as a special DATA_BLOB type in the ejsAndrew Tridgell3-0/+69
interfaces to RPC. This makes large blobs of data much saner. Tim, you will probably want to do the same for the smb_interfaces.h generated code. Next we will need ways of extracting different data types from these blobs, for example asking for the blob to be interpreted as a utf16 string, or as a little-endian integer. That will allow for registry scripting to be quite sane. (This used to be commit a8bca2e8e27c953c0413693326ec3b5ecf17ba41)
2007-10-10r9226: make sure we catch rpc faults in the ejs rpc wrappersAndrew Tridgell1-0/+3
(This used to be commit 3ec376141e64f0a504f04b470cb5df78c2e0f5c2)
2007-10-10r9210: fixed support for a credentials element in a rpc object in ejs to notAndrew Tridgell2-6/+10
give lots of warnings of missing properties (This used to be commit 15737abd747cea561eca92103919f4adc22c6fcd)
2007-10-10r9171: - support putting a credentials object in a rpc pipe object to allow ↵Andrew Tridgell2-10/+10
authentication with other than the command line credentials in a rpc pipe (This used to be commit aae05ebc9c3dc7ad367aed09c54b85184ba7a82e)
2007-10-10r9146: - enable winreg pipe from ejsAndrew Tridgell2-0/+35
- map the result code from rpc calls into the ejs objects - treat winreg_String like lsa_String, hiding the length elements (This used to be commit 2f6311c9a34db46f9a4b1f31e865a373b15702bf)
2007-10-10r9132: 'pointer' is better for typedef than 'C pointer'Andrew Tridgell1-1/+1
(This used to be commit f91f5eeac9a8b62928233c3925c8ad1b99b32b4e)
2007-10-10r9123: Add ejs_pull_DATA_BLOB() and ejs_pull_BOOL() although leave DATA_BLOBTim Potter2-1/+34
unimplemented for the moment. (This used to be commit 0e022f8d45a99f0edbbd6369dbf41f73906c6fc4)
2007-10-10r9119: added a lp.categories() call in the loadparm js object, to allowAndrew Tridgell1-0/+22
retrieval of the smb.conf parameter categories. This will make writing a smb.conf editor easier. (This used to be commit 8db549b1506b5260c9eb16f40bbdae6a7c006fa2)
2007-10-10r9096: Spelling.Tim Potter1-1/+1
(This used to be commit c61b29bdf043792d885528bd7666c9bea9107928)
2007-10-10r9082: added the ECMA functions encodeURIComponent() andAndrew Tridgell1-0/+81
decodeURIComponent(), which I am using as part of my object linearisation code (This used to be commit f91f705a143b24c2e01b9176850a7089e1a99b86)
2007-10-10r9071: Set real and workstation fields in ejs credentials object.Rafal Szczesniak1-0/+62
rafal (This used to be commit eb7a5d09c7a469f94357434c6dadbdf54b52d5db)
2007-10-10r9070: More fields in ejs credentials object.Rafal Szczesniak1-0/+56
rafal (This used to be commit e819c035f79477b5dd8ee62292a18c9e8532c9f7)
2007-10-10r9059: add a basic credentials object for mimirAndrew Tridgell3-0/+109
(This used to be commit 36a9277e878d4db599fcfc02b96d2aaeac0b74dd)