diff options
author | root <root@gpfs1.sernet.private> | 2008-05-19 02:48:09 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-05-19 12:08:52 +0200 |
commit | fc3e6851d3084717d0a1654f6b97f81aabe41e51 (patch) | |
tree | cc108f55acaec9f2726dd0ff9d04f899e8fb0442 | |
parent | 78b84179307f1be7a772d9c22ca714ee454b7581 (diff) | |
download | samba-fc3e6851d3084717d0a1654f6b97f81aabe41e51.tar.gz samba-fc3e6851d3084717d0a1654f6b97f81aabe41e51.tar.bz2 samba-fc3e6851d3084717d0a1654f6b97f81aabe41e51.zip |
Fix some comments to match get_kdc_ip_string()'s behaviour
(This used to be commit 30956c784f58870ad552a3869d80f99872c31375)
-rw-r--r-- | source3/libads/kerberos.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index 66f203b12d..2adf6a4700 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -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) { |