summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_interface.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-21 10:22:35 +1000
committerMichael Adam <obnox@samba.org>2012-05-02 15:34:09 +0200
commit2b5ee3491aa4cdd44c40720d4d4ca2d36d2e16c7 (patch)
tree8ff5d7522ac739704138a21009266766871859e6 /source3/passdb/pdb_interface.c
parentbb1d541da10ca35f7bfc22e9c5e735d8ed01bb49 (diff)
downloadsamba-2b5ee3491aa4cdd44c40720d4d4ca2d36d2e16c7.tar.gz
s3-passdb: Add extra debug on ID mapping failures
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed May 2 15:34:13 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/passdb/pdb_interface.c')
-rw-r--r--source3/passdb/pdb_interface.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index b7c9bace2a9..6945a4210cc 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -1473,7 +1473,14 @@ static bool pdb_default_sid_to_id(struct pdb_methods *methods,
id->type = ID_TYPE_UID;
id->id = uid;
break;
+ default:
+ DEBUG(5, ("SID %s is our domain, but is not mapped to a user or group (got %d)\n",
+ sid_string_dbg(sid), type));
+ ret = false;
}
+ } else {
+ DEBUG(5, ("SID %s is or domain, but is unmapped\n",
+ sid_string_dbg(sid)));
}
goto done;
}