summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/dsgetdcname.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index 43c9699ce7..30d7c94822 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -202,8 +202,10 @@ static NTSTATUS map_logon29_from_cldap_reply(TALLOC_CTX *mem_ctx,
ZERO_STRUCTP(p);
print_sockaddr(addr, sizeof(addr), ss);
- p->dc_sock_addr_size = 0x10;
- p->dc_sock_addr.sa_family = 2;
+
+ /* FIXME */
+ p->dc_sock_addr_size = 0x10; /* the w32 winsock addr size */
+ p->dc_sock_addr.sa_family = 2; /* AF_INET */
p->dc_sock_addr.pdc_ip = talloc_strdup(mem_ctx, addr);
switch (nt_version & 0x0000001f) {