1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

16 Commits

Author SHA1 Message Date
Andrew Bartlett
f8573766bc r24985: Start to revert us back to the old-style SWAT, while trying not to
loose some of the fixes in the meantime.

Andrew Bartlett
(This used to be commit 13acff5ed2)
2007-10-10 15:05:21 -05:00
Derrell Lipman
d1e09e2e6f r20446: rename swat directory to swat.obsolete; keeping it around since there is lots of useful info in it.
(This used to be commit 5f9f72a9cf)
2007-10-10 14:35:23 -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 a38ceefd11)
2007-10-10 13:51:07 -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 fd176997b6)
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 002cdcf3ca)
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 b349d2fbfe)
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 87f25fe49c)
2007-10-10 13:38:06 -05:00
Jelmer Vernooij
f58a74aaba r9816: Work on testsuite for upgrade
Add 'paths' object to provision code.
(This used to be commit 488d737fb0)
2007-10-10 13:35:04 -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 2673bebf13)
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 79f276df47)
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 b91e605348)
2007-10-10 13:31:01 -05:00
Alexander Bokovoy
b1e8d70123 r8830: Fix provision script after data split
(This used to be commit 99d676d732)
2007-10-10 13:30:10 -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 c2a450bb99)
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 c45c4e335e)
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 c2691ef712)
2007-10-10 13:29:48 -05:00
Andrew Tridgell
325edaa66a r8598: move provisioning to /install/ directory from /esptest/
(This used to be commit 318402ee4e)
2007-10-10 13:29:43 -05:00