diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-02 18:05:03 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-02 11:35:19 +0200 |
commit | b041d29c116a5d93b70a2cea5f808e81b9e12556 (patch) | |
tree | bbf97d07a9e44967d6d59c2ed755708e9f829a72 | |
parent | e9562530d91ba66f9e60886ce0125eb146a15ce5 (diff) | |
download | samba-b041d29c116a5d93b70a2cea5f808e81b9e12556.tar.gz samba-b041d29c116a5d93b70a2cea5f808e81b9e12556.tar.bz2 samba-b041d29c116a5d93b70a2cea5f808e81b9e12556.zip |
s3-pypassdb: Fix wrapper for pdb_domain_info to return correct dns_{domain,forest}
-rw-r--r-- | source3/passdb/py_passdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/py_passdb.c b/source3/passdb/py_passdb.c index 7043ce6cab..bd332e17d1 100644 --- a/source3/passdb/py_passdb.c +++ b/source3/passdb/py_passdb.c @@ -1368,8 +1368,8 @@ static PyObject *py_pdb_domain_info(pytalloc_Object *self, PyObject *args) } PyDict_SetItemString(py_domain_info, "name", PyString_FromString(domain_info->name)); - PyDict_SetItemString(py_domain_info, "dns_domain", PyString_FromString(domain_info->name)); - PyDict_SetItemString(py_domain_info, "dns_forest", PyString_FromString(domain_info->name)); + PyDict_SetItemString(py_domain_info, "dns_domain", PyString_FromString(domain_info->dns_domain)); + PyDict_SetItemString(py_domain_info, "dns_forest", PyString_FromString(domain_info->dns_forest)); PyDict_SetItemString(py_domain_info, "dom_sid", pytalloc_steal(dom_sid_Type, sid)); PyDict_SetItemString(py_domain_info, "guid", pytalloc_steal(guid_Type, guid)); |