Use lp_idmap_[ug]id() instead of lp_winbind_[ug]id()
authorTim Potter <tpot@samba.org>
Tue, 22 Jul 2003 00:16:39 +0000 (00:16 +0000)
committerTim Potter <tpot@samba.org>
Tue, 22 Jul 2003 00:16:39 +0000 (00:16 +0000)
source/python/py_winbind.c

index db66be2321a0f638519484b41ce0c8002fd90c3d..ebceb95d718f579067cc51b037dfab53143c3c21 100644 (file)
@@ -259,14 +259,14 @@ static PyObject *py_config_dict(void)
        PyDict_SetItemString(result, "template_shell", 
                             PyString_FromString(lp_template_shell()));
 
-       /* Winbind uid/gid range */
+       /* idmap uid/gid range */
 
-       if (lp_winbind_uid(&ulow, &uhi)) {
+       if (lp_idmap_uid(&ulow, &uhi)) {
                PyDict_SetItemString(result, "uid_low", PyInt_FromLong(ulow));
                PyDict_SetItemString(result, "uid_high", PyInt_FromLong(uhi));
        }
 
-       if (lp_winbind_gid(&glow, &ghi)) {
+       if (lp_idmap_gid(&glow, &ghi)) {
                PyDict_SetItemString(result, "gid_low", PyInt_FromLong(glow));
                PyDict_SetItemString(result, "gid_high", PyInt_FromLong(ghi));
        }