[GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.
[gd/samba/.git] / source / libsmb / trustdom_cache.c
index 57fcc1b2485a2fbc28e54eddce10d7926419a414..dc0b5010a275597bd9041a3b6b5ecf2da942cdad 100644 (file)
@@ -99,7 +99,7 @@ static char* trustdom_cache_key(const char* name)
 
 /**
  * Store trusted domain in gencache as the domain name (key)
- * and trusted domain's SID (value)
+ * and ip address of domain controller (value)
  *
  * @param name trusted domain name
  * @param alt_name alternative trusted domain name (used in ADS domains)
@@ -152,7 +152,7 @@ BOOL trustdom_cache_store(char* name, char* alt_name, const DOM_SID *sid,
 
 
 /**
- * Fetch trusted domain's SID from the gencache.
+ * Fetch trusted domain's dc from the gencache.
  * This routine can also be used to check whether given
  * domain is currently trusted one.
  *
@@ -189,7 +189,7 @@ BOOL trustdom_cache_fetch(const char* name, DOM_SID* sid)
                DEBUG(5, ("trusted domain %s found (%s)\n", name, value));
        }
 
-       /* convert sid string representation into DOM_SID structure */
+       /* convert ip string representation into in_addr structure */
        if(! string_to_sid(sid, value)) {
                sid = NULL;
                SAFE_FREE(value);