summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2011-03-01 17:18:31 +0100
committerMichael Adam <obnox@samba.org>2011-03-02 14:10:22 +0100
commit8aa69c1f814b215c1b2e48393373878ba87dad0d (patch)
tree36f3276854b0740bcbd3d7ad18a196de6a290082 /source3/lib
parent7101f5a8f21875519942d0263efa3221fc23bb22 (diff)
downloadsamba-8aa69c1f814b215c1b2e48393373878ba87dad0d.tar.gz
samba-8aa69c1f814b215c1b2e48393373878ba87dad0d.tar.bz2
samba-8aa69c1f814b215c1b2e48393373878ba87dad0d.zip
s3: adjust loglevel for idmap_cache
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/idmap_cache.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/lib/idmap_cache.c b/source3/lib/idmap_cache.c
index e2270eb006..34967e9e95 100644
--- a/source3/lib/idmap_cache.c
+++ b/source3/lib/idmap_cache.c
@@ -292,7 +292,7 @@ static bool idmap_cache_del_xid(char t, int xid)
bool ret = true;
if (!gencache_get(key, &sid_str, &timeout)) {
- DEBUG(0, ("no entry: %s\n", key));
+ DEBUG(3, ("no entry: %s\n", key));
ret = false; //???
goto done;
}
@@ -300,19 +300,19 @@ static bool idmap_cache_del_xid(char t, int xid)
if (sid_str[0] != '-') {
const char* sid_key = key_sid2xid_str(mem_ctx, t, sid_str);
if (!gencache_del(sid_key)) {
- DEBUG(0, ("failed to delete: %s\n", sid_key));
+ DEBUG(2, ("failed to delete: %s\n", sid_key));
ret = false;
} else {
- DEBUG(0, ("delete: %s\n", sid_key));
+ DEBUG(5, ("delete: %s\n", sid_key));
}
}
if (!gencache_del(key)) {
- DEBUG(0, ("failed to delete: %s\n", key));
+ DEBUG(1, ("failed to delete: %s\n", key));
ret = false;
} else {
- DEBUG(0, ("delete: %s\n", key));
+ DEBUG(5, ("delete: %s\n", key));
}
done:
@@ -343,18 +343,18 @@ static bool idmap_cache_del_sid2xid(TALLOC_CTX* mem_ctx, char t, const char* sid
if (atoi(xid_str) != -1) {
const char* xid_key = key_xid2sid_str(mem_ctx, t, xid_str);
if (!gencache_del(xid_key)) {
- DEBUG(0, ("failed to delete: %s\n", xid_key));
+ DEBUG(2, ("failed to delete: %s\n", xid_key));
ret = false;
} else {
- DEBUG(0, ("delete: %s\n", xid_key));
+ DEBUG(5, ("delete: %s\n", xid_key));
}
}
if (!gencache_del(sid_key)) {
- DEBUG(0, ("failed to delete: %s\n", sid_key));
+ DEBUG(2, ("failed to delete: %s\n", sid_key));
ret = false;
} else {
- DEBUG(0, ("delete: %s\n", sid_key));
+ DEBUG(5, ("delete: %s\n", sid_key));
}
done:
return ret;
@@ -369,7 +369,7 @@ bool idmap_cache_del_sid(const struct dom_sid *sid)
if (!idmap_cache_del_sid2xid(mem_ctx, 'U', sid_str) &&
!idmap_cache_del_sid2xid(mem_ctx, 'G', sid_str))
{
- DEBUG(0, ("no entry: %s\n", key_xid2sid_str(mem_ctx, '?', sid_str)));
+ DEBUG(3, ("no entry: %s\n", key_xid2sid_str(mem_ctx, '?', sid_str)));
ret = false;
}