1. Configure Advanced Security Options and network services for Oracle databases through OUI
2. Configure kerberos Authentication
1. Execute the command netmgr and click the authentication label. In Available Methods, select KERBEROS5 and move it to the Selected Methods Column, as shown in figure
Create the/krb5 directory and grant the 777 permission to the directory. Create the configuration file krb. conf and click the Other Params tab, as shown in figure
Add the following content to the krb. conf file:
- [Libdefaults]
- Default_realm = DOMAIN. GE
- Dns_lookup_realm = true
- Dns_lookup_kdc = true
- [Realms]
- DOMAIN. GE = {
- Kdc = KERBEROS. DOMAIN. GE: 88
- }
- [Domain_realm]
- . Domain. ge = DOMAIN. GE
- [Logging]
- Default = FILE:/tmp/krb5-kdc.log
- Kdc = FILE:/tmp/krb5-kdc.log
Modify the sqlnet. ora File
- SQLNET. AUTHENTICATION_SERVICES = (KERBEROS5)
- SQLNET. AUTHENTICATION_KERBEROS5_SERVICE = kservice
- SQLNET. KERBEROS5_CONF_MIT = TRUE
Add the following content to the pfile parameter:
- OS _AUTHENT_PREFIX = ""
3. Create an external authenticated user
- Create user scott identified externally as 'Scott @ DOMAIN. Ge ';
4. Copy the Kerberos master database and key ing File
Copy the file to the/etc/v5srvtab directory as an administrator.
5. Obtain kerberos initial ticket for external users
% Okinit scott@DOMAIN.GE
Sqlplus/@ kservice
You can get the Kerberos ticket. You can log on to the database without entering the password.