Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
@Username
Hello all,
Is there a way, at/after login, to populate @Username with a different value, say, the person's LAN ID?
I know that in the login process, the @Username goes from SYSPROG to the App ID to the actual User ID. Just wondered if there was a way to bypass at least the last part and stuff something else in its place.
Thanks in advance!
Michael
Is there a way, at/after login, to populate @Username with a different value, say, the person's LAN ID?
I know that in the login process, the @Username goes from SYSPROG to the App ID to the actual User ID. Just wondered if there was a way to bypass at least the last part and stuff something else in its place.
Thanks in advance!
Michael
Comments
SSO is definitely the way to go. Can I configure SSO to apply to one application, or is it per install/license?
When I log in from the command line, I pass a /AP=applicationname. It's still prompting for username and password (with the applicationname in the username prompt).
What might I be doing wrong?
If you are able to login normally, this implies that SSO is not enabled. OI errors out when you attempt to login normally and when SSO is enabled.
I am relatively certain that the LDAP group names are case sensitive, so make sure that is not an issue. I'm also wondering if the absence of LDAP group names in fields 2 and 3 is a problem. To test this theory, put the same LDAP group in those fields.
I put the same LDAP group name in fields 2-4. Same result.
Something is definitely wrong but I can't identify what the issue is. I just did a quick test on my local machine and I'm getting SSO enforced (i.e., because I don't have LDAP or AD enabled, OI is giving me a boot failure).
I'm inclined to think something is off with the CFG_LOGIN record or its Key ID in the SYSENV table, but this is pretty basic stuff so I highly doubt you have a problem here.
Are you sure that your workstation is able to communicate with the LDAP server? I've had issues where the LDAP server wasn't visible to the workstations so SSO wasn't working.