Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r9746: Add "staff" as possible alternative to wheel | Jelmer Vernooij | 2005-08-29 | 1 | -1/+1 | |
| | | | | (should fix standard provisioning on AIX) | |||||
* | r9744: - [upgrade.js] Start working on smb.conf conversion. | Jelmer Vernooij | 2005-08-29 | 1 | -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 Vernooij | 2005-08-29 | 3 | -40/+355 | |
| | | | | Samba3 data (both console and SWAT) | |||||
* | r9728: A *major* update to the credentials system, to incorporate the | Andrew Bartlett | 2005-08-29 | 2 | -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 Vernooij | 2005-08-29 | 2 | -20/+40 | |
| | | | | a bit for explanation about js. | |||||
* | r9724: Rewrite samba3dump in JS. The summary works now, but the full output | Jelmer Vernooij | 2005-08-29 | 3 | -234/+411 | |
| | | | | is triggering some obscure EJS assert.. | |||||
* | r9722: Initial attempt at converting samba3dump to EJS.. | Jelmer Vernooij | 2005-08-28 | 6 | -2/+489 | |
| | ||||||
* | r9718: Work a bit on the SWAT interface | Jelmer Vernooij | 2005-08-28 | 1 | -0/+8 | |
| | ||||||
* | r9707: r11080@blu: tridge | 2005-08-28 12:41:12 +1000 | Andrew Tridgell | 2005-08-28 | 1 | -1/+26 | |
| | | | | make sure we leave the account enabled after creating a new user | |||||
* | r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000 | Andrew Tridgell | 2005-08-28 | 1 | -4/+0 | |
| | | | | a NULL expression is valid in a ldb search | |||||
* | r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000 | Andrew Tridgell | 2005-08-28 | 2 | -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 datablob | Jelmer Vernooij | 2005-08-28 | 1 | -3/+3 | |
| | | | | Support writing idmap mappings to winbind.ldif | |||||
* | r9698: Fix a bit of memory management | Jelmer Vernooij | 2005-08-27 | 1 | -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 Tridgell | 2005-08-26 | 1 | -1/+1 | |
| | | | | (this is what broke --help) | |||||
* | r9580: put the libinclude() after the GetOptions so the smb.conf is loaded to | Andrew Tridgell | 2005-08-24 | 1 | -4/+4 | |
| | | | | get the libjs path | |||||
* | r9568: updated the winreg js library for CreateKey, and add a --createkey | Andrew Tridgell | 2005-08-24 | 2 | -9/+56 | |
| | | | | option to the winreg tool | |||||
* | r9566: fix an uninitialised variable | Andrew Tridgell | 2005-08-24 | 1 | -1/+1 | |
| | ||||||
* | r9504: use some low level ejs hackery to give much better exception error ↵ | Andrew Tridgell | 2005-08-23 | 1 | -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 Tridgell | 2005-08-23 | 1 | -1/+1 | |
| | ||||||
* | r9499: added error checking to the userAuth() call. SWAT is still failing, ↵ | Andrew Tridgell | 2005-08-23 | 1 | -1/+5 | |
| | | | | | | but at least it now tells us why | |||||
* | r9497: - converted the winreg library to a more OO style of interface | Andrew Tridgell | 2005-08-23 | 2 | -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 Tridgell | 2005-08-23 | 1 | -0/+119 | |
| | | | | a ejs variable. | |||||
* | r9492: it is more usual to return 'undefined' instead of 'false' on a call ↵ | Andrew Tridgell | 2005-08-22 | 1 | -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 Tridgell | 2005-08-22 | 1 | -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 anything | Rafal Szczesniak | 2005-08-22 | 4 | -26/+46 | |
| | | | | | | | except of popt help (-h) option (unexpected ?). rafal | |||||
* | r9465: handle encoding and decoding of pointers, representing them as a | Andrew Tridgell | 2005-08-22 | 1 | -0/+2 | |
| | | | | string containing "(POINTER)" | |||||
* | r9464: fixed a problem with child pointers copied into non-allocated mpr ↵ | Andrew Tridgell | 2005-08-22 | 1 | -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 Sorce | 2005-08-18 | 2 | -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 Tridgell | 2005-08-18 | 1 | -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 Tridgell | 2005-08-17 | 1 | -4/+4 | |
| | | | | rpc fault | |||||
* | r9344: started adding calls for manipulation of data blobs in ejs | Andrew Tridgell | 2005-08-17 | 4 | -1/+167 | |
| | | | | | | | | added: blobToArray() blobFromArray() blobCompare() | |||||
* | r9340: print the [in] contents when debugging even if the marshalling | Andrew Tridgell | 2005-08-17 | 1 | -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 ejs | Andrew Tridgell | 2005-08-17 | 3 | -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 EnumValue | Andrew Tridgell | 2005-08-17 | 1 | -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 code | Andrew Tridgell | 2005-08-10 | 1 | -6/+7 | |
| | ||||||
* | r9226: make sure we catch rpc faults in the ejs rpc wrappers | Andrew Tridgell | 2005-08-10 | 1 | -0/+3 | |
| | ||||||
* | r9218: make the winreg library code handle arbitrary paths more efficiently | Andrew Tridgell | 2005-08-08 | 1 | -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 not | Andrew Tridgell | 2005-08-08 | 2 | -6/+10 | |
| | | | | give lots of warnings of missing properties | |||||
* | r9178: remove the old server printf code | Andrew Tridgell | 2005-08-07 | 1 | -13/+0 | |
| | ||||||
* | r9174: ejs does not include the special variable 'length' in for loops over ↵ | Andrew Tridgell | 2005-08-07 | 1 | -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 Tridgell | 2005-08-07 | 2 | -10/+10 | |
| | | | | | | authentication with other than the command line credentials in a rpc pipe | |||||
* | r9159: abstract the winreg js functions into a nice library interface | Andrew Tridgell | 2005-08-06 | 1 | -0/+115 | |
| | ||||||
* | r9146: - enable winreg pipe from ejs | Andrew Tridgell | 2005-08-05 | 2 | -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 Tridgell | 2005-08-05 | 1 | -1/+1 | |
| | ||||||
* | r9131: started adding the server side code for "AJAJ" (asynchronous ↵ | Andrew Tridgell | 2005-08-05 | 2 | -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 Potter | 2005-08-05 | 2 | -1/+34 | |
| | | | | unimplemented for the moment. | |||||
* | r9119: added a lp.categories() call in the loadparm js object, to allow | Andrew Tridgell | 2005-08-05 | 1 | -0/+22 | |
| | | | | | retrieval of the smb.conf parameter categories. This will make writing a smb.conf editor easier. | |||||
* | r9096: Spelling. | Tim Potter | 2005-08-05 | 1 | -1/+1 | |
| | ||||||
* | r9082: added the ECMA functions encodeURIComponent() and | Andrew Tridgell | 2005-08-05 | 1 | -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 Szczesniak | 2005-08-04 | 1 | -0/+62 | |
| | | | | rafal |