summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-07-22 00:16:39 +0000
committerTim Potter <tpot@samba.org>2003-07-22 00:16:39 +0000
commit63537d0add21301bc069a0cceac21cd36dbc51fd (patch)
treeb583c7d6fb6fc6d75d8c4b314217f6b38e1b0eae /source3
parent71a93a1551ea57282f1e5e67b71c22a6ad55b6c6 (diff)
downloadsamba-63537d0add21301bc069a0cceac21cd36dbc51fd.tar.gz
samba-63537d0add21301bc069a0cceac21cd36dbc51fd.tar.bz2
samba-63537d0add21301bc069a0cceac21cd36dbc51fd.zip
Use lp_idmap_[ug]id() instead of lp_winbind_[ug]id()
(This used to be commit cfb86b4503c13b34583a61ef01ca8e1ed00fb9e4)
Diffstat (limited to 'source3')
-rw-r--r--source3/python/py_winbind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/python/py_winbind.c b/source3/python/py_winbind.c
index db66be2321..ebceb95d71 100644
--- a/source3/python/py_winbind.c
+++ b/source3/python/py_winbind.c
@@ -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));
}