1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-05 04:23:51 +03:00
Commit Graph

9 Commits

Author SHA1 Message Date
Andrew Tridgell
7005806aa6 r18567: fixed the winreg js code for the new names of the fields in winreg.idl
When changing a field name in idl, please remember to check for use of
those functions in any js code as well.
2007-10-10 14:18:47 -05:00
Andrew Tridgell
ebdd1393fd r11458: fixed our ejs smbscript interfaces to use arrays where appropriate. In
js arrays are a special type of object where the length property is
automatic, and cannot be modified manually. Our code was manually
setting length, which made it abort when someone passed in a real ejs
array. To fix this we need to create real arrays instead of objects,
and remove the code that manually sets the length
2007-10-10 13:45:39 -05:00
Andrew Tridgell
27f46b4f18 r11285: fixed winreg.js for the recent change to winreg.idl 2007-10-10 13:45:13 -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
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
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
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
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
5e39870062 r9159: abstract the winreg js functions into a nice library interface 2007-10-10 13:31:25 -05:00