summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-03 09:33:57 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-12-03 10:26:39 +0100
commite2a89d6ba76d632fe3319aac4575cebe0c060d6b (patch)
treeb8fb0b3a81cd4729fb48dfeea034aa27cd975283 /source4/auth
parent4ae9aec17cc75685381fff86e1b90f99b4ae51c8 (diff)
downloadsamba-e2a89d6ba76d632fe3319aac4575cebe0c060d6b.tar.gz
samba-e2a89d6ba76d632fe3319aac4575cebe0c060d6b.tar.bz2
samba-e2a89d6ba76d632fe3319aac4575cebe0c060d6b.zip
s4:auth/sam.c - when printing out a string buffer we don't strictly need the width
The precision (maximum numbers of characters) should be enough. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Dec 3 10:26:39 CET 2010 on sn-devel-104
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/sam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/sam.c b/source4/auth/sam.c
index 675c37682d..2b3ed91065 100644
--- a/source4/auth/sam.c
+++ b/source4/auth/sam.c
@@ -324,8 +324,8 @@ NTSTATUS authsam_expand_nested_groups(struct ldb_context *sam_ctx,
dn = ldb_dn_from_ldb_val(tmp_ctx, sam_ctx, dn_val);
if (dn == NULL) {
talloc_free(tmp_ctx);
- DEBUG(0, (__location__ ": we failed parsing DN %*.*s, so we cannot calculate the group token\n",
- (int)dn_val->length, (int)dn_val->length, dn_val->data));
+ DEBUG(0, (__location__ ": we failed parsing DN %.*s, so we cannot calculate the group token\n",
+ (int)dn_val->length, dn_val->data));
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}