Andrew Tridgell
a22d0d02ee
r9707: r11080@blu: tridge | 2005-08-28 12:41:12 +1000
...
make sure we leave the account enabled after creating a new user
2007-10-10 13:34:52 -05:00
Andrew Tridgell
a8748cab86
r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000
...
a NULL expression is valid in a ldb search
2007-10-10 13:34:52 -05:00
Andrew Tridgell
b3d491b210
r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000
...
- 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
2007-10-10 13:34:51 -05:00
Jelmer Vernooij
3709def353
r9700: Change DATA_BLOB in ejs back to struct datablob
...
Support writing idmap mappings to winbind.ldif
2007-10-10 13:34:49 -05:00
Jelmer Vernooij
b7b079167d
r9698: Fix a bit of memory management
...
More minor bugfixes
Support mapping objectclasses and do mapping on 'dn' field as well (not just msg->dn)
2007-10-10 13:34:42 -05:00
Andrew Tridgell
88a7e9e00f
r9645: fixed the ejs GetOptions() call to look at the first option passed (this is what broke --help)
2007-10-10 13:34:36 -05:00
Andrew Tridgell
ee0b693ffa
r9580: put the libinclude() after the GetOptions so the smb.conf is loaded to
...
get the libjs path
2007-10-10 13:34:31 -05:00
Andrew Tridgell
881452c7b7
r9568: updated the winreg js library for CreateKey, and add a --createkey
...
option to the winreg tool
2007-10-10 13:34:29 -05:00
Andrew Tridgell
7082440a70
r9566: fix an uninitialised variable
2007-10-10 13:34:29 -05:00
Andrew Tridgell
84c756b25c
r9504: use some low level ejs hackery to give much better exception error messages in both
...
the web server and smbscript. We can now give backtraces for all internal asserts, not
just high level errors
2007-10-10 13:34:23 -05:00
Andrew Tridgell
57e6eb9c66
r9500: userAuth() takes a creds object, not a general object now ...
2007-10-10 13:34:23 -05:00
Andrew Tridgell
4afb16d7b2
r9499: added error checking to the userAuth() call. SWAT is still failing, but at least it now
...
tells us why
2007-10-10 13:34:23 -05:00
Andrew Tridgell
47cf409cdf
r9497: - converted the winreg library to a more OO style of interface
...
- added a reg.typestring() method that returns a string representation of a type
2007-10-10 13:34:22 -05:00
Andrew Tridgell
76ffc20079
r9496: added a regToVar() function that converts a registry blob variable to a ejs variable.
2007-10-10 13:34:22 -05:00
Andrew Tridgell
516ba6d20b
r9492: it is more usual to return 'undefined' instead of 'false' on a call 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?
2007-10-10 13:34:21 -05:00
Andrew Tridgell
1ead49f8e8
r9491: fixed up a few scripts that need to be updated for the new GetOptions syntax. Mimir, its
...
a good idea to use grep -r to find places that need fixing when you change the syntax of
a call :-)
2007-10-10 13:34:21 -05:00
Rafal Szczesniak
1990793b23
r9477: Convert popt options to an ejs object. Doesn't seem to break anything
...
except of popt help (-h) option (unexpected ?).
rafal
2007-10-10 13:34:20 -05:00
Andrew Tridgell
6f69eeb8f2
r9465: handle encoding and decoding of pointers, representing them as a
...
string containing "(POINTER)"
2007-10-10 13:34:18 -05:00
Andrew Tridgell
3d6739eaa6
r9464: fixed a problem with child pointers copied into non-allocated mpr variables. We
...
now use the same free technique as is used for mpr strings, rather than relying on
being a child of the variable
2007-10-10 13:34:18 -05:00
Simo Sorce
692e35b779
r9391: Convert all the code to use struct ldb_dn to ohandle ldap like distinguished names
...
Provide more functions to handle DNs in this form
2007-10-10 13:33:32 -05:00
Andrew Tridgell
e4ca36bda3
r9377: made winreg a user tool (I find it quite useful). I expect it to get 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
2007-10-10 13:33:30 -05:00
Andrew Tridgell
3a9c63923f
r9355: return the EnumKey and EnumValue list we have so far when we get a rpc fault
2007-10-10 13:33:27 -05:00
Andrew Tridgell
cc5a3e9cc3
r9344: started adding calls for manipulation of data blobs in ejs
...
added:
blobToArray()
blobFromArray()
blobCompare()
2007-10-10 13:33:26 -05:00
Andrew Tridgell
a7a1752ca4
r9340: print the [in] contents when debugging even if the marshalling
...
failed. This makes it easier to track down marshalling bugs.
2007-10-10 13:33:25 -05:00
Andrew Tridgell
a8bca2e8e2
r9339: treat arrays of uint8 values as a special DATA_BLOB type in the ejs
...
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.
2007-10-10 13:33:25 -05:00
Andrew Tridgell
8354b01612
r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValue
...
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.
2007-10-10 13:33:25 -05:00
Andrew Tridgell
ceb7669e59
r9227: cleanup and simplify the AJAJ code
2007-10-10 13:31:34 -05:00
Andrew Tridgell
3ec376141e
r9226: make sure we catch rpc faults in the ejs rpc wrappers
2007-10-10 13:31:34 -05:00
Andrew Tridgell
dadd7e22fb
r9218: make the winreg library code handle arbitrary paths more efficiently
...
and more conveniently (caller doesn't need to know the hive names now)
2007-10-10 13:31:32 -05:00
Andrew Tridgell
15737abd74
r9210: fixed support for a credentials element in a rpc object in ejs to not
...
give lots of warnings of missing properties
2007-10-10 13:31:31 -05:00
Andrew Tridgell
0b96b3bfe3
r9178: remove the old server printf code
2007-10-10 13:31:29 -05:00
Andrew Tridgell
ea3c3d0a0f
r9174: ejs does not include the special variable 'length' in for loops over objects,
...
so we need to check for it separately in the object lineariser
2007-10-10 13:31:28 -05:00
Andrew Tridgell
aae05ebc9c
r9171: - support putting a credentials object in a rpc pipe object to allow authentication
...
with other than the command line credentials in a rpc pipe
2007-10-10 13:31:27 -05:00
Andrew Tridgell
5e39870062
r9159: abstract the winreg js functions into a nice library interface
2007-10-10 13:31:25 -05:00
Andrew Tridgell
2f6311c9a3
r9146: - enable winreg pipe from ejs
...
- map the result code from rpc calls into the ejs objects
- treat winreg_String like lsa_String, hiding the length elements
2007-10-10 13:31:23 -05:00
Andrew Tridgell
f91f5eeac9
r9132: 'pointer' is better for typedef than 'C pointer'
2007-10-10 13:31:20 -05:00
Andrew Tridgell
5f9e00fb7f
r9131: started adding the server side code for "AJAJ" (asynchronous 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.
2007-10-10 13:31:19 -05:00
Tim Potter
0e022f8d45
r9123: Add ejs_pull_DATA_BLOB() and ejs_pull_BOOL() although leave DATA_BLOB
...
unimplemented for the moment.
2007-10-10 13:31:18 -05:00
Andrew Tridgell
8db549b150
r9119: added a lp.categories() call in the loadparm js object, to allow
...
retrieval of the smb.conf parameter categories. This will make writing
a smb.conf editor easier.
2007-10-10 13:31:18 -05:00
Tim Potter
c61b29bdf0
r9096: Spelling.
2007-10-10 13:31:16 -05:00
Andrew Tridgell
f91f705a14
r9082: added the ECMA functions encodeURIComponent() and
...
decodeURIComponent(), which I am using as part of my object
linearisation code
2007-10-10 13:31:15 -05:00
Rafal Szczesniak
eb7a5d09c7
r9071: Set real and workstation fields in ejs credentials object.
...
rafal
2007-10-10 13:31:14 -05:00
Rafal Szczesniak
e819c035f7
r9070: More fields in ejs credentials object.
...
rafal
2007-10-10 13:31:14 -05:00
Andrew Tridgell
36a9277e87
r9059: add a basic credentials object for mimir
2007-10-10 13:31:13 -05:00
Jelmer Vernooij
2f481ac93c
r8985: Automatically generate make dependency rules for
...
the asn1 and error table files.
This removes the need for HEIMDAL_EXTERNAL
2007-10-10 13:31:04 -05:00
Jelmer Vernooij
43779c09b6
r8979: Bunch of makefile fragment inclusion fixes:
...
- support whitespace
- support "include " keyword
- move swig stuff to .mk file
- support autogenerated makefile portions (use "include echo foo|")
2007-10-10 13:31:02 -05:00
Jelmer Vernooij
ce0935112b
r8966: Simplify the makefile generation system a bit.
...
Autogenerate list of binaries (rather then having them hardcoded in build/smb_build/makefile.pm)
Add INSTALLDIR keyword to .mk files
2007-10-10 13:31:00 -05:00
Andrew Tridgell
ce9a262d37
r8887: fixed the irpc error that caused ia64 to fail the LOCAL-IRPC test
2007-10-10 13:30:15 -05:00
Andrew Tridgell
8eee26bb85
r8822: fixed number of arguments in samr lib
2007-10-10 13:30:08 -05:00
Andrew Tridgell
f7b49ecd08
r8821: continue the trend to move to a more OO style of interface for our js
...
calls. This changes the generated RPC and IRPC calls to use the 'this'
object pointer instead of requiring the passing of the object on each
call. So typical usage is now:
var echo = echo_init();
var io = irpcObj();
status = echo.connect("ncacn_np:server");
assert(status.is_ok);
io.input.in_data = 7;
status = echo.AddOne(io);
assert(status.is_ok);
2007-10-10 13:30:08 -05:00