Skip to content

Instantly share code, notes, and snippets.

@dpetzel
Created March 15, 2014 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpetzel/9572935 to your computer and use it in GitHub Desktop.
Save dpetzel/9572935 to your computer and use it in GitHub Desktop.
cat /etc/rundeck/jaas-activedirectory.conf
activedirectory {
com.dtolabs.rundeck.jetty.jaas.JettyCachingLdapLoginModule sufficient
debug="true"
contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
providerUrl="ldap://<redacted>:389"
bindDn="<redacted>"
bindPassword="<redacted>"
authenticationMethod="simple"
forceBindingLogin="true"
userBaseDn="<redacted>"
userRdnAttribute="sAMAccountName"
userIdAttribute="sAMAccountName"
userPasswordAttribute="unicodePwd"
userObjectClass="user"
roleBaseDn="<redacted>"
roleNameAttribute="cn"
roleMemberAttribute="member"
roleObjectClass="group"
cacheDurationMillis="300000"
reportStatistics="true";
// fall back to local authentication
org.eclipse.jetty.plus.jaas.spi.PropertyFileLoginModule required
debug="true"
file="/etc/rundeck/realm.properties";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment