s4-netlogon: merge netr_GetDcName from s3 idl.
[kai/samba.git] / source4 / winbind / wb_cmd_getdcname.c
index 22892439052c3b2f03d009b2bb61d767c1ece8f6..66dcbf9d7bd081e85754e773834b011556e6893a 100644 (file)
@@ -81,7 +81,7 @@ static void getdcname_recv_domain(struct composite_context *ctx)
                state, "\\\\%s",
                dcerpc_server_name(domain->netlogon_pipe));
        state->g.in.domainname = state->domain_name;
-       state->g.out.dcname = talloc(state, const char **);
+       state->g.out.dcname = talloc(state, const char *);
 
        req = dcerpc_netr_GetAnyDCName_send(domain->netlogon_pipe, state,
                                            &state->g);