summaryrefslogtreecommitdiffstats
path: root/source/scripting
Commit message (Collapse)AuthorAgeFilesLines
...
* r9746: Add "staff" as possible alternative to wheel Jelmer Vernooij2005-08-291-1/+1
| | | | (should fix standard provisioning on AIX)
* r9744: - [upgrade.js] Start working on smb.conf conversion.Jelmer Vernooij2005-08-291-36/+123
| | | | - [ldb_map] Support storing non-mappable data in a fallback LDB
* r9735: More work on generating a valid Samba4 configuration using the Jelmer Vernooij2005-08-293-40/+355
| | | | Samba3 data (both console and SWAT)
* r9728: A *major* update to the credentials system, to incorporate theAndrew Bartlett2005-08-292-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
* r9725: Fix full output mode of samba3dump as well. Thanks to tridge for Jelmer Vernooij2005-08-292-20/+40
| | | | a bit for explanation about js.
* r9724: Rewrite samba3dump in JS. The summary works now, but the full output Jelmer Vernooij2005-08-293-234/+411
| | | | is triggering some obscure EJS assert..
* r9722: Initial attempt at converting samba3dump to EJS..Jelmer Vernooij2005-08-286-2/+489
|
* r9718: Work a bit on the SWAT interfaceJelmer Vernooij2005-08-281-0/+8
|
* r9707: r11080@blu: tridge | 2005-08-28 12:41:12 +1000Andrew Tridgell2005-08-281-1/+26
| | | | make sure we leave the account enabled after creating a new user
* r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000Andrew Tridgell2005-08-281-4/+0
| | | | a NULL expression is valid in a ldb search
* r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000Andrew Tridgell2005-08-282-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
* r9700: Change DATA_BLOB in ejs back to struct datablobJelmer Vernooij2005-08-281-3/+3
| | | | Support writing idmap mappings to winbind.ldif
* r9698: Fix a bit of memory managementJelmer Vernooij2005-08-271-1/+1
| | | | | More minor bugfixes Support mapping objectclasses and do mapping on 'dn' field as well (not just msg->dn)
* r9645: fixed the ejs GetOptions() call to look at the first option passed ↵Andrew Tridgell2005-08-261-1/+1
| | | | (this is what broke --help)
* r9580: put the libinclude() after the GetOptions so the smb.conf is loaded toAndrew Tridgell2005-08-241-4/+4
| | | | get the libjs path
* r9568: updated the winreg js library for CreateKey, and add a --createkeyAndrew Tridgell2005-08-242-9/+56
| | | | option to the winreg tool
* r9566: fix an uninitialised variableAndrew Tridgell2005-08-241-1/+1
|
* r9504: use some low level ejs hackery to give much better exception error ↵Andrew Tridgell2005-08-231-2/+6
| | | | | | | messages in both the web server and smbscript. We can now give backtraces for all internal asserts, not just high level errors
* r9500: userAuth() takes a creds object, not a general object now ...Andrew Tridgell2005-08-231-1/+1
|
* r9499: added error checking to the userAuth() call. SWAT is still failing, ↵Andrew Tridgell2005-08-231-1/+5
| | | | | | but at least it now tells us why
* r9497: - converted the winreg library to a more OO style of interfaceAndrew Tridgell2005-08-232-35/+83
| | | | - added a reg.typestring() method that returns a string representation of a type
* r9496: added a regToVar() function that converts a registry blob variable to ↵Andrew Tridgell2005-08-231-0/+119
| | | | a ejs variable.
* r9492: it is more usual to return 'undefined' instead of 'false' on a call ↵Andrew Tridgell2005-08-221-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?
* r9491: fixed up a few scripts that need to be updated for the new GetOptions ↵Andrew Tridgell2005-08-221-8/+6
| | | | | | | syntax. Mimir, its a good idea to use grep -r to find places that need fixing when you change the syntax of a call :-)
* r9477: Convert popt options to an ejs object. Doesn't seem to break anythingRafal Szczesniak2005-08-224-26/+46
| | | | | | | except of popt help (-h) option (unexpected ?). rafal
* r9465: handle encoding and decoding of pointers, representing them as aAndrew Tridgell2005-08-221-0/+2
| | | | string containing "(POINTER)"
* r9464: fixed a problem with child pointers copied into non-allocated mpr ↵Andrew Tridgell2005-08-221-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
* r9391: Convert all the code to use struct ldb_dn to ohandle ldap like ↵Simo Sorce2005-08-182-14/+32
| | | | | | distinguished names Provide more functions to handle DNs in this form
* r9377: made winreg a user tool (I find it quite useful). I expect it to get ↵Andrew Tridgell2005-08-181-0/+75
| | | | | | | | | | the ability to add/remove keys and values in the future. add it to the standard tests, ensuring that we know if winreg breaks. This is particularly important as winreg uses such unusual IDL constructs
* r9355: return the EnumKey and EnumValue list we have so far when we get a ↵Andrew Tridgell2005-08-171-4/+4
| | | | rpc fault
* r9344: started adding calls for manipulation of data blobs in ejsAndrew Tridgell2005-08-174-1/+167
| | | | | | | | added: blobToArray() blobFromArray() blobCompare()
* r9340: print the [in] contents when debugging even if the marshallingAndrew Tridgell2005-08-171-2/+4
| | | | failed. This makes it easier to track down marshalling bugs.
* r9339: treat arrays of uint8 values as a special DATA_BLOB type in the ejsAndrew Tridgell2005-08-173-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.
* r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValueAndrew Tridgell2005-08-171-17/+110
| | | | | | | | | | | | | | calls. The previous IDL was just a workaround for the limitations of our older rpc infrastructure. Now that Jelmer has added much improved string support using the charset keyword we can correctly implemenent the unusual winreg string buffers. Jelmer, note the little comment I put on winreg_StringBuf() about why I couldn't use [value()] for the length field. This also fixes EnumKey() and EnumValue() to use NTTIME fields for the last_changed_time. I don't know why we were using a pair of uint32's, as it is just a NTTIME.
* r9227: cleanup and simplify the AJAJ codeAndrew Tridgell2005-08-101-6/+7
|
* r9226: make sure we catch rpc faults in the ejs rpc wrappersAndrew Tridgell2005-08-101-0/+3
|
* r9218: make the winreg library code handle arbitrary paths more efficientlyAndrew Tridgell2005-08-081-16/+38
| | | | and more conveniently (caller doesn't need to know the hive names now)
* r9210: fixed support for a credentials element in a rpc object in ejs to notAndrew Tridgell2005-08-082-6/+10
| | | | give lots of warnings of missing properties
* r9178: remove the old server printf codeAndrew Tridgell2005-08-071-13/+0
|
* r9174: ejs does not include the special variable 'length' in for loops over ↵Andrew Tridgell2005-08-071-18/+32
| | | | | | objects, so we need to check for it separately in the object lineariser
* r9171: - support putting a credentials object in a rpc pipe object to allow ↵Andrew Tridgell2005-08-072-10/+10
| | | | | | authentication with other than the command line credentials in a rpc pipe
* r9159: abstract the winreg js functions into a nice library interfaceAndrew Tridgell2005-08-061-0/+115
|
* r9146: - enable winreg pipe from ejsAndrew Tridgell2005-08-052-0/+35
| | | | | | - map the result code from rpc calls into the ejs objects - treat winreg_String like lsa_String, hiding the length elements
* r9132: 'pointer' is better for typedef than 'C pointer'Andrew Tridgell2005-08-051-1/+1
|
* r9131: started adding the server side code for "AJAJ" (asynchronous ↵Andrew Tridgell2005-08-052-0/+195
| | | | | | | | javascript and javascript) This is rather like AJAX, but passes around javascript objects between the client and server, taking advantage of the fact that we have the same language on both client and server.
* r9123: Add ejs_pull_DATA_BLOB() and ejs_pull_BOOL() although leave DATA_BLOB Tim Potter2005-08-052-1/+34
| | | | unimplemented for the moment.
* r9119: added a lp.categories() call in the loadparm js object, to allowAndrew Tridgell2005-08-051-0/+22
| | | | | retrieval of the smb.conf parameter categories. This will make writing a smb.conf editor easier.
* r9096: Spelling.Tim Potter2005-08-051-1/+1
|
* r9082: added the ECMA functions encodeURIComponent() andAndrew Tridgell2005-08-051-0/+81
| | | | | decodeURIComponent(), which I am using as part of my object linearisation code
* r9071: Set real and workstation fields in ejs credentials object.Rafal Szczesniak2005-08-041-0/+62
| | | | rafal