[LDB] ldbsearch overmatching
Andrew Bartlett
abartlet at samba.org
Tue Jan 10 09:58:26 GMT 2006
I've been messing around with ldb, and in my testing I ran:
bin/ldbsearch -H /data/samba/samba4/prefix/private/sam.ldb 'cn=domain
users'
On unmodified code, this returns two entries:
# returned 0 records
# record 1
dn: CN=Domain Users,CN=Users,DC=tammy,DC=abartlet,DC=net
# record 2
dn: CN=DomainUpdates,CN=System,DC=tammy,DC=abartlet,DC=net
What I'm wondering is: is there a bug in the ldb index code, causing it
to return entries that match a substring, without doing a full check?
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060110/8eb3de14/attachment.bin
More information about the samba-technical
mailing list