summaryrefslogtreecommitdiff
path: root/source3/libsmb/trustdom_cache.c
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2007-03-20 21:21:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:46 -0500
commitf1ffc96a245892ab64c802e3abcf39b94fa4efe3 (patch)
tree2e8d494861e9e88eb2519896bc2cc96703d6440f /source3/libsmb/trustdom_cache.c
parent93b2485c9bed5e00244acfd3de6942f091be9148 (diff)
downloadsamba-f1ffc96a245892ab64c802e3abcf39b94fa4efe3.tar.gz
samba-f1ffc96a245892ab64c802e3abcf39b94fa4efe3.tar.bz2
samba-f1ffc96a245892ab64c802e3abcf39b94fa4efe3.zip
r21893: Update comments so they actually reflect reality...
rafal (This used to be commit 8f313061a4cbc69d8dd17aa282d79d07a9275242)
Diffstat (limited to 'source3/libsmb/trustdom_cache.c')
-rw-r--r--source3/libsmb/trustdom_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/trustdom_cache.c b/source3/libsmb/trustdom_cache.c
index dc0b5010a2..57fcc1b248 100644
--- a/source3/libsmb/trustdom_cache.c
+++ b/source3/libsmb/trustdom_cache.c
@@ -99,7 +99,7 @@ static char* trustdom_cache_key(const char* name)
/**
* Store trusted domain in gencache as the domain name (key)
- * and ip address of domain controller (value)
+ * and trusted domain's SID (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 dc from the gencache.
+ * Fetch trusted domain's SID 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 ip string representation into in_addr structure */
+ /* convert sid string representation into DOM_SID structure */
if(! string_to_sid(sid, value)) {
sid = NULL;
SAFE_FREE(value);