git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2ddea9
)
autorid: add debug messages to idmap_autorid_get_domainrange()
author
Michael Adam
<obnox@samba.org>
Mon, 17 Mar 2014 11:43:12 +0000
(12:43 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 25 Apr 2014 13:35:09 +0000
(15:35 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/idmap_autorid_tdb.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_autorid_tdb.c
b/source3/winbindd/idmap_autorid_tdb.c
index 8d5d71ee066b762e55a6e0983aa095df6e99f70a..de6af7d123bb4f674935ef31ba5c3ab8679b601a 100644
(file)
--- a/
source3/winbindd/idmap_autorid_tdb.c
+++ b/
source3/winbindd/idmap_autorid_tdb.c
@@
-384,7
+384,11
@@
NTSTATUS idmap_autorid_get_domainrange(struct db_context *db,
ret = idmap_autorid_getrange_int(db, range);
if (!NT_STATUS_IS_OK(ret)) {
+ DEBUG(10, ("Failed to read range config for '%s': %s\n",
+ range->domsid, nt_errstr(ret)));
if (read_only) {
+ DEBUG(10, ("Not allocating new range for '%s' because "
+ "read-only is enabled.\n", range->domsid));
return NT_STATUS_NOT_FOUND;
}