Controls the use of Standard, Integrated, Kerberos, LDAP, and PAM user authentication for the database.
One or more of: Standard, Integrated, Kerberos, LDAPUA, PAMUA, CloudAdmin, Mixed (deprecated)
Standard
PUBLIC role | For current user | For other users | |
---|---|---|---|
Allowed to set permanently? | Yes, with SET ANY SECURITY OPTION | No | No |
Allowed to set temporarily? | Yes, with SET ANY SECURITY OPTION | No | No |
This option specifies whether Standard, Integrated, Kerberos, LDAP, PAM, and CloudAdmin user authentication is permitted. One or more of the following login modes are accepted (the values are case insensitive):
Standard user authentication is permitted. This value is the default setting. Connections that use standard user authentication include both a user ID and password, and do not use the Integrated or Kerberos connection parameters.
Integrated user authentication is permitted.
Kerberos user authentication is permitted.
LDAP (Lightweight Directory Access Protocol) user authentication is permitted. Connections that use LDAP user authentication include both a user ID and password, and do not use the Integrated or Kerberos connection parameters.
If a user's hashed password has changed, then it is updated in the SYSUSER table of the database when the user logs in to the database using LDAPUA if the ldap_failover_to_std option is set to ON.
When using LDAPUA, the password control rules of the login policy are ignored.
When using PAMUA, the password control rules of the login policy are ignored.
This login mode is for internal use in the cloud.
This value is equivalent to specifying Standard,Integrated.
If you specify multiple login modes, then the database server allows all the specified modes.
Specify multiple values in a comma-separated list. This list cannot contain white space. For example, the following setting allows both Standard and Integrated logins:
SET OPTION PUBLIC.login_mode = 'Standard,Integrated';
Enable only Integrated user authentication (Standard, Kerberos, LDAP, and PAM user authentication fail):
SET OPTION PUBLIC.login_mode = 'Integrated';
Enable Standard and Kerberos user authentication (Integrated, LDAP, and PAM user authentication fail):
SET OPTION PUBLIC.login_mode = 'Standard,Kerberos';
Enable Standard, Integrated, Kerberos, LDAP, and PAM user authentication:
SET OPTION PUBLIC.login_mode = 'Standard,Integrated,Kerberos,LDAPUA,PAMUA';