diff options
author | Volker Lendecke <vl@samba.org> | 2013-05-03 10:24:17 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-05-03 12:58:35 +0200 |
commit | 1966e28d157da3ef561a6e760eb4736e917fdd81 (patch) | |
tree | fa41b59df1e70ab4724bdbbd3056fd38407d9a3f | |
parent | 5f82641553e33bc236b6c8a4f5cfc1cf3b722eea (diff) | |
download | samba-1966e28d157da3ef561a6e760eb4736e917fdd81.tar.gz samba-1966e28d157da3ef561a6e760eb4736e917fdd81.tar.bz2 samba-1966e28d157da3ef561a6e760eb4736e917fdd81.zip |
idmap: Print error from idmap_backends_unixid_to_sid
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r-- | source3/winbindd/idmap_util.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_util.c b/source3/winbindd/idmap_util.c index a068298968..7bd81a141d 100644 --- a/source3/winbindd/idmap_util.c +++ b/source3/winbindd/idmap_util.c @@ -68,7 +68,8 @@ backend: ret = idmap_backends_unixid_to_sid(domname, &map); if ( ! NT_STATUS_IS_OK(ret)) { - DEBUG(10, ("error mapping uid [%lu]\n", (unsigned long)uid)); + DEBUG(10, ("error mapping uid [%lu]: %s\n", (unsigned long)uid, + nt_errstr(ret))); return ret; } @@ -131,7 +132,8 @@ backend: ret = idmap_backends_unixid_to_sid(domname, &map); if ( ! NT_STATUS_IS_OK(ret)) { - DEBUG(10, ("error mapping gid [%lu]\n", (unsigned long)gid)); + DEBUG(10, ("error mapping gid [%lu]: %s\n", (unsigned long)gid, + nt_errstr(ret))); return ret; } |