Quantcast
Channel: The Middleware Shop » WebSphere Shell Script
Viewing all articles
Browse latest Browse all 14

SECJ7320E: Invalid user registry type

$
0
0

I was running a snippet of Jython to modify a Standalone LDAP Registry along with utlising Micosoft Active Directory with Kerberos, and I got the following error:

SECJ7320E: Invalid user registry type

My WebSphere Application Server Jython-Code, where I was querying the existing registry type failed.

def getRegistryDetails(securityDomainName, registryType):
    printer("","Input: Security Domain Name=" + securityDomainName)
    printer("","Input: Registry Type=" + registryType)
    registryDetails=AdminTask.getUserRegistryInfo('-userRegistryType ' + registryType)
    return registryDetails
#endIf

registryType="ACTIVE_DIRECTORY"
printer("","Default Ream=" + getRegistryDetails("",registryType))

The reason, I was using an LDAPServerType, which is not a valid RegistryType

I changed ACTIVE_DIRECTORY to the value LDAPUserRegistry, which is a valid Registry Type, as opposed to a LDAP Server Type

facebooktwittergoogle_plusredditpinterestlinkedinmail

Viewing all articles
Browse latest Browse all 14

Trending Articles