git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
757a1f5
)
s3:winbindd/idmap_util: unify entering debug messages and add ouput of domain
author
Michael Adam
<obnox@samba.org>
Fri, 28 Nov 2008 09:05:19 +0000
(10:05 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 1 Dec 2008 03:37:20 +0000
(
04:37
+0100)
Michael
source3/winbindd/idmap_util.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_util.c
b/source3/winbindd/idmap_util.c
index 9f876618be97aef0aa6c3ed07a0f9039e8120a5d..9abf425f3e54284cc67c37d37c30f7108acd2a1f 100644
(file)
--- a/
source3/winbindd/idmap_util.c
+++ b/
source3/winbindd/idmap_util.c
@@
-33,7
+33,8
@@
NTSTATUS idmap_uid_to_sid(const char *domname, DOM_SID *sid, uid_t uid)
struct id_map map;
bool expired;
struct id_map map;
bool expired;
- DEBUG(10,("uid = [%lu]\n", (unsigned long)uid));
+ DEBUG(10,("idmap_uid_to_sid: uid = [%lu], domain = '%s'\n",
+ (unsigned long)uid, domname?domname:"NULL"));
if (idmap_cache_find_uid2sid(uid, sid, &expired)) {
DEBUG(10, ("idmap_cache_find_uid2sid found %d%s\n", uid,
if (idmap_cache_find_uid2sid(uid, sid, &expired)) {
DEBUG(10, ("idmap_cache_find_uid2sid found %d%s\n", uid,
@@
-85,7
+86,8
@@
NTSTATUS idmap_gid_to_sid(const char *domname, DOM_SID *sid, gid_t gid)
struct id_map map;
bool expired;
struct id_map map;
bool expired;
- DEBUG(10,("gid = [%lu]\n", (unsigned long)gid));
+ DEBUG(10,("idmap_gid_to_si: gid = [%lu], domain = '%s'\n",
+ (unsigned long)gid, domname?domname:"NULL"));
if (idmap_cache_find_gid2sid(gid, sid, &expired)) {
DEBUG(10, ("idmap_cache_find_gid2sid found %d%s\n", gid,
if (idmap_cache_find_gid2sid(gid, sid, &expired)) {
DEBUG(10, ("idmap_cache_find_gid2sid found %d%s\n", gid,
@@
-137,7
+139,8
@@
NTSTATUS idmap_sid_to_uid(const char *dom_name, DOM_SID *sid, uid_t *uid)
struct id_map map;
bool expired;
struct id_map map;
bool expired;
- DEBUG(10,("idmap_sid_to_uid: sid = [%s]\n", sid_string_dbg(sid)));
+ DEBUG(10,("idmap_sid_to_uid: sid = [%s], domain = '%s'\n",
+ sid_string_dbg(sid), dom_name));
if (idmap_cache_find_sid2uid(sid, uid, &expired)) {
DEBUG(10, ("idmap_cache_find_sid2uid found %d%s\n",
if (idmap_cache_find_sid2uid(sid, uid, &expired)) {
DEBUG(10, ("idmap_cache_find_sid2uid found %d%s\n",
@@
-209,7
+212,8
@@
NTSTATUS idmap_sid_to_gid(const char *domname, DOM_SID *sid, gid_t *gid)
struct id_map map;
bool expired;
struct id_map map;
bool expired;
- DEBUG(10,("idmap_sid_to_gid: sid = [%s]\n", sid_string_dbg(sid)));
+ DEBUG(10,("idmap_sid_to_gid: sid = [%s], domain = '%s'\n",
+ sid_string_dbg(sid), domname));
if (idmap_cache_find_sid2gid(sid, gid, &expired)) {
DEBUG(10, ("idmap_cache_find_sid2gid found %d%s\n",
if (idmap_cache_find_sid2gid(sid, gid, &expired)) {
DEBUG(10, ("idmap_cache_find_sid2gid found %d%s\n",