Skip to content

Instantly share code, notes, and snippets.

@gentunian
Created July 30, 2015 15:32
Show Gist options
  • Save gentunian/7c6dd33b2f7bcf6d7c68 to your computer and use it in GitHub Desktop.
Save gentunian/7c6dd33b2f7bcf6d7c68 to your computer and use it in GitHub Desktop.
activedirectorylogin {
com.dtolabs.rundeck.jetty.jaas.JettyCachingLdapLoginModule sufficient
debug="true"
contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
providerUrl="ldap://mydomain.com:389"
bindDn="<bind-user>"
bindPassword="<bind-user-password>"
authenticationMethod="simple"
forceBindingLogin="true"
userBaseDn="<base-dc>"
userRdnAttribute="sAMAccountName"
userIdAttribute="sAMAccountName"
userPasswordAttribute="unicodePwd"
rolePrefix="rundeck_"
userObjectClass="user"
roleBaseDn="<role-base-dn>"
roleNameAttribute="cn"
roleMemberAttribute="member"
roleObjectClass="group"
cacheDurationMillis="300000"
supplementalRoles="user,users"
reportStatistics="true";
org.rundeck.jaas.jetty.JettyAuthPropertyFileLoginModule required
debug="true"
storePass="true"
file="/opt/rundeck-latest/server/config/realm.properties";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment