1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

27 Commits

Author SHA1 Message Date
Andrew Tridgell
f705108a8a r13102: fixed the vampire code to correctly setup foreign sids and default
unix name mappings
(This used to be commit dc74d8ccf15b9324cd8b90ef9d41cf293b9de8e3)
2007-10-10 13:51:25 -05:00
Andrew Tridgell
0ef2ef7a53 r13075: tell the admin what needs to be done to finish the install
(This used to be commit a6f5ad5289bb635be3b6c490a03dc7a1913baa30)
2007-10-10 13:51:22 -05:00
Andrew Bartlett
ba07f94438 r12945: Try to move closer to getting Samba3 import working again.
There still a few things to work out

Andrew Bartlett
(This used to be commit 701558b5fe917555416eb0d100ef756f8ef7cf65)
2007-10-10 13:51:12 -05:00
Andrew Bartlett
f3db23ac75 r12928: This patch improves the interaction between the vampire and provsion 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-10 13:51:07 -05:00
Andrew Bartlett
58f78fa182 r12892: Add a 'Migrate from Windows' page to our installation section in SWAT.
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)
2007-10-10 13:50:59 -05:00
Andrew Bartlett
a6a007d0c4 r12826: The base DN is very tied to the realm. Allowing it to be changed here
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-10 13:50:02 -05:00
Andrew Bartlett
75ef0ba513 r12823: Fix up the provison and newuser code in SWAT. This also cleans up the
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-10 13:50:02 -05:00
Andrew Bartlett
8f4dc51345 r12739: Add support for using credentials in the provision process.
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-10 13:49:48 -05:00
Jelmer Vernooij
342d229b40 r10190: Do some very basic input checking when provisioning.
(This used to be commit 87f25fe49caa78422582337c5208a331ef5b8c15)
2007-10-10 13:38:06 -05:00
Jelmer Vernooij
52bcf4c5a3 r9831: Check whether the two admin passwords entered were equal.
(This used to be commit d02834f88d6a26f77549ec9db8f2492eacc9b043)
2007-10-10 13:36:16 -05:00
Jelmer Vernooij
f58a74aaba r9816: Work on testsuite for upgrade
Add 'paths' object to provision code.
(This used to be commit 488d737fb0ebbc2535d0ec17c14f0dc1eaf2a578)
2007-10-10 13:35:04 -05:00
Jelmer Vernooij
c9ace93ce2 r9756: One-way upgrade from Samba3->Samba4 basically works now
Still need to polish some rough edges
(This used to be commit a8f309aa812533f57a90410722dfb342c8cf3b48)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
11f3f0fa6c r9754: Upgrading with the command line utility now works, at least partially (-:
Upgrading using SWAT should work as well now.
(This used to be commit 8baa2ac377315ae8b365f58c2bda0bf3d0c5aec3)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
0549763600 r9735: More work on generating a valid Samba4 configuration using the
Samba3 data (both console and SWAT)
(This used to be commit d569465dc4def55c27878028f2fc762960f453d8)
2007-10-10 13:34:55 -05:00
Jelmer Vernooij
d6cd54fb0a r9718: Work a bit on the SWAT interface
(This used to be commit b1844905d2c1ca26aef0ccba799ff16383348fc1)
2007-10-10 13:34:53 -05:00
Andrew Tridgell
0a579e4ae5 r9674: r9678@blu: tridge | 2005-08-27 16:32:30 +1000
- 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-10 13:34:39 -05:00
Deryck Hodge
55024676c7 r9230: Star out passwords and add confim text input for provisioning.
Also, add addMethod() to form elements now.

deryck
(This used to be commit 79f276df47ebc93e1505c7411fb1acd4b004047c)
2007-10-10 13:31:34 -05:00
Rafal Szczesniak
1254a6da23 r8969: Make password field a password field, that is - prevent them from
displaying plain text.

rafal
(This used to be commit b91e6053485ada50f66aa763e0ccff3b71991fa5)
2007-10-10 13:31:01 -05:00
Andrew Bartlett
d14fd78a43 r8844: Actually, both types of provision wipe the DB. But we do need a way
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)
2007-10-10 13:30:10 -05:00
Alexander Bokovoy
7c948bb2a3 r8831: Clarify data wipe-out statement
(This used to be commit 981e17eea449faa591b7a8b0c2baaa02461fbf4f)
2007-10-10 13:30:10 -05:00
Alexander Bokovoy
b1e8d70123 r8830: Fix provision script after data split
(This used to be commit 99d676d732dffbbf428cc0f012da26c47e6bb66d)
2007-10-10 13:30:10 -05:00
Andrew Tridgell
3c2a5aa63c r8724: some boilerplate installation text
(This used to be commit 5b28bdb9c800e8fbf2c7ee62a7c6faf2ec773ef9)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
fdb322876d r8722: make the menu handling considerably saner and easier to follow. The whole
menu hierarchy is now in /menu.js
(This used to be commit c2a450bb9967caa666628f067a8e732227854ce2)
2007-10-10 13:29:59 -05:00
Andrew Tridgell
23924170cc r8720: split form object out to separate include file, and make it a real
object, with a display() method
(This used to be commit c45c4e335ed5da1e2e43ffcb9e8d6c32678faa3c)
2007-10-10 13:29:58 -05:00
Andrew Tridgell
2f5f01567b r8643: - make lp_configfile() work again
- 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-10 13:29:48 -05:00
Andrew Tridgell
d5ac1f9bf4 r8640: continue the trend by moving the ejs random calls into an object
(This used to be commit ed4fb68ef7c28e415408e923bd9eefcd2d60f355)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
325edaa66a r8598: move provisioning to /install/ directory from /esptest/
(This used to be commit 318402ee4e8900e0d8ed1dce1e201f63ac4a908f)
2007-10-10 13:29:43 -05:00