NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
authentication.type=ldap-auth

ldap.url=ldap://<ip address><port number>
ldap.basedn=dc=<org name>,dc=org
ldap.user=CN=admin,dc=<org name>,dc=org
ldap.pass=<password>

ldap.memberOf.attribute.name=isMemberOf
ldap.mail.attribute.name=mail
ldap.group.ignore.list=PwmAdmins,devTeam,nlst,testGroup
public.collection.access.group.name=General User
product.variation=NBIA
ldap.user and ldap.pass must be the administrator information of LDAP server.

3.

...

In

...

jaas.conf

...

(Tomcat7.0/conf/jaas.conf)

...

NCIA

...

{

...

gov.nih.nci.security.authentication.loginmodules.LDAPLoginModule

...

Required

...

ldapHost="ldap://<ip

...

address><port

...

number>"

...

ldapSearchableBase="dc=<org

...

name>,dc=org"

...

ldapUserIdLabel="cn"

...

ldapAdminUserName="CN=admin,dc=<org

...

name>,dc=org"

...

ldapAdminPassword="<password>";

...

};

The jaas.conf is generated during NBIA installation. The default ldapUserIdLabel is cn, which means the LDAP server will search the cn value, then compare it to the login username. If the user name exists in the LDAP server, the LDAP server will authenticate this user.

...