#2206 migrate-ds : misleading error message when invalid objectclass defined
Closed: Fixed None Opened 12 years ago by dpal.

https://bugzilla.redhat.com/show_bug.cgi?id=768510

Description of problem:

If you define the correct user/group container but an invalid objectclass for
the migrate-ds command, you get the following error ....

ipa: ERROR: Container for user not found
  OR
ipa: ERROR: Container for group not found

This is confusing as the container is not the problem.

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:
:: [   LOG    ] :: ds-migration-cmd-004 Invalid User Object Class
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:

:: [15:32:55] ::  EXECUTING: ipa migrate-ds --user-container="ou=People"
--group-container="ou=groups" --user-objectclass=badclass
ldap://dhcp-185-164.testrelm:389
ipa: ERROR: Container for user not found
:: [   PASS   ] :: Check return code
:: [   FAIL   ] :: File '/tmp/error.out' should contain 'ipa: ERROR:
Objectclass for user not found'

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:
:: [   LOG    ] :: ds-migration-cmd-005 Invalid Group Object Class
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:

:: [15:32:59] ::  EXECUTING: ipa migrate-ds --user-container="ou=People"
--group-container="ou=groups" --group-objectclass=badclass
ldap://dhcp-185-164.testrelm:389
ipa: ERROR: Container for group not found
:: [   PASS   ] :: Check return code
:: [   FAIL   ] :: File '/tmp/error.out' should contain 'ipa: ERROR:
Objectclass for group not found'


Version-Release number of selected component (if applicable):
ipa-server-2.1.3-9

How reproducible:
always

Steps to Reproduce:
1.  These tests are automated and will be verified when tests are passing.
2.
3.

Actual results:


Expected results:


Additional info:

Metadata Update from @dpal:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 3.0 Beta 1

7 years ago

Login to comment on this ticket.

Metadata