[Samba] bug in ldbtools?
Harry Jede
walk2sun at arcor.de
Fri Oct 3 03:54:18 MDT 2014
Hi all,
if one by accident points the ldbsearch command to any file, which is
not a ldb file, this file is silently converted to a tdb file ;-) .
root at dc0:~# file /tmp/t2.ldif
/tmp/t2.ldif: ASCII text
root at dc0:~# ldbsearch -H /tmp/t2.ldif
# returned 0 records
# 0 entries
# 0 referrals
root at dc0:~# file /tmp/t2.ldif
/tmp/t2.ldif: TDB database version 6, little-endian hash size 10000
bytes
This behaviour my be OK for ldbadd/ldbmodify. But for a search command?
Samba version is:
Version 4.1.11-Debian
--
Regards
Harry Jede
More information about the samba
mailing list