ヘッダーをスキップ
Oracle® Fusion Middleware Oracle Authentication Services for Operating Systems管理者ガイド
11g リリース(11.1.1)
B61411-01
  ドキュメント・ライブラリへ移動
ライブラリ
製品リストへ移動
製品
目次へ移動
目次
索引へ移動
索引

前
 
次
 

E サンプルのスクリプト出力

この付録では、サンプルのスクリプト出力を示します。内容は次のとおりです。

E.1 Oracle Enterprise Linux 4での非SSLサーバー・スクリプト実行

$ ./config_OIDserver.sh

OAS4OS: Release 11.1.1.3.0 - Production
Copyright (c) 2010 Oracle.  All rights reserved.

Configuring Oracle Authentication Services for Operating Systems on
the Oracle Internet Directory server.
Make sure that your OID server is currently up and running.
Specify the ORACLE_HOME path: /u01/Middleware/Oracle_IDM1
Specify the ORACLE_INSTANCE path: /u01/Middleware/asinst_1
Specify the OID realm: dc=example,dc=com
Specify the OID non-SSL port [3060]: 3060
Specify the OID component name [oid1]: oid1
Enter OID cn=orcladmin password:
The PAM client can be configured to interact with OID anonymously or via
a specific user DN and password.
Do you wish to have the PAM client connect with OID anonymously [y/n]: n
Specify the user DN for connecting to OID: cn=myuser,cn=users,dc=example,dc=com
Enter the user's password:

OAS4OS Client Config Script: /u01/Middleware/asinst_1/OID/oas4os/oid1/scripts_20100406231223/config_OIDclient.sh

Successfully completed configuration

E.2 Oracle Enterprise Linux 4でのSSLサーバー・スクリプト実行

OAS4OS: Release 11.1.1.3.0 - ProductionCopyright (c) 2010 Oracle.  All rights reserved.

Configuring Oracle Authentication Services for Operating Systems onthe Oracle Internet Directory server.
Make sure that your OID server processes were started by using opmnctl or
Oracle Fusion Middleware Control.

Specify the ORACLE_HOME path: /u01/Middleware/Oracle_IDM1
Specify the ORACLE_INSTANCE path: /u01/Middleware/asinst_1
Specify the OID realm: dc=example,dc=com
Specify the OID non-SSL port [3060]: 3060
Specify the OID SSL port [3131]: 3131
Specify the OID component name [oid1]: oid1
Enter OID cn=orcladmin password:
The PAM client can be configured to interact with OID anonymously or via
a specific user DN and password.
Do you wish to have the PAM client connect with OID anonymously [y/n]: n
Specify the user DN for connecting to OID: cn=myuser,cn=users,dc=example,dc=com
Enter the user's password:
You can provide an SSL certificate or use the script to
create and update OID SSL configuration with a test certificate.
Do you have an SSL certificate [y/n]: y
Specify the SSL Certificate file: /home/oracle/pem.cert

OAS4OS Client Config Script: /u01/Middleware/asinst_1/OID/oas4os/oid1/scripts_20100406231526/sslConfig_OIDclient.sh

Successfully completed configuration

E.3 Oracle Enterprise Linux 4での非SSLクライアント・スクリプト実行

$ ./config_OIDclient.sh

OAS4OS: Release 11.1.1.3.0 - Production
Copyright (c) 2010 Oracle.  All rights reserved.

Configuring this client to use LDAP for authentication... 
OID server HOST : oid-host.example.com 
OID server port : 3060 

Do you want to configure client01 to authenticate users against the above OID LDAP
 server [n]: y
User DN for connecting to OID: cn=myuser,cn=users,dc=example,dc=com
Enter the user's password: 
Saved original files in /etc/oracle_backup_20100406231757 directory
Executing auth-config ... 
Stopping portmap:                                          [  OK  ]
Starting portmap:                                          [  OK  ]
setsebool:  SELinux is disabled.
Shutting down NIS services:                                [  OK  ]
Binding to the NIS domain:                                 [  OK  ]
Listening for an NIS domain server.
Stopping nscd:                                             [  OK  ]
Starting nscd:                                             [  OK  ]
Stopping nscd:                                             [  OK  ]
Starting nscd:                                             [  OK  ]
Configured test-host for LDAP authentication.

E.4 Oracle Enterprise Linux 4でのSSLクライアント・スクリプト実行

$ ./sslConfig_OIDclient.sh 

OAS4OS: Release 11.1.1.3.0 - Production
Copyright (c) 2010 Oracle.  All rights reserved.

Configuring this client to use LDAP for authentication... 
OID server HOST : oid-host.example.com 
OID server SSL port : 3131 
Do you want to configure client01 to authenticate users against the above OID LDAP
 server [n]: y
User DN for connecting to OID: cn=myuser,cn=users,dc=example,dc=com
Enter the user's password: 
Saved original files in /etc/oracle_backup_20100407024405 directory
Executing auth-config ...
Stopping portmap:                                          [  OK  ]
Starting portmap:                                          [  OK  ]
setsebool:  SELinux is disabled.
Shutting down NIS services:                                [  OK  ]
Binding to the NIS domain:                                 [  OK  ]
Listening for an NIS domain server.
Stopping nscd:                                             [  OK  ]
Starting nscd:                                             [  OK  ]
The libuser package can be configured for user management via SSL LDAP.
Do you want to enable this host to manage users on OID  [y]: n
Stopping nscd:                                             [  OK  ]
Starting nscd:                                             [  OK  ]
Configured test-host for LDAP authentication.

E.5 Oracle Enterprise Linux 4でのスクリプト実行のリセット

$ ./resetClient.sh 

OAS4OS: Release 11.1.1.3.0 - Production
Copyright (c) 2009 Oracle.  All rights reserved.

Resetting OAS4OS client ...
Executing this script will reset this OAS4OS client machine to backed up state.
Do you want to reset test-host and remove OAS4OS configuration [n]: y
Specify the OAS4OS backup folder path: /etc/oracle_backup_20100406231757
Executing auth-config ...
Stopping portmap:                                          [  OK  ]
Starting portmap:                                          [  OK  ]
setsebool:  SELinux is disabled.
Shutting down NIS services:                                [  OK  ]
Binding to the NIS domain:                                 [  OK  ]
Listening for an NIS domain server.
Stopping nscd:                                             [  OK  ]
Starting nscd:                                             [  OK  ]
Stopping nscd:                                             [  OK  ]
Starting nscd:                                             [  OK  ]
Client reset completed successfully.