r12823: Fix up the provison and newuser code in SWAT. This also cleans up the
[kai/samba.git] / swat / install / provision.esp
index 38983c96dc6545d020fe3e8091fbf4c4bc9b6431..29fa6530de4df2e77e0bfea9c0568edd140dbf9b 100644 (file)
@@ -61,7 +61,8 @@ if (form['submit'] == "Provision") {
        } else if (!provision_validate(subobj, writefln)) {
                f.display();
        } else {
-               provision(subobj, writefln, false, provision_default_paths(subobj), NULL, NULL);
+               provision(subobj, writefln, false, provision_default_paths(subobj),
+                         session.authinfo.session_info, session.authinfo.credentials);
        }
 } else {
        f.display();