svn commit: samba r12928 - in branches/SAMBA_4_0: source/libnet source/scripting/ejs source/scripting/libjs source/utils/net swat/install

abartlet at samba.org abartlet at samba.org
Sat Jan 14 06:17:25 GMT 2006


Author: abartlet
Date: 2006-01-14 06:17:24 +0000 (Sat, 14 Jan 2006)
New Revision: 12928

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12928

Log:
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

Modified:
   branches/SAMBA_4_0/source/libnet/libnet_samsync_ldb.c
   branches/SAMBA_4_0/source/libnet/libnet_vampire.h
   branches/SAMBA_4_0/source/scripting/ejs/ejsnet.c
   branches/SAMBA_4_0/source/scripting/libjs/provision.js
   branches/SAMBA_4_0/source/utils/net/net_vampire.c
   branches/SAMBA_4_0/swat/install/provision.esp
   branches/SAMBA_4_0/swat/install/vampire.esp


Changeset:
Sorry, the patch is too large (284 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12928


More information about the samba-cvs mailing list