git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb1d541
)
s3-passdb: Add extra debug on ID mapping failures
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 21 Apr 2012 00:22:35 +0000
(10:22 +1000)
committer
Michael Adam
<obnox@samba.org>
Wed, 2 May 2012 13:34:09 +0000
(15:34 +0200)
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
source3/passdb/pdb_interface.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_interface.c
b/source3/passdb/pdb_interface.c
index b7c9bace2a9ba62a232f773962e02d2149508886..6945a4210cca3bb8bab6ed8c689cb4dbb47af929 100644
(file)
--- 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;
}