summaryrefslogtreecommitdiff
path: root/source3/python/py_winbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/py_winbind.c')
-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)))