Bug 13185 - ldb debug: prints binary data to stderr
ldb debug: prints binary data to stderr
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
All All
: P5 regression
: 4.8
Assigned To: Andrew Bartlett
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2017-12-12 11:40 UTC by Björn Baumbach
Modified: 2017-12-12 11:47 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Björn Baumbach 2017-12-12 11:40:11 UTC
Creating existing objects produces an ugly error message with binary content.

The debug level is 0 here, the error is printed by ldb_debug_stderr():

# bin/samba-tool user create newuser Passw0rd -d0
../lib/ldb/ldb_tdb/ldb_index.c:1772: unique index violation on @IDXDN in CN=newuser,CN=Users,DC=n4d,DC=tld, conficts with ��:�D�ف4a΄� in @INDEX:@IDXDN:CN=NEWUSER,CN=USERS,DC=N4D,DC=TLD
ERROR(ldb): Failed to add user 'newuser':  - Entry CN=newuser,CN=Users,DC=n4d,DC=tld already exists