summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-09-27 14:44:07 +0000
committerVolker Lendecke <vlendec@samba.org>2004-09-27 14:44:07 +0000
commitac89ba32aef22300078e62b63f914a1a38edcb17 (patch)
treed88759cf386e86f285989ee35a578a1fa36f4d5b /source/nsswitch
parent094a43ee179f8da69f50acca685fe3999f6e8709 (diff)
downloadsamba-ac89ba32aef22300078e62b63f914a1a38edcb17.tar.gz
samba-ac89ba32aef22300078e62b63f914a1a38edcb17.tar.xz
samba-ac89ba32aef22300078e62b63f914a1a38edcb17.zip
r2691: Increase a debug level for a quite frequent operation.
Optimization for 'idmap backend = ldap': When asking sid2id for the wrong type, don't ask ldap when we have the opposite mapping in the local tdb. Volker
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/winbindd_sid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd_sid.c b/source/nsswitch/winbindd_sid.c
index 97e676813dd..060e66fbc2d 100644
--- a/source/nsswitch/winbindd_sid.c
+++ b/source/nsswitch/winbindd_sid.c
@@ -219,7 +219,7 @@ enum winbindd_result winbindd_sid_to_uid(struct winbindd_cli_state *state)
if (NT_STATUS_IS_OK(result))
return WINBINDD_OK;
- DEBUG(1, ("Could not get uid for sid %s\n", state->request.data.sid));
+ DEBUG(4, ("Could not get uid for sid %s\n", state->request.data.sid));
return WINBINDD_ERROR;
}
@@ -337,7 +337,7 @@ enum winbindd_result winbindd_sid_to_gid(struct winbindd_cli_state *state)
if (NT_STATUS_IS_OK(result))
return WINBINDD_OK;
- DEBUG(1, ("Could not get gid for sid %s\n", state->request.data.sid));
+ DEBUG(4, ("Could not get gid for sid %s\n", state->request.data.sid));
return WINBINDD_ERROR;
}