r15093: Align to the last winbind changes.
authorLars Müller <lmuelle@samba.org>
Sat, 15 Apr 2006 13:45:27 +0000 (13:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:16:22 +0000 (11:16 -0500)
source/python/py_winbind.c

index 2f22649bfbf3a8c5f70ce5059595f3eff4a60e1a..40181f5579d5f6dff573e2bb548edb9d32d429a1 100644 (file)
@@ -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)))