summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25113: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit d0ada02532d10e8b31c390ee191b94c2f2299cb0)
2007-10-10r25051: Move SWAT back to the old-style form-submit modal.Andrew Bartlett1-46/+0
The Web 2.0, async client tools were really interesting, but without developer backing they remain impossible to support into a release. The most interesting app was the LDB browser, and I intend to replace this with phpLdapAdmin, preconfigured for Apache during provision. This also removes the need to 'compile' SWAT on SVN checkouts. Andrew Bartlett (This used to be commit cda965e908055d45b1c05bc29cc791f7238d2fae)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij2-8/+9
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij9-23/+23
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij5-1/+5
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2-8/+9
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij1-1/+1
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-3/+3
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r24703: Use standard registry diff files when provisioning rather thanJelmer Vernooij2-0/+97
LDIF files for the registry files. (This used to be commit 67ad556b7388e5d82756e0a3cfc596e44136329c)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-2/+0
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.cStefan Metzmacher1-2/+2
and rename the containing functions to have a ndr_ prefix metze (This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-1/+1
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher2-4/+4
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r24535: rename struct dcerpc_interface_call -> struct ndr_interface_callStefan Metzmacher1-2/+2
and move it to librpc/ndr/libndr.h metze (This used to be commit abd5551aabae1820baaa52a963e8c7aa9605914e)
2007-10-10r24012: Remove duplicate code block (from bad merge).Andrew Bartlett1-17/+0
Andrew Bartlett (This used to be commit 68bdbd732fc02ce5a8ef8eb0107459ff3b7eb723)
2007-10-10r23966: It isn't great, but at least now we have some access control in SWATAndrew Bartlett1-0/+45
This patch prevents non-root and non-administrator users from running the provision, upgrade and vampire pages. *I think* the rest of SWAT is LDB operations, or otherwise authenticated, so we should now be secure. I wish I had a better way to 'prove' we got this right, but this is better than nothing, and moves us closer to an alpha. Andrew Bartlett (This used to be commit d61061052dc4711f886199e49bc303002c8f9b11)
2007-10-10r23859: Work to have Group Policy work 'out of the box' in Samba4.Andrew Bartlett1-10/+31
This involves creating the SYSVOL and NETLOGON shares at provision time, and creating the right subdirectories. This also changes the behaviour of lp.get("foo") in ejs - we now return undefined, rather than syntax error, if the parameter doesn't exist (perhaps because the share isn't defined). Andrew Bartlett (This used to be commit 45cadf3bc0d38f6600666511a392e1ce353adee7)
2007-10-10r23848: Thanks to derrell for pointing out that I had not finished my patch toAndrew Bartlett1-2/+6
split out the auth methods. This caused all SWAT logins to fail, except when using local system authentication. Andrew Bartlett (This used to be commit b5a9d507a37cd46bd325ff3118c08b4362f267f2)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell26-78/+52
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23680: Make it easier to setup a domain member server - the 'server role'Andrew Bartlett1-1/+1
will now control the auth methods, but an override is still available, ex: auth methods:domain controller = <methods> Andrew Bartlett (This used to be commit b7e727186ed8eda6a68c873e089f655dc24fe8ae)
2007-10-10r23177: Add in a new provision-backend script. This helps set up the ↵Andrew Bartlett1-0/+28
OpenLDAP or Fedora DS backend. This required a new mkdir() call in ejs. We can now provision just the schema for ad2oLschema to operate on (with provision_schema(), without performing the whole provision, just to wipe it again (adjustments to 'make test' to come soon). Andrew Bartlett (This used to be commit 01d54d13dc66ef2127ac52c64ede53d0790738ec)
2007-10-10r23126: this was sitting on my laptop for a while...Rafal Szczesniak2-18/+14
change the way the ejs object is being created and return listing context (with status) rather than collecting all entries gathered from libnet call. rafal (This used to be commit b16787a56120498c985f2617f43250df725c285a)
2007-10-10r23125: add host manager subcontext function.Rafal Szczesniak1-0/+2
rafal (This used to be commit 2f16ff04d22e13cfb2dc5d8b69004d969a4c25fb)
2007-10-10r23124: add host subcontext providing (at the moment) list of domainsRafal Szczesniak3-1/+203
hosted on the server. rafal (This used to be commit 385a094443e29990a2895693f2b6435e3d32c0f3)
2007-10-10r23065: revert local includes to prevent security problems (at leastRafal Szczesniak1-17/+0
temporarily...) rafal (This used to be commit 0ecb8fd81ebbd7327aa5c6b9347aa4dcb1ba6421)
2007-10-10r23047: Allow local inclusion of js files as well as from predefinedRafal Szczesniak1-4/+22
path(s). rafal (This used to be commit 278d26576a625d0fa161f492b902074ea82ef1a8)
2007-10-10r23011: initialisation functions must return NTSTATUS, otherwise we get busAndrew Tridgell1-1/+2
errors on platforms like sparc. This is why sun1 died during provision. (This used to be commit ad6a672ec3cf077d419458e2f07ebe6d9a2b94b2)
2007-10-10r22993: - make it possible to load a dsdb_schema from ldif via the ejs bindingsStefan Metzmacher2-0/+126
- make it possible to set ntds_objectGUID and ntds_invocationId via the ejy bindings metze (This used to be commit df7863ea1c964ec58feedd0bf72ef64456e3a3d1)
2007-10-10r22748: fix memleaks by passing an mem_ctx toStefan Metzmacher1-1/+1
irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
2007-10-10r22622: make it possible to pass the config file via 'SMB_CONF_PATH' envvarStefan Metzmacher1-0/+4
very usefull for make testenv! this makes it also possible to pass a config file to smbscript metze (This used to be commit f65fcd764b656ba9953d88dc7b002e4977af5011)
2007-10-10r22406: this dependencies should also be privateStefan Metzmacher1-3/+3
metze (This used to be commit 7f07895cac3e933b39f81bf67812834352184af0)
2007-10-10r22323: - add credentials property to NetContext objectRafal Szczesniak2-7/+25
- change a comment (matches the idea better) rafal (This used to be commit 4e8d9d3f6066d86af0e6dbe1f7091ce848dceb4f)
2007-10-10r21496: A number of ldb control and LDAP changes, surrounding theAndrew Bartlett1-3/+45
'phantom_root' flag in the search_options control - Add in support for LDB controls to the js layer - Test the behaviour - Implement support for the 'phantom_root' flag in the partitions module - Make the LDAP server set the 'phantom_root' flag in the search_options control - This replaces the global_catalog flag passed down as an opaque pointer - Rework the string-format control parsing function into ldb_parse_control_strings(), returning errors by ldb_errorstring() method, rather than with printf to stderr - Rework some of the ldb_control handling logic Andrew Bartlett (This used to be commit 2b3df7f38d7790358dbb4de1b8609bf794a351fb)
2007-10-10r21419: Give some more clue about what's going onSimo Sorce1-2/+2
(This used to be commit 76b377d5ad5c115e5fbb24a10d543883f04283a6)
2007-10-10r21351: Change ldb ejs bindings return codes.Simo Sorce3-14/+28
We were returning just true/false and discarding error number and string. This checking probably breaks swat, will fix it in next round as swat is what made me look into this as I had no way to get back error messages to show to the users. Simo. (This used to be commit 35886b4ae68be475b0fc8b2689ca04d766661261)
2007-10-10r21135: Instead of having hooks to update keytabs as an explicit thing, updateAndrew Bartlett1-12/+0
them as a hook on ldb modify, via a module. This should allow the secrets.ldb to be edited by the admin, and to have things update in the on-disk keytab just as an in-memory keytab would. This isn't really a dsdb plugin, but I don't have any other good ideas about where to put it. Andrew Bartlett (This used to be commit 6ce557a1aff4754d2622be8f1c6695d9ee788d54)
2007-10-10r20910: fix crash bugStefan Metzmacher1-1/+1
metze (This used to be commit e668d3bd6955f0bd4e37560925c4107fd870c02f)
2007-10-10r20908: - fix uninitialized usage of 'ctx'Stefan Metzmacher1-16/+14
- remove unused mem_ctx variable - copy the userman_domain string as child of obj metze (This used to be commit 575938753bb2f3b8593f240234cff71995a28df8)
2007-10-10r20885: - I forgot the page size passed to enumeration function is actuallyRafal Szczesniak2-4/+10
size of a buffer for result returned, not number of entries - pass libnet function returned status to UserListCtx creation to properly mark the last chunk of the list rafal (This used to be commit 05d307546f93794a0a981c3aa942669b9b18afd1)
2007-10-10r20882: Formatting.Rafal Szczesniak1-0/+1
rafal (This used to be commit fd0650283b750aec7952b025db54ab46020a547d)
2007-10-10r20881: Sorting out NetUsrCtx methods. Still a couple of things left.Rafal Szczesniak1-42/+133
rafal (This used to be commit eebd00ba2bfdfe3bbbcc0a50b91e2e2b03371df6)
2007-10-10r20813: fix the build with autodependenciesStefan Metzmacher1-1/+1
metze (This used to be commit ad110d22fba621e7d15b457fb1ff5aa29b3fd3b0)
2007-10-10r20792: fix the build, sorry...Stefan Metzmacher4-7/+6
metze (This used to be commit e2cdd882b5ab12396244a13e0e58d8ee52f234ab)
2007-10-10r20791: the ejsnet stuff can be a normal smbcalls module...Stefan Metzmacher4-11/+6
mimir: when you want to register more functions please do that in the smb_setup_ejs_net() function metze (This used to be commit 5828632931376c3982bf0b6d110d217a8e05d60e)
2007-10-10r20786: Fix the build.Jelmer Vernooij1-0/+1
(This used to be commit 42bb335bd50a5070ee59c9d9748db8a9e9d6a9b0)
2007-10-10r20783: Ejsnet files are now moved into a separate directory. I need to commitRafal Szczesniak4-449/+15
this as the change is getting bigger and bigger. Jelmer, Metze, I don't know enough of our build system so please check if .mk files are ok. rafal (This used to be commit 77ede0656c0b17a84ee8550776ab158007f0e71f)
2007-10-10r20782: Place ejsnet files in a separate directory.Rafal Szczesniak3-0/+651
rafal (This used to be commit 10968c3f4b0bb63a9902adcbd44d30ad7bfd4afe)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-4/+5
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r20444: WEB Application framework / SWAT.Derrell Lipman1-1/+1
We're now at the stage where the web application framework should build and install automatically. Derrell (This used to be commit 0201baef46c1701007e0a4cdd95edee287939318)
2007-10-10r20364: SWAT updates, part 1Derrell Lipman1-0/+18
These next few check-ins will add a working Statistics module to SWAT, and add an API Documentation module as well. Next step will be to modify the LDB browser to work with this new module and fsm structure. Derrell (This used to be commit 29db71587f1332a9c44d5993a2be389f3a392ce4)