summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-01-26 02:02:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:29 -0500
commit3b0b7cb72385c5fed40c63971dfb1eab79e7741a (patch)
tree7b9fb982666cf7fb9df16f7dfdd7e5339b4d3d00 /source4
parent05ea1558586438fb3a1865ce402cb4502de9dd49 (diff)
downloadsamba-3b0b7cb72385c5fed40c63971dfb1eab79e7741a.tar.gz
samba-3b0b7cb72385c5fed40c63971dfb1eab79e7741a.tar.bz2
samba-3b0b7cb72385c5fed40c63971dfb1eab79e7741a.zip
r13150: Correct comment.
Andrew Bartlett (This used to be commit c34666abc170687daa8dcd085020880b598caaf7)
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/samldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c
index e92def7ccd..07f617f4b5 100644
--- a/source4/dsdb/samdb/ldb_modules/samldb.c
+++ b/source4/dsdb/samdb/ldb_modules/samldb.c
@@ -719,7 +719,7 @@ static int samldb_fill_foreignSecurityPrincipal_object(struct ldb_module *module
if (ret >= 1) {
const char *name = samdb_result_string(dom_msgs[0], "name", NULL);
ldb_set_errstring(module, talloc_asprintf(mem_ctx, "Attempt to add foreign SID record with SID %s rejected, because this domian (%s) is already in the database", dom_sid_string(mem_ctx, sid), name));
- /* We have a duplicate SID, we must reject the add */
+ /* We don't really like the idea of foreign sids that are not foreign */
return LDB_ERR_CONSTRAINT_VIOLATION;
} else if (ret == -1) {
ldb_debug(module->ldb, LDB_DEBUG_FATAL, "samldb_fill_foreignSecurityPrincipal_object: error searching for a domain with this sid: %s\n", dom_sid_string(mem_ctx, dom_sid));