浏览代码

Ticket 47539 - Disabling DNA plug-in throws error 53

If the DNA plug-in is enabled and any modify is attempted against
the main DNA plug-in config entry (like disabling it), the operation
will be rejected with error 53.

The plug-in config validation function attempts to skip validation
of the main DNA plug-in config entry, but it returns DNA_FAILURE,
which causes the operation to be rejected.  The validation function
needs to return DNA_SUCCESS to allow changes to be made to the main
config entry.
Nathan Kinder 12 年之前
父节点
当前提交
d8c6e0c5d0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ldap/servers/plugins/dna/dna.c

+ 1 - 1
ldap/servers/plugins/dna/dna.c

@@ -758,7 +758,7 @@ dna_parse_config_entry(Slapi_PBlock *pb, Slapi_Entry * e, int apply)
     /* If this is the main DNA plug-in
      * config entry, just bail. */
     if (strcasecmp(getPluginDN(), slapi_entry_get_ndn(e)) == 0) {
-        ret = DNA_FAILURE;
+        ret = DNA_SUCCESS;
         goto bail;
     }