summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-04-05 08:53:23 +0000
committerSimo Sorce <idra@samba.org>2003-04-05 08:53:23 +0000
commit2c1f725820584f279607db48e0003d6e7f67321e (patch)
tree9fbab724f2afabdeff1448cc9d8bfc63141d45e4 /source3/python
parent2a9e71aa9bd171af47e4ed73c932e75160b32d88 (diff)
downloadsamba-2c1f725820584f279607db48e0003d6e7f67321e.tar.gz
samba-2c1f725820584f279607db48e0003d6e7f67321e.tar.bz2
samba-2c1f725820584f279607db48e0003d6e7f67321e.zip
some more idmapping :)
(This used to be commit 5ac94535d7b7ce0cc0d44b9a77d6e42ddfd0cd26)
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_winbind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_winbind.c b/source3/python/py_winbind.c
index db66be2321..0c40861c70 100644
--- a/source3/python/py_winbind.c
+++ b/source3/python/py_winbind.c
@@ -261,12 +261,12 @@ static PyObject *py_config_dict(void)
/* Winbind 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));
}