1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-22 07:33:16 +03:00

r9754: Upgrading with the command line utility now works, at least partially (-:

Upgrading using SWAT should work as well now.
This commit is contained in:
Jelmer Vernooij
2005-08-29 18:52:24 +00:00
committed by Gerald (Jerry) Carter
parent 66df76a634
commit 8baa2ac377
5 changed files with 137 additions and 68 deletions

View File

@@ -210,6 +210,8 @@ static struct MprVar mprSecrets(struct samba3_secrets *sec)
mprSetVar(&mpv, "ldappws", es);
es = mprObject("array");
for (i = 0; i < sec->domain_count; i++) {
mprAddArray(&es, i, mprDomainSecrets(&sec->domains[i]));
}
@@ -448,7 +450,7 @@ static int ejs_samba3_read(MprVarHandle eid, int argc, struct MprVar **argv)
mprAssert(samba3);
mprSetThisPtr(eid, "samba3", samba3);
mprSetPtrChild(&mpv, "samba3", samba3);
mprSetVar(&mpv, "winsentries", mprWinsEntries(samba3));
mprSetVar(&mpv, "samaccounts", mprSamAccounts(samba3));
mprSetVar(&mpv, "shares", mprShares(samba3));