Fix some comments to match get_kdc_ip_string()'s behaviour
authorroot <root@gpfs1.sernet.private>
Mon, 19 May 2008 00:48:09 +0000 (02:48 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 19 May 2008 10:08:52 +0000 (12:08 +0200)
(This used to be commit 30956c784f58870ad552a3869d80f99872c31375)

source3/libads/kerberos.c

index 66f203b12d3d98d75ecf8c68ea7fbcfe778b6b67..2adf6a4700ee0f415c60d9b2831211dfe23b212d 100644 (file)
@@ -731,6 +731,9 @@ static char *print_kdc_line(char *mem_ctx,
 /************************************************************************
  Create a string list of available kdc's, possibly searching by sitename.
  Does DNS queries.
+
+ If "sitename" is given, the DC's in that site are listed first.
+
 ************************************************************************/
 
 static char *get_kdc_ip_string(char *mem_ctx,
@@ -749,7 +752,10 @@ static char *get_kdc_ip_string(char *mem_ctx,
                return NULL;
        }
 
-       /* Get the KDC's only in this site. */
+       /*
+        * First get the KDC's only in this site, the rest will be
+        * appended later
+        */
 
        if (sitename) {