svn commit: samba r8529 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
idra at samba.org
idra at samba.org
Sun Jul 17 14:15:45 GMT 2005
Author: idra
Date: 2005-07-17 14:15:45 +0000 (Sun, 17 Jul 2005)
New Revision: 8529
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8529
Log:
Matching against the wrong union
Modified:
branches/SAMBA_4_0/source/lib/ldb/common/ldb_match.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_match.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_match.c 2005-07-17 13:20:26 UTC (rev 8528)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_match.c 2005-07-17 14:15:45 UTC (rev 8529)
@@ -2,6 +2,7 @@
ldb database library
Copyright (C) Andrew Tridgell 2004-2005
+ Copyright (C) Simo Sorce 2005
** NOTE! The following LGPL license applies to the ldb
** library. This does NOT imply that all of Samba is released
@@ -101,11 +102,11 @@
enum ldb_scope scope)
{
- if (ldb_attr_cmp(tree->u.simple.attr, "dn") == 0) {
+ if (ldb_attr_cmp(tree->u.present.attr, "dn") == 0) {
return 1;
}
- if (ldb_msg_find_element(msg, tree->u.simple.attr)) {
+ if (ldb_msg_find_element(msg, tree->u.present.attr)) {
return 1;
}
More information about the samba-cvs
mailing list