Age | Commit message (Collapse) | Author | Files | Lines |
|
There still a few things to work out
Andrew Bartlett
(This used to be commit 701558b5fe917555416eb0d100ef756f8ef7cf65)
|
|
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)
|
|
Doing this required reworking ejsnet, particularly so it could take a
set of credentials, not just a username and password argument.
This required fixing the ejsnet.js test script, which now adds and
deletes a user, and is run from 'make test'. This should prevent it
being broken again.
Deleting a user from ejsnet required that the matching backend be
added to libnet, hooking fortunetly onto already existing code for the
actual deletion.
The js credentials interface now handles the 'set machine account' flag.
New functions have been added to provision.js to wrap the basic
operations (so we can write a command line version, as well as the web
based version).
Andrew Bartlett
(This used to be commit a5e7c17c348c45e61699cc1626a0d5eae2df4636)
|
|
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)
|
|
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)
|
|
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)
|
|
(This used to be commit 87f25fe49caa78422582337c5208a331ef5b8c15)
|
|
(This used to be commit d02834f88d6a26f77549ec9db8f2492eacc9b043)
|
|
Add 'paths' object to provision code.
(This used to be commit 488d737fb0ebbc2535d0ec17c14f0dc1eaf2a578)
|
|
Still need to polish some rough edges
(This used to be commit a8f309aa812533f57a90410722dfb342c8cf3b48)
|
|
Upgrading using SWAT should work as well now.
(This used to be commit 8baa2ac377315ae8b365f58c2bda0bf3d0c5aec3)
|
|
Samba3 data (both console and SWAT)
(This used to be commit d569465dc4def55c27878028f2fc762960f453d8)
|
|
(This used to be commit b1844905d2c1ca26aef0ccba799ff16383348fc1)
|
|
- 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)
|
|
Also, add addMethod() to form elements now.
deryck
(This used to be commit 79f276df47ebc93e1505c7411fb1acd4b004047c)
|
|
displaying plain text.
rafal
(This used to be commit b91e6053485ada50f66aa763e0ccff3b71991fa5)
|
|
to explian the tie between 'Initial Provision' and the next step being
a SamSync or a Samba3 import etc.
Andrew Bartlett
(This used to be commit b37a2de9a89853393bcc9d20cfcffae96df9a90e)
|
|
(This used to be commit 981e17eea449faa591b7a8b0c2baaa02461fbf4f)
|
|
(This used to be commit 99d676d732dffbbf428cc0f012da26c47e6bb66d)
|
|
(This used to be commit 5b28bdb9c800e8fbf2c7ee62a7c6faf2ec773ef9)
|
|
menu hierarchy is now in /menu.js
(This used to be commit c2a450bb9967caa666628f067a8e732227854ce2)
|
|
object, with a display() method
(This used to be commit c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c)
|
|
- 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)
|
|
(This used to be commit ed4fb68ef7c28e415408e923bd9eefcd2d60f355)
|
|
(This used to be commit 318402ee4e8900e0d8ed1dce1e201f63ac4a908f)
|