Quantcast
Viewing all articles
Browse latest Browse all 14

SECJ7320E: Invalid user registry type

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

Image may be NSFW.
Clik here to view.
facebook
Image may be NSFW.
Clik here to view.
twitter
Image may be NSFW.
Clik here to view.
google_plus
Image may be NSFW.
Clik here to view.
reddit
Image may be NSFW.
Clik here to view.
pinterest
Image may be NSFW.
Clik here to view.
linkedin
Image may be NSFW.
Clik here to view.
mail

Viewing all articles
Browse latest Browse all 14

Trending Articles