Skip to content

Instantly share code, notes, and snippets.

@ericrdgz
Created July 19, 2017 01:57
Show Gist options
  • Save ericrdgz/9006483215b6a018060f8d495d2aa328 to your computer and use it in GitHub Desktop.
Save ericrdgz/9006483215b6a018060f8d495d2aa328 to your computer and use it in GitHub Desktop.
jaas-activedirectory.conf
activedirectory {
com.dtolabs.rundeck.jetty.jaas.JettyCachingLdapLoginModule required
debug="true"
contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
providerUrl="ldap://ad-server.ad.myorg.com:389"
bindDn="admin@ad.myorg.com"
bindPassword="password_goes_here"
authenticationMethod="simple"
forceBindingLogin="true"
userBaseDn="dc=ad,dc=myorg,dc=com"
userRdnAttribute="sAMAccountName"
userIdAttribute="sAMAccountName"
userPasswordAttribute="unicodePwd"
userObjectClass="user"
roleBaseDn="dc=ad,dc=myorg,dc=com"
roleNameAttribute="cn"
roleMemberAttribute="member"
roleObjectClass="group"
cacheDurationMillis="0"
reportStatistics="true";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment