Author: nkinder
Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/dna In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24105/ldap/servers/plugins/dna
Modified Files: dna.c Log Message: Resolves: 457260 Summary: Load the dnaFilter config attribute properly.
Index: dna.c =================================================================== RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/dna/dna.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- dna.c 23 Jul 2008 16:33:31 -0000 1.4 +++ dna.c 30 Jul 2008 17:43:40 -0000 1.5 @@ -111,7 +111,7 @@ PRUint64 interval; PRUint64 maxval; char *filter; - struct slapi_filter *slapi_filter; + Slapi_Filter *slapi_filter; char *generate; char *scope; }; @@ -539,7 +539,7 @@ value = slapi_entry_attr_get_charptr(e, DNA_FILTER); if (value) { entry->filter = value; - if (NULL == (entry->filter = slapi_str2filter(value))) { + if (NULL == (entry->slapi_filter = slapi_str2filter(value))) { slapi_log_error(SLAPI_LOG_FATAL, DNA_PLUGIN_SUBSYSTEM , "Error: Invalid search filter in entry [%s]: [%s]\n", entry->dn, value);
389-commits@lists.fedoraproject.org