summaryrefslogtreecommitdiff
path: root/source4/libnet/py_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet/py_net.c')
-rw-r--r--source4/libnet/py_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c
index b019d7c2fc..8ff383036e 100644
--- a/source4/libnet/py_net.c
+++ b/source4/libnet/py_net.c
@@ -479,7 +479,7 @@ static PyObject *py_net_finddc(py_net_Object *self, PyObject *args)
mem_ctx = talloc_new(self->mem_ctx);
ZERO_STRUCT(io);
- io.in.dns_domain_name = domain_name;
+ io.in.domain_name = domain_name;
io.in.minimum_dc_flags = server_type;
status = finddcs_cldap(mem_ctx, &io,