#48187 Adding an OU from console is throwing missing attribute aliasedObjectName error
Closed: Fixed None Opened 4 years ago by mreynolds.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Directory Server): Bug 1225042

Description of problem: Adding an Organizational unit from console throws
netscape.ldap.LDAPException: error result (65). This happens when Alias field
is filled with some values and then removed at the second attempt to add a new
OU.


Version-Release number of selected component (if applicable):


How reproducible: Consistently with the steps mentioned here.


Steps to Reproduce:
1. Open the Directory Sever console for an instance.
2. Click on Directory tab and right click on the suffix.
3. Select New Organizational Unit
4. Enter values as test in Alias(optional) field and Name(mandatory) field and
click on "OK"
5. Netscape LDAP Exception error is displayed with invalid syntax error 21.
6. Click on OK to remove the values from "Alias" field and then click OK to add
the Organization Unit.
7. This time, it throws error 65, Object class violation, missing attribute
"aliasedObjectName" required by objectclass alias.

Actual results: Objectclass violation error displayed.

Builds tested:
[root@ratangad ~]# rpm -qa |egrep -i '389-|^idm-'
389-ds-base-1.3.3.1-16.el7_1.x86_64
389-ds-console-1.2.12-1.el7dsrv.noarch
389-ds-console-doc-1.2.12-1.el7dsrv.noarch
389-ds-base-libs-1.3.3.1-16.el7_1.x86_64
idm-console-framework-1.1.13-1.el7dsrv.noarch
389-admin-1.1.40-1.el7dsrv.x86_64
389-admin-console-doc-1.1.10-1.el7dsrv.noarch
389-ds-base-debuginfo-1.3.3.1-16.el7_1.x86_64
389-admin-console-1.1.10-1.el7dsrv.noarch
389-admin-debuginfo-1.1.40-1.el7dsrv.x86_64
389-adminutil-debuginfo-1.1.22-1.el7dsrv.x86_64
389-adminutil-1.1.22-1.el7dsrv.x86_64
389-console-1.1.8-1.el7dsrv.noarch


Expected results: No error should be displayed since the value is already
removed from the field.


Additional info:

Reviewed and tested your patch. Perfect! Thanks a lot, Mark!!!

To ssh://git.fedorahosted.org/git/idm-console-framework.git
dee167c..d3a54e1 master -> master
commit d3a54e174e9d1916124146ed146c3b98aafaa080
Author: Mark Reynolds mreynolds@redhat.com
Date: Wed May 27 11:41:34 2015 -0400

Metadata Update from @mreynolds:
- Issue assigned to mreynolds
- Issue set to the milestone: 389-admin,console 1.1.40

2 years ago

Login to comment on this ticket.

Metadata