I still haven't got to the bottom of this, but I'm seeing: -
[wplc-validate-user-exists] Instance attributes (Set 1 of 1):
[wplc-validate-user-exists] ignoreDuplicateIDs= *** NOT_SPECIFIED ***
[wplc-validate-user-exists] attribute=[ *** NONE_SPECIFIED *** ]
[wplc-validate-user-exists] customproperty=[ *** NONE_SPECIFIED *** ]
[wplc-validate-user-exists] cn="CN=PortalBind,OU=Service"
[wplc-validate-user-exists] trimSpaces= *** NOT_SPECIFIED ***
[wplc-validate-user-exists] com.ibm.websphere.management.cmdframework.InvalidParameterNameException: ADMF0004E: Invalid parameter name CN for command searchUsers.
[wplc-validate-user-exists] at com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand.getParameterMetadata(AbstractAdminCommand.java:1096)
[wplc-validate-user-exists] at com.ibm.websphere.management.cmdframework.provider.AbstractAdminCommand.isParamReadonly(AbstractAdminCommand.java:1162)
[wplc-validate-user-exists] at com.ibm.websphere.management.cmdframework.provider
when I run: -
./ConfigEngine.sh wp-change-was-admin-user -DnewAdminId="CN=WASAdminPoc,OU=Service Accounts,OU=Management,DC=ts2,DC=net" -DnewAdminPw=NewPassW0rd -DWasPassword=OldPassW0rd
I'm running WebSphere Portal 7.0.0.2 CF12 on Red Hat Enterprise Linux 6, and the user registry is Microsoft Active Directory 2003.
I''ve dug through the WAS logs, even with tracing enabled, and there's nothing apparent.
I added both the -diagnostics and -debug switches to the ConfigEngine.sh command, but nothing was obvious :-(
I even tried running: -
./UpdateProfile.sh install CF
and: -
./ConfigEngine.sh upgrade-profile
but to no avail.
In the end, I "cheated" by adding: -
-Dskip.ldap.validation=true
to the end of the command: -
./ConfigEngine.sh wp-change-was-admin-user -DnewAdminId="CN=WASAdminPoc,OU=Service Accounts,OU=Management,DC=ts2,DC=net" -DnewAdminPw=NewPassW0rd -DWasPassword=OldPassW0rd
Having done this, the command ran through OK.
However, I'm still not sure why it failed int he first instance, and what: -
ADMF0004E: Invalid parameter name CN for command searchUsers.
actually means.
:-(
No comments:
Post a Comment