13.07.2015 Views

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

IBM WebSphere V5.0 Security - CGISecurity

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1. ldap.prop is an LDAP configuration file for the Web server. It is stored in theconf directory of the server (in our case it is c:\<strong>IBM</strong>HttpServer\conf). A sampleLDAP configuration file with explanation of each directive is supplied withWeb server software. For basic authentication, the following entries areincluded.Example 4-1 LDAP configuration for <strong>IBM</strong> HTTP Serverldap.realm=LDAP Realmldap.URL=ldap://websrv01/o=itsoldap.transport=TCPldap.application.authType=Basicldap.application.DN=cn=wasadmin,o=itsoldap.application.password.stashFile=ldap.sthldap.user.authType=Basicldap.group.name.filter=(&(cn=%v1)(|(objectclass=groupofnames)(objectclass=groupofuniquenames)))ldap.group.memberAttributes=member uniquememberldap.idleConnection.timeout=600ldap.waitToRetryConnection.interval=300ldap.search.timeout=10ldap.cache.timeout=600where– ldap.URL is of the form ldap:///– ldap.application.DN is the DN by which the Web server authenticates itselfto the LDAP Server.2. ldap.sth is a stash file containing an encrypted password for the Web serverto authenticate with LDAP. You need to decide with which user name andpassword the Web server will connect to LDAP. To create the stash file, enterat the command prompt:C:\<strong>IBM</strong>HTTPServer\ldapstash C:\ProgramFiles\<strong>IBM</strong>HTTPServer\ldap.sthConfigure your Web Server to use LDAP for authenticationThe following steps will describe how to configure the <strong>IBM</strong> HTTP Server to useLDAP for authentication.1. Add the LDAP module to the Web server configuration. From a Web browser,go to the IHS server configuration. Go to http://localhost then selectConfigure server. When prompted, enter your Web server administration IDand password.40 <strong>IBM</strong> <strong>WebSphere</strong> <strong>V5.0</strong> <strong>Security</strong> Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!