r12892: Add a 'Migrate from Windows' page to our installation section in SWAT.
authorAndrew Bartlett <abartlet@samba.org>
Fri, 13 Jan 2006 03:39:49 +0000 (03:39 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:50:59 +0000 (13:50 -0500)
commita5e7c17c348c45e61699cc1626a0d5eae2df4636
tree201e2267c1c548fdd06dd6e799338d217dc7655f
parent7b169aad3f94f1695b1f99cc91ff928cb2ca0389
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
12 files changed:
source/libnet/libnet_user.c
source/libnet/libnet_user.h
source/script/tests/test_ejs.sh
source/script/tests/tests_all.sh
source/scripting/ejs/ejsnet.c
source/scripting/ejs/ejsnet.h
source/scripting/ejs/smbcalls_creds.c
source/scripting/libjs/provision.js
source/utils/net/net_user.c
swat/install/vampire.esp [new file with mode: 0644]
swat/menu.js
testprogs/ejs/ejsnet.js