summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2006-04-15 13:45:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:22 -0500
commitafb96206aad938e633da87a2a04b2503ab0496c4 (patch)
tree4ed8388ab75335bd71514123006f0b0729c84984 /source3/python
parent010c725b36feb1a234dce9f40b95ae5869058698 (diff)
downloadsamba-afb96206aad938e633da87a2a04b2503ab0496c4.tar.gz
samba-afb96206aad938e633da87a2a04b2503ab0496c4.tar.bz2
samba-afb96206aad938e633da87a2a04b2503ab0496c4.zip
r15093: Align to the last winbind changes.
(This used to be commit 74fa3a2554b769382b2b3b43adfbc0cfbca3cd10)
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_winbind.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/python/py_winbind.c b/source3/python/py_winbind.c
index 2f22649bfb..40181f5579 100644
--- a/source3/python/py_winbind.c
+++ b/source3/python/py_winbind.c
@@ -134,8 +134,8 @@ static PyObject *py_enum_domain_users(PyObject *self, PyObject *args)
result = PyList_New(0);
- if (response.extra_data) {
- const char *extra_data = response.extra_data;
+ if (response.extra_data.data) {
+ const char *extra_data = response.extra_data.data;
fstring name;
while (next_token(&extra_data, name, ",", sizeof(fstring)))
@@ -165,8 +165,8 @@ static PyObject *py_enum_domain_groups(PyObject *self, PyObject *args)
result = PyList_New(0);
- if (response.extra_data) {
- const char *extra_data = response.extra_data;
+ if (response.extra_data.data) {
+ const char *extra_data = response.extra_data.data;
fstring name;
while (next_token(&extra_data, name, ",", sizeof(fstring)))
@@ -200,8 +200,8 @@ static PyObject *py_enum_trust_dom(PyObject *self, PyObject *args)
result = PyList_New(0);
- if (response.extra_data) {
- const char *extra_data = response.extra_data;
+ if (response.extra_data.data) {
+ const char *extra_data = response.extra_data.data;
fstring name;
while (next_token(&extra_data, name, ",", sizeof(fstring)))