s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
[nivanova/samba-autobuild/.git] / source4 / auth / gensec / pygensec.c
index 3ae80ddaf32c09913c1306308c28d6579ecd7504..fc76fad1be1becbb207e9b3c47d5837b40ede7be 100644 (file)
@@ -69,7 +69,7 @@ static struct gensec_settings *settings_from_object(TALLOC_CTX *mem_ctx, PyObjec
        }
        
        s->target_hostname = PyString_AsString(py_hostname);
-       s->lp_ctx = lp_from_py_object(s, py_lp_ctx);
+       s->lp_ctx = lpcfg_from_py_object(s, py_lp_ctx);
        return s;
 }