summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r10252: a recent checkin from simo changed the handling of BASE and SUBTREEAndrew Tridgell1-0/+1
searches in ldb to be more ldap compliant, but broke the wins server and the ejs ldb code. This fixes those up so 'make test' passes again. (This used to be commit dff660c23c97114d0c1be705f4d6a9c114b60456)
2007-10-10r10193: r11632@blu: tridge | 2005-08-30 23:08:27 +1000Andrew Tridgell1-0/+22
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. (This used to be commit 173655aec25c462b8b90b850df65ae6f95f44efb)
2007-10-10r10192: r11631@blu: tridge | 2005-08-30 23:06:37 +1000Andrew Tridgell1-0/+26
added a ldb.close() method in js. Useful for re-opening the db (This used to be commit 1f12364a0f23ba39fd3d29b510fdef2423685f0d)
2007-10-10r10190: Do some very basic input checking when provisioning.Jelmer Vernooij1-0/+26
(This used to be commit 87f25fe49caa78422582337c5208a331ef5b8c15)
2007-10-10r9990: Fix some 64-bit size_t warnings.Tim Potter1-3/+3
(This used to be commit dd148451d7d554dc0b102023e6a22439fd3b4b81)
2007-10-10r9951: Add another value to the default HKLM.Jelmer Vernooij1-4/+15
Convert Samba3 policy "refuse machine pw change" to registry value. (This used to be commit a143234ac7622ef3ef87c80224927551a1452e4b)
2007-10-10r9925: Fix swapped nt/lm password hashes - caught by Andrew BartlettJelmer Vernooij1-1/+1
(This used to be commit 4f0ee80f6cc1639f612a50ddb8d99ee36d8ce8d6)
2007-10-10r9915: Some more mappings. Fix weird sAMAccountName values.Jelmer Vernooij1-4/+10
(This used to be commit 8ff1358f401e0086b941f4ff73af5d4c38a1f8bf)
2007-10-10r9899: Be more conservative about what is sent to the remote server in ldb_map.Jelmer Vernooij1-5/+6
(This used to be commit 76e943d4416e38ce4cce27d5403bc3e133d0025b)
2007-10-10r9854: Finish ldb_map testsuiteJelmer Vernooij1-18/+79
Update PLAN Some more small other fixes (This used to be commit de2bde2526ffaf521253e3b9e58fc11417986321)
2007-10-10r9842: More error checks in the ldb_map modules, extend testsuiteJelmer Vernooij2-32/+35
(This used to be commit b7992de4b7d42a55e00509c887a269a07c19627d)
2007-10-10r9834: More tests for the upgrade from Samba3Jelmer Vernooij2-9/+63
(This used to be commit d2db164d6f674cada470e871c558c75f98244141)
2007-10-10r9830: Fix support for importing registry values. Extended the examplre ↵Jelmer Vernooij1-5/+3
registry tdb. (This used to be commit 11e2a1938966f3aa9e9c25433181c20843951a6b)
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-10r9826: Add some more OOM checksJelmer Vernooij1-2/+2
(This used to be commit 213bcb7e16290da0c26492ced65509a63942d4ce)
2007-10-10r9825: Correctly handle length argument to substr()Jelmer Vernooij1-3/+2
(This used to be commit edf380cb5fa2c168fc05dd54580f024239ef835f)
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-10r9813: Conver testsuite for samba3sam module to EJSJelmer Vernooij1-3/+3
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)
2007-10-10r9805: Add 'data' property to param EJS objectJelmer Vernooij2-23/+107
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 Vernooij5-4/+216
with your loadparm interface. :-/ (This used to be commit bb0cef581a09a86113f3212c776c011ae73def14)
2007-10-10r9798: Add generic functions for handling smb.conf files (the parameters ↵Jelmer Vernooij1-40/+3
don't to be pre-declared). Also doesn't use any globals, so multiple files can be loaded at once. Currently uses the prefix "param" for all functions and structures; suggestions for better ones are welcome... Remove old smb.conf-parsing code from libsamba3. (This used to be commit 414e5f7f6dc38a8fde3b61d524a664f56f9ea592)
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 Vernooij4-13/+28
Update TODO-list (This used to be commit d9541535e3f9e1c058410eeb0a54d60181572f2b)
2007-10-10r9762: Add support for reading good old smbpasswd filesJelmer Vernooij3-25/+99
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 Vernooij3-13/+65
Still need to polish some rough edges (This used to be commit a8f309aa812533f57a90410722dfb342c8cf3b48)
2007-10-10r9755: Fix crash bug in SWAT loginJelmer Vernooij1-1/+4
(This used to be commit 6e3e964fb4529260c2fcb09b41eda1a100e690eb)
2007-10-10r9754: Upgrading with the command line utility now works, at least partially (-:Jelmer Vernooij2-9/+98
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 Vernooij3-40/+355
Samba3 data (both console and SWAT) (This used to be commit d569465dc4def55c27878028f2fc762960f453d8)
2007-10-10r9728: A *major* update to the credentials system, to incorporate theAndrew Bartlett2-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 (This used to be commit 6202267f6ec1446d6bd11d1d37d05a977bc8d315)
2007-10-10r9725: Fix full output mode of samba3dump as well. Thanks to tridge forJelmer Vernooij2-20/+40
a bit for explanation about js. (This used to be commit 765a30a0493cbd150f53335c6648e8e56ef6dc23)
2007-10-10r9724: Rewrite samba3dump in JS. The summary works now, but the full outputJelmer Vernooij3-234/+411
is triggering some obscure EJS assert.. (This used to be commit 42605f4444998e3063ffd1bea17425ff825f6132)
2007-10-10r9722: Initial attempt at converting samba3dump to EJS..Jelmer Vernooij6-2/+489
(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-10r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000Andrew Tridgell1-4/+0
a NULL expression is valid in a ldb search (This used to be commit a8748cab865c765f844336087a386c01e60add62)
2007-10-10r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000Andrew Tridgell2-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 (This used to be commit b3d491b210a8b889a25efcb273e70fefbd01b7f7)
2007-10-10r9700: Change DATA_BLOB in ejs back to struct datablobJelmer Vernooij1-3/+3
Support writing idmap mappings to winbind.ldif (This used to be commit 3709def35303f1afed0f344628fe2c89250ee087)
2007-10-10r9698: Fix a bit of memory managementJelmer Vernooij1-1/+1
More minor bugfixes Support mapping objectclasses and do mapping on 'dn' field as well (not just msg->dn) (This used to be commit b7b079167d5c6616f7c5c4afb7dd80c15707cfd9)
2007-10-10r9645: fixed the ejs GetOptions() call to look at the first option passed ↵Andrew Tridgell1-1/+1
(this is what broke --help) (This used to be commit 88a7e9e00f3714f89067ef97dfca46bc0688222e)
2007-10-10r9580: put the libinclude() after the GetOptions so the smb.conf is loaded toAndrew Tridgell1-4/+4
get the libjs path (This used to be commit ee0b693ffaf02e75d3d740c36fffb9ea75e54431)
2007-10-10r9568: updated the winreg js library for CreateKey, and add a --createkeyAndrew Tridgell2-9/+56
option to the winreg tool (This used to be commit 881452c7b7cc00222328f743c2c0c4ece39f4c96)
2007-10-10r9566: fix an uninitialised variableAndrew Tridgell1-1/+1
(This used to be commit 7082440a70c5f85606538b7a35a1cc8f41eb7eeb)
2007-10-10r9504: use some low level ejs hackery to give much better exception error ↵Andrew Tridgell1-2/+6
messages in both the web server and smbscript. We can now give backtraces for all internal asserts, not just high level errors (This used to be commit 84c756b25ccb2bd75360bdb9b7b7643975d1f3b3)
2007-10-10r9500: userAuth() takes a creds object, not a general object now ...Andrew Tridgell1-1/+1
(This used to be commit 57e6eb9c66ba539a593524d8cfd8836a840ac1ba)
2007-10-10r9499: added error checking to the userAuth() call. SWAT is still failing, ↵Andrew Tridgell1-1/+5
but at least it now tells us why (This used to be commit 4afb16d7b24b1d1ed359048a89950924b363e44a)
2007-10-10r9497: - converted the winreg library to a more OO style of interfaceAndrew Tridgell2-35/+83
- added a reg.typestring() method that returns a string representation of a type (This used to be commit 47cf409cdf501fc3e2b0c65688a9ef1d702278a5)
2007-10-10r9496: added a regToVar() function that converts a registry blob variable to ↵Andrew Tridgell1-0/+119
a ejs variable. (This used to be commit 76ffc200794cdae6dcd7d07adb5617f1b09fe435)
2007-10-10r9492: it is more usual to return 'undefined' instead of 'false' on a call ↵Andrew Tridgell1-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? (This used to be commit 516ba6d20bd1bd8d0235028515e94a8c4fd6574d)