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






