Can Not Change The Description Of The Uid-uniqueness Plugin

(Doc ID 1620687.1)

Last updated on OCTOBER 11, 2016

Applies to:

Oracle Directory Server Enterprise Edition - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Problem Description
================
When attempting to change the custom plugin description, for example:
Modified description of plugin 'ST employeenumber uniqueness' to 'Enforce uniqueness for Employeenumber'

When restart the directory server, the description of the plugin still retrun back to original description.

STEPS
-----------------------
The issue can be reproduced at will.

1) check the setting before change
@ bash-3.2# ./dsconf get-plugin-prop -e -h -p 1389 "mail uniqueness"
@ Enter "cn=Directory Manager" password:
@ argument          :  mail
@ argument          :  dc=example,dc=com
@ depends-on-named  :
@ depends-on-type   :  database
@ desc              :  Enforce unique attribute values
@ enabled           :  on
@ feature           :  NSUniqueAttr
@ init-func         :  NSUniqueAttr_Init
@ lib-path          :  /opt/oracle/dsee7/lib/uid-plugin.so
@ type              :  preoperation
@ vendor            :  Oracle Corporation
@ version           :  11.1.1.7.0
 

2) change the setting of the plugin description
@ bash-3.2# ./dsconf set-plugin-prop -e -h -p 1389 "mail uniqueness"
@ desc:"Enforce uniqueness for mail"
@ Enter "cn=Directory Manager" password:
@ Directory Server must be restarted for changes to take effect.
 

3) check the setting before restart the directory server where plugin description has changed.
@ bash-3.2# ./dsconf get-plugin-prop -e -h -p 1389 "mail uniqueness"
@ Enter "cn=Directory Manager" password:
@ argument          :  mail
@ argument          :  dc=example,dc=com
@ depends-on-named  :
@ depends-on-type   :  database
@ desc              :  Enforce uniqueness for mail
@ enabled           :  on
@ feature           :  NSUniqueAttr
@ init-func         :  NSUniqueAttr_Init
@ lib-path          :  /opt/oracle/dsee7/lib/uid-plugin.so
@ type              :  preoperation
@ vendor            :  Oracle Corporation
@ version           :  11.1.1.7.0

4) stop and start the directory server
@ bash-3.2# ./dsadm stop /var/opt/oracle3
@ Directory Server instance '/var/opt/oracle3' stopped
@ .
@ bash-3.2# ./dsadm start /var/opt/oracle3
@ Waiting for Directory Server instance '/var/opt/oracle3' to start...
@ Directory Server instance '/var/opt/oracle3' started: pid=28805
 

5) check the plugin description that it has been changed back to original description.
@ bash-3.2# ./dsconf get-plugin-prop -e -h -p 1389 "mail uniqueness"
@ Enter "cn=Directory Manager" password:
@ argument          :  mail
@ argument          :  dc=example,dc=com
@ depends-on-named  :
@ depends-on-type   :  database
@ desc              :  Enforce unique attribute values
@ enabled           :  on
@ feature           :  NSUniqueAttr
@ init-func         :  NSUniqueAttr_Init
@ lib-path          :  /opt/oracle/dsee7/lib/uid-plugin.so
@ type              :  preoperation
@ vendor            :  Oracle Corporation
@ version           :  11.1.1.7.0

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms