Andrew Tridgell
4b56c129c6
r11956: removed the old rootdse.ldif, and the provision.js code that uses it
2007-10-10 13:46:50 -05:00
Stefan Metzmacher
acd3e644e0
r11781: rename tree to tcons to match the sessions substructure of smbsrv_connection
...
metze
2007-10-10 13:46:26 -05:00
Andrew Tridgell
696fa87a21
r11501: change provision code to use the new display specifiers
2007-10-10 13:45:45 -05:00
Andrew Tridgell
25131efea8
r11500: fixed a bug in the variable substition code using the new limit argument to split()
2007-10-10 13:45:45 -05:00
Andrew Tridgell
cbbce4fe40
r11496: add a minimal ads-compatible schema into our sam.ldb setup. This is
...
needed for mmc management of Samba4.
2007-10-10 13:45:45 -05:00
Andrew Tridgell
daa9dcd8f4
r11475: removed a extraneous ldb_delete() call (i had it there for debugging)
2007-10-10 13:45:42 -05:00
Andrew Tridgell
91dfe304cf
r11474: - enable ldb transactions from ejs
...
- speed up provisioning a bit using a ldb transaction (also means you
can't end up with a ldb being half done)
2007-10-10 13:45:41 -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
62d5253a03
r11363: fixed a problem with provisioning when hklm already exists (the
...
problem is really caused by hklm not having objectclass attributes on
its records, but this is a workaround)
2007-10-10 13:45:26 -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 Bartlett
10d692a1c2
r11222: Small provision fixes: canonicalName is now generated, and the DC=
...
list should be from the dnsdomain (ie lowercae).
Andrew Bartlett
2007-10-10 13:45:05 -05:00
Andrew Bartlett
0c29f0e30d
r11217: Ensure the realm is substituted in UPPER case.
...
Andrew Bartlett
2007-10-10 13:45:04 -05:00
Andrew Bartlett
df6a40c2d2
r11203: Use different variable names to make it easier to tell which assert fired.
...
Andrew Bartlett
2007-10-10 13:45:01 -05:00
Stefan Metzmacher
9f3b6746d8
r11087: - add type,name,scope as attributes to winsRecords,
...
so you can use them in search filters,
only for administration not used inside the winserver code
- fix the samba3 ugrade scripts to create a correct samba4 wins.ldb
metze
2007-10-10 13:44:46 -05:00
Jelmer Vernooij
c5e3a1c55d
r10515: Handle replacement of "domain logons" and "domain master" by "server role"
2007-10-10 13:38:59 -05:00
Andrew Tridgell
173655aec2
r10193: r11632@blu: tridge | 2005-08-30 23:08:27 +1000
...
if we fail to erase a ldb during provision by traversing
and deleting records (an in-place erase) then just unlink it
and start it again. This makes provisioning much more robust
to changes in ldb that make it not backward compatible with
old DBs.
2007-10-10 13:38:07 -05:00
Jelmer Vernooij
87f25fe49c
r10190: Do some very basic input checking when provisioning.
2007-10-10 13:38:06 -05:00
Jelmer Vernooij
a143234ac7
r9951: Add another value to the default HKLM.
...
Convert Samba3 policy "refuse machine pw change" to registry value.
2007-10-10 13:36:24 -05:00
Jelmer Vernooij
4f0ee80f6c
r9925: Fix swapped nt/lm password hashes - caught by Andrew Bartlett
2007-10-10 13:36:22 -05:00
Jelmer Vernooij
76e943d441
r9899: Be more conservative about what is sent to the remote server in ldb_map.
2007-10-10 13:36:21 -05:00
Jelmer Vernooij
de2bde2526
r9854: Finish ldb_map testsuite
...
Update PLAN
Some more small other fixes
2007-10-10 13:36:18 -05:00
Jelmer Vernooij
b7992de4b7
r9842: More error checks in the ldb_map modules, extend testsuite
2007-10-10 13:36:17 -05:00
Jelmer Vernooij
d2db164d6f
r9834: More tests for the upgrade from Samba3
2007-10-10 13:36:17 -05:00
Jelmer Vernooij
11e2a19389
r9830: Fix support for importing registry values. Extended the examplre registry tdb.
2007-10-10 13:36:16 -05:00
Jelmer Vernooij
fb2fd8da10
r9827: Convert 'passdb backend' rather then 'passdb backends'
...
Be a bit more verbose
2007-10-10 13:36:16 -05:00
Jelmer Vernooij
488d737fb0
r9816: Work on testsuite for upgrade
...
Add 'paths' object to provision code.
2007-10-10 13:35:04 -05:00
Jelmer Vernooij
27eefbd905
r9805: Add 'data' property to param EJS object
...
Write out new smb.conf file. Parameters that have disappeared
between Samba 3 and 4 will optionally be prefixed with 'samba3:'
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
bb0cef581a
r9800: Add EJS interface to param. tridge, sorry this overlaps a bit
...
with your loadparm interface. :-/
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
b7c09df9e5
r9793: Be more verbose, check for errors in upgrade script.
2007-10-10 13:35:02 -05:00
Jelmer Vernooij
d9541535e3
r9770: Couple other bugfixes
...
Update TODO-list
2007-10-10 13:34:58 -05:00
Jelmer Vernooij
1376a1fe44
r9762: Add support for reading good old smbpasswd files
...
Fix password support
Make base64 decode/encode functions available to EJS
2007-10-10 13:34:57 -05:00
Jelmer Vernooij
a8f309aa81
r9756: One-way upgrade from Samba3->Samba4 basically works now
...
Still need to polish some rough edges
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
8baa2ac377
r9754: Upgrading with the command line utility now works, at least partially (-:
...
Upgrading using SWAT should work as well now.
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
b1d9ef8998
r9746: Add "staff" as possible alternative to wheel
...
(should fix standard provisioning on AIX)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
435e4c6389
r9744: - [upgrade.js] Start working on smb.conf conversion.
...
- [ldb_map] Support storing non-mappable data in a fallback LDB
2007-10-10 13:34:55 -05:00
Jelmer Vernooij
d569465dc4
r9735: More work on generating a valid Samba4 configuration using the
...
Samba3 data (both console and SWAT)
2007-10-10 13:34:55 -05:00
Jelmer Vernooij
7e3b94dfb9
r9722: Initial attempt at converting samba3dump to EJS..
2007-10-10 13:34:53 -05:00
Jelmer Vernooij
b1844905d2
r9718: Work a bit on the SWAT interface
2007-10-10 13:34:53 -05:00
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
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
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
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
ceb7669e59
r9227: cleanup and simplify the AJAJ code
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
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
5e39870062
r9159: abstract the winreg js functions into a nice library interface
2007-10-10 13:31:25 -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