Author: abartlet Date: 2007-09-07 07:29:25 +0000 (Fri, 07 Sep 2007) New Revision: 24986
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24986 Log: LDB has a function for comparing things that must meet the rules of attribute names. Andrew Bartlett Modified: branches/SAMBA_4_0/source/dsdb/samdb/samdb.c Changeset: Modified: branches/SAMBA_4_0/source/dsdb/samdb/samdb.c =================================================================== --- branches/SAMBA_4_0/source/dsdb/samdb/samdb.c 2007-09-07 03:08:44 UTC (rev 24985) +++ branches/SAMBA_4_0/source/dsdb/samdb/samdb.c 2007-09-07 07:29:25 UTC (rev 24986) @@ -645,7 +645,7 @@ } for (i=0;i<el->num_values;i++) { - if (strcasecmp(value, (char *)el->values[i].data) == 0) { + if (ldb_attr_cmp(value, (char *)el->values[i].data) == 0) { return el; } }