summaryrefslogtreecommitdiff
path: root/swat/install/provision.esp
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12928: This patch improves the interaction between the vampire and provsion ↵Andrew Bartlett1-5/+12
code. Previously, we had to know (or guess) the host and domain guid at the provision stage. Now we query the database post-provision, to extract the values and fill in the zone file. This allows us to generate a correct zone file in the Windows migration case. In an effort to make SWAT easier to use, I have removed and renamed some of the provision options. I have also fixed a nasty issue in my js code. I had implictly declared a global variable of the name 'join', with disasterious results for any subsequent user of the string utility function: esp exception - ASSERT at lib/appweb/ejs/ejsParser.c:2064, 0 Backtrace: [ 0] substitute_var:20 -> list[i] = join("", list2) [ 1] setup_file:9 -> data = substitute_var(data, subobj) Andrew Bartlett (This used to be commit a38ceefd11f8b748f30383ef36a4752f178bfca1)
2007-10-10r12826: The base DN is very tied to the realm. Allowing it to be changed hereAndrew Bartlett1-1/+0
only allows stuffups, but doesn't benifit anyone. (If we were to allow it, we should have it change every time the realm is modified, character by character). The command line provision script doesn't allow this either. Andrew Bartlett (This used to be commit fd176997b691ecf8a1126b0afba3a5cb28818ed1)
2007-10-10r12823: Fix up the provison and newuser code in SWAT. This also cleans up theAndrew Bartlett1-1/+2
main provision script a bit, as the argument list was getting out of control. (It has been replaced in part with an object). This also returns the session_info from the auth code into ejs. We still need access control allowing only root to re-provision. Andrew Bartlett (This used to be commit 002cdcf3cab6563909d31edc5d825e857dc0a732)
2007-10-10r12739: Add support for using credentials in the provision process.Andrew Bartlett1-1/+1
This should allow us to provision to a 'normal' LDAP server. Also add in 'session info' hooks (unused). Both of these need to be hooked in on the webserver. Andrew Bartlett (This used to be commit b349d2fbfefd0e0d4620b9e8e0c4136f900be1ae)
2007-10-10r10190: Do some very basic input checking when provisioning.Jelmer Vernooij1-0/+2
(This used to be commit 87f25fe49caa78422582337c5208a331ef5b8c15)
2007-10-10r9816: Work on testsuite for upgradeJelmer Vernooij1-1/+1
Add 'paths' object to provision code. (This used to be commit 488d737fb0ebbc2535d0ec17c14f0dc1eaf2a578)
2007-10-10r9674: r9678@blu: tridge | 2005-08-27 16:32:30 +1000Andrew Tridgell1-13/+15
- removed the initial provision button. It is just way too confusing. We should have a separate 'migration' page instead, but in the meantime to migrate please use the command line - added a check for a blank password. If blank, then ask them to reenter it (This used to be commit 2673bebf138a9bda79f99dd5caff93dd6db24658)
2007-10-10r9230: Star out passwords and add confim text input for provisioning.Deryck Hodge1-22/+19
Also, add addMethod() to form elements now. deryck (This used to be commit 79f276df47ebc93e1505c7411fb1acd4b004047c)
2007-10-10r8969: Make password field a password field, that is - prevent them fromRafal Szczesniak1-0/+1
displaying plain text. rafal (This used to be commit b91e6053485ada50f66aa763e0ccff3b71991fa5)
2007-10-10r8830: Fix provision script after data splitAlexander Bokovoy1-4/+7
(This used to be commit 99d676d732dffbbf428cc0f012da26c47e6bb66d)
2007-10-10r8722: make the menu handling considerably saner and easier to follow. The wholeAndrew Tridgell1-1/+1
menu hierarchy is now in /menu.js (This used to be commit c2a450bb9967caa666628f067a8e732227854ce2)
2007-10-10r8720: split form object out to separate include file, and make it a realAndrew Tridgell1-1/+2
object, with a display() method (This used to be commit c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c)
2007-10-10r8643: - make lp_configfile() work againAndrew Tridgell1-1/+12
- 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-10r8598: move provisioning to /install/ directory from /esptest/Andrew Tridgell1-0/+55
(This used to be commit 318402ee4e8900e0d8ed1dce1e201f63ac4a908f)