summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-09 17:56:04 +0200
committerGünther Deschner <gd@samba.org>2008-05-09 17:56:04 +0200
commit1830d6b1599c93b81fd79b4cdc982f20263e1249 (patch)
tree397301b10703b92144824858ae81a78ac2795714 /source3
parentd59cf703ba5d6ac18e4399d12b043d5e68230403 (diff)
downloadsamba-1830d6b1599c93b81fd79b4cdc982f20263e1249.tar.gz
samba-1830d6b1599c93b81fd79b4cdc982f20263e1249.tar.bz2
samba-1830d6b1599c93b81fd79b4cdc982f20263e1249.zip
dsgetdcname: add reminder that we need to support ipv6 here once we know how.
Guenther (This used to be commit 4b3617bf505a835a6d4bb9b80c4ad837a2082dea)
Diffstat (limited to 'source3')
-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) {