summaryrefslogtreecommitdiff
path: root/source4/scripting/libjs
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r9827: Convert 'passdb backend' rather then 'passdb backends'Jelmer Vernooij1-1/+2
Be a bit more verbose (This used to be commit fb2fd8da10b281b2064d4cae5d5a0630e8a207da)
2007-10-10r9816: Work on testsuite for upgradeJelmer Vernooij2-23/+39
Add 'paths' object to provision code. (This used to be commit 488d737fb0ebbc2535d0ec17c14f0dc1eaf2a578)
2007-10-10r9805: Add 'data' property to param EJS objectJelmer Vernooij1-19/+49
Write out new smb.conf file. Parameters that have disappeared between Samba 3 and 4 will optionally be prefixed with 'samba3:' (This used to be commit 27eefbd9059fe0a3daca15a71da7b4cb88ed22ec)
2007-10-10r9800: Add EJS interface to param. tridge, sorry this overlaps a bitJelmer Vernooij1-3/+3
with your loadparm interface. :-/ (This used to be commit bb0cef581a09a86113f3212c776c011ae73def14)
2007-10-10r9793: Be more verbose, check for errors in upgrade script.Jelmer Vernooij1-9/+23
(This used to be commit b7c09df9e506f8048f69c4bdd1c3351e3b554e18)
2007-10-10r9770: Couple other bugfixesJelmer Vernooij2-8/+9
Update TODO-list (This used to be commit d9541535e3f9e1c058410eeb0a54d60181572f2b)
2007-10-10r9762: Add support for reading good old smbpasswd filesJelmer Vernooij1-23/+36
Fix password support Make base64 decode/encode functions available to EJS (This used to be commit 1376a1fe44cd6b01709819095a711c14626b1d3e)
2007-10-10r9756: One-way upgrade from Samba3->Samba4 basically works nowJelmer Vernooij2-13/+8
Still need to polish some rough edges (This used to be commit a8f309aa812533f57a90410722dfb342c8cf3b48)
2007-10-10r9754: Upgrading with the command line utility now works, at least partially (-:Jelmer Vernooij1-8/+95
Upgrading using SWAT should work as well now. (This used to be commit 8baa2ac377315ae8b365f58c2bda0bf3d0c5aec3)
2007-10-10r9746: Add "staff" as possible alternative to wheelJelmer Vernooij1-1/+1
(should fix standard provisioning on AIX) (This used to be commit b1d9ef899821376d7883fa126a14c06ed1b16601)
2007-10-10r9744: - [upgrade.js] Start working on smb.conf conversion.Jelmer Vernooij1-36/+123
- [ldb_map] Support storing non-mappable data in a fallback LDB (This used to be commit 435e4c6389b9d9b545beec8036289620ee5883db)
2007-10-10r9735: More work on generating a valid Samba4 configuration using theJelmer Vernooij1-2/+269
Samba3 data (both console and SWAT) (This used to be commit d569465dc4def55c27878028f2fc762960f453d8)
2007-10-10r9722: Initial attempt at converting samba3dump to EJS..Jelmer Vernooij1-1/+6
(This used to be commit 7e3b94dfb9c421793dab7813b96ca63da4b33960)
2007-10-10r9718: Work a bit on the SWAT interfaceJelmer Vernooij1-0/+8
(This used to be commit b1844905d2c1ca26aef0ccba799ff16383348fc1)
2007-10-10r9707: r11080@blu: tridge | 2005-08-28 12:41:12 +1000Andrew Tridgell1-1/+26
make sure we leave the account enabled after creating a new user (This used to be commit a22d0d02eed8b960f5fde4211b0d2967c500f4a4)
2007-10-10r9568: updated the winreg js library for CreateKey, and add a --createkeyAndrew Tridgell1-6/+41
option to the winreg tool (This used to be commit 881452c7b7cc00222328f743c2c0c4ece39f4c96)
2007-10-10r9497: - converted the winreg library to a more OO style of interfaceAndrew Tridgell1-30/+63
- added a reg.typestring() method that returns a string representation of a type (This used to be commit 47cf409cdf501fc3e2b0c65688a9ef1d702278a5)
2007-10-10r9465: handle encoding and decoding of pointers, representing them as aAndrew Tridgell1-0/+2
string containing "(POINTER)" (This used to be commit 6f69eeb8f258063f1ac911ab38e667e7743ccba3)
2007-10-10r9355: return the EnumKey and EnumValue list we have so far when we get a ↵Andrew Tridgell1-4/+4
rpc fault (This used to be commit 3a9c63923fbb21dfb8e5fc549dde8fad8cb8f354)
2007-10-10r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValueAndrew Tridgell1-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. (This used to be commit 8354b016122cc4f3cff042b3ada1de07e1614eb7)
2007-10-10r9227: cleanup and simplify the AJAJ codeAndrew Tridgell1-6/+7
(This used to be commit ceb7669e5991e9dda759d60a09a0a65e6caba991)
2007-10-10r9218: make the winreg library code handle arbitrary paths more efficientlyAndrew Tridgell1-16/+38
and more conveniently (caller doesn't need to know the hive names now) (This used to be commit dadd7e22fb439f7b18c429a95c75902e4741ba8d)
2007-10-10r9178: remove the old server printf codeAndrew Tridgell1-13/+0
(This used to be commit 0b96b3bfe370f5f4e44cc1a2a249f766a04c5b07)
2007-10-10r9174: ejs does not include the special variable 'length' in for loops over ↵Andrew Tridgell1-18/+32
objects, so we need to check for it separately in the object lineariser (This used to be commit ea3c3d0a0f79c49c2e93da4956cc509614f92f37)
2007-10-10r9159: abstract the winreg js functions into a nice library interfaceAndrew Tridgell1-0/+115
(This used to be commit 5e398700627fb2c16bf39b9c851f640f5412c7d4)
2007-10-10r9131: started adding the server side code for "AJAJ" (asynchronous ↵Andrew Tridgell2-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. (This used to be commit 5f9e00fb7f36f3351f40da93acfe47c911f6f65f)
2007-10-10r8822: fixed number of arguments in samr libAndrew Tridgell1-2/+2
(This used to be commit 8eee26bb85472aa45bd42fd28f968a38730e286c)
2007-10-10r8821: continue the trend to move to a more OO style of interface for our jsAndrew Tridgell2-31/+25
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); (This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
2007-10-10r8790: Finish the migration of aliases and privilages with SamSync, by addingAndrew Bartlett1-12/+7
templating support for foreignSecurityPrincipals to the samdb module. This is an extension beyond what microsoft does, and has been very useful :-) The setup scripts have been modified to use the new template, as has the SAMR and LSA code. Other cleanups in LSA remove the assumption that the short domain name is the first component of the realm. Also add a lot of useful debug messages, to make it clear how/why the SamSync may have gone wrong. Many of these should perhaps be hooked into an error string. Andrew Bartlett (This used to be commit 1f071b0609c5c83024db1d4a7d04334a932b8253)
2007-10-10r8677: The first part of the domain name may not be equal to the netbios ↵Andrew Bartlett1-0/+3
domain name. Remove the use of flatname from the main domain object, we no longer reference it. Andrew Bartlett (This used to be commit 2303e24be74570187b23c3d31d0433263c83ba7e)
2007-10-10r8660: Use templates for the initial provision of user and computer accounts.Andrew Bartlett1-0/+2
This ensures the templating code is used, and also makes it clearer what I need to duplicate in the vampire area. Also fix a silly bug in the template application code (the samdb module) that caused templates to be compleatly unused (my fault, from my commit last night). Andrew Bartlett (This used to be commit 4a8ef7197ff938942832034453f843cb8a50f2d1)
2007-10-10r8650: Use the timestamps and a new objectguid module rather than placingAndrew Bartlett1-5/+14
boilerplate attributes in every entry in provision.ldif. The next step will be to use templates. Andrew Bartlett (This used to be commit 940ed9827f5ab83b668a60a2b0110567dd54c3e2)
2007-10-10r8648: automatically redirect to provisioning if not yet provisioned when theAndrew Tridgell1-0/+21
home page in swat is accessed (This used to be commit 78fb559c08d55c01f5ede81d43cdd857cce8d338)
2007-10-10r8643: - make lp_configfile() work againAndrew Tridgell1-2/+19
- get rid of redundeny dyn_CONFIGFILE argument to lp_load() - fixed provisioning to work with completely pristine install, creating an initial smb.conf is none is present - added lp.set() and lp.reload() to loadparm ejs object interface (This used to be commit c2691ef7126ddcee5f95970b78759b40a049d0a7)
2007-10-10r8640: continue the trend by moving the ejs random calls into an objectAndrew Tridgell1-0/+2
(This used to be commit ed4fb68ef7c28e415408e923bd9eefcd2d60f355)
2007-10-10r8639: moved loadparm calls into an ejs objectAndrew Tridgell3-8/+14
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
2007-10-10r8638: continue the trend of maknig our C functions true ejs objects by ↵Andrew Tridgell1-0/+3
making the string functions into an object. To keep existing code working I have added: string_init(global); into base.js. That brings the functions into the global scope for our existing scripts (This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
2007-10-10r8629: - moved the getDomainList() call out of smbcalls_auth.c and into ↵Andrew Tridgell1-0/+17
libjs/auth.js - tried to make the ejs_userAuth() call work for the sam, not just for unix auth. I didn't get this working. Andrew, when you get a chance can you see what I'm doing wrong? I suspect its because we aren't supplying a challenge, but a challenge doesn't really make sense in a 'is this username/password' correct call. (This used to be commit 9e07c08a71908e99c2f44efc40a3249facd6850f)
2007-10-10r8603: we have to use the same db name as the rest of smbd uses so the ldb ↵Andrew Tridgell1-1/+1
connect works when already open (This used to be commit 1183f54c8dee28c136b4dc72bc059a6175fe09e4)
2007-10-10r8590: added server status utility functions for checking on the status of a ↵Andrew Tridgell2-0/+80
task via irpc - for stream tasks, returns the number of connections - for non-stream tasks, returns "RUNNING" For both, return "DISABLED" or "NOT RESPONDING" appropriately (This used to be commit 78d6303814382f7835212f5045f12180e396b540)
2007-10-10r8584: added --nbt option to smbstatus for nbt server statisticsAndrew Tridgell1-0/+21
(This used to be commit 26a676a4e3596d34aee391bf132f2525972c81df)
2007-10-10r8577: added management calls to list current tree connectsAndrew Tridgell1-1/+40
(This used to be commit 658befc1e4df44bee1f365a730951001f0f36640)
2007-10-10r8575: the beginnings of a smbstatus commandAndrew Tridgell1-0/+33
(This used to be commit 4ecaf72a31cde2722315a61cbe823d44f0c14586)
2007-10-10r8570: delete all records in the old db when provisioning, rather than usingAndrew Tridgell1-2/+26
sys.unlink(). This allows smbd to see the new db without restarting. (This used to be commit 71004aa165e88f5f448dc7d90ad11dea7143f0df)
2007-10-10r8561: as with the other ejs subsystems, make nss into a objectAndrew Tridgell1-5/+7
(This used to be commit a3f3292e6698ce9be6a5036f47dd4fa81a1dfd4e)
2007-10-10r8558: move newuser logic into the provision.js libAndrew Tridgell1-0/+84
(This used to be commit b6ef32ddd1fdca0d40a12f34fa5f7a484b3c2071)
2007-10-10r8488: after discussions with simo, moved to a full OO interface, so you ↵Andrew Tridgell1-3/+3
don't need to keep a 'db' variable around. The ldb object knows what it is connected to. Added a simple ldb testsuite in testprogs/ldb.js (This used to be commit cf35818648b5b649d0cd25f115a04b7b5b5311aa)
2007-10-10r8486: switched to a separate connection operation in ldb interfaceAndrew Tridgell1-2/+5
(a suggestion from simo) (This used to be commit 98c9c4ecb87e1b140002390067892806464849da)
2007-10-10r8484: switched the sys_*() calls to the OO interfaceAndrew Tridgell1-10/+12
tim, do you want to do the cli_*() calls now? (This used to be commit 9991e924e9dacec663a5d040ccfc878927fc3afa)
2007-10-10r8483: switched our generated ejs rpc code over to the new OO interface. ThisAndrew Tridgell1-14/+15
means we don't pollute the name space, and also makes for faster startup times as we only create variables for the pipes that we use, not all pipes (This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)