Skip to content

Kerberos pass-through authentication plugin for OpenDJ 3.x LDAP server

Notifications You must be signed in to change notification settings

kofemann/opendj-kpa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is an OpenDJ authentication policy plugin for users whose credentials are managed by an external Kerberos realm.

Requirements

  1. Java sdk 11 or above
  2. maven 3.0
  3. Access to ForgeRock protected Maven repositories1

Build and Install

  1. enable ForgeRock Maven repositories1

  2. build and install the extention

$ mvn clean package
  1. add opendj-kpa to your OpenDJ installation
$ cd <opendj-install directory>
$ unzip opendj-kpa-xxx.zip
  1. restart the server
$ bin/stop-ds --restart
  1. configure the pass-through for kerberos
$ bin/dsconfig -X create-password-policy \
   --type kerberos-pass-through \
   --policy-name "Krb5 Pass Through" \
   --set krb5-realm:EXAMPLE.COM \
   --set mapped-attribute:uid
  1. assign pass-through authentication to users

You assign authentication policies in the same way as you assign password policies, by using the ds-pwp-password-policy-dn attribute:

ds-pwp-password-policy-dn: cn=Krb5 Pass Through,cn=Password Policies,cn=config

Users depending on pass through authentication no longer need a local password policy, as they no longer authenticate locally.

More Info

Configuring Pass Through Authentication

License

License under CDDL-1.0