summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/sampassdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/passdb/sampassdb.c b/source3/passdb/sampassdb.c
index bcd2764abc..13b1279b2b 100644
--- a/source3/passdb/sampassdb.c
+++ b/source3/passdb/sampassdb.c
@@ -511,6 +511,10 @@ you will get this warning only once (for all trust accounts)\n", unix_name));
if (!sid_front_equal(&global_sam_sid, &gmep.sid))
{
+ fstring sid_str;
+ sid_to_string(sid_str, &gmep.sid);
+ DEBUG(0,("UNIX User %s Primary Group is in the wrong domain! %s\n",
+ sam->unix_name, sid_str));
return NULL;
}