Skip to content

Instantly share code, notes, and snippets.

@rmueck
Created September 18, 2019 12:19
Show Gist options
  • Select an option

  • Save rmueck/51890c2431b4b0a5b6584f3d95a516c0 to your computer and use it in GitHub Desktop.

Select an option

Save rmueck/51890c2431b4b0a5b6584f3d95a516c0 to your computer and use it in GitHub Desktop.
multipleauth {
org.eclipse.jetty.jaas.spi.PropertyFileLoginModule sufficient
debug="true"
file="/etc/rundeck/realm.properties"
refreshInterval="60"
caseInsensitive="true";
com.dtolabs.rundeck.jetty.jaas.JettyCachingLdapLoginModule required
debug="true"
contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
providerUrl="ldap://xxx.xxx.xxx.xxx:389"
bindDn="CN=something,DC=sample,DC=example,DC=com"
bindPassword="secret"
authenticationMethod="simple"
forceBindingLogin="true"
userBaseDn="DC=sample,DC=example,DC=com"
userRdnAttribute="sAMAccountName"
userIdAttribute="sAMAccountName"
userPasswordAttribute="unicodePwd"
userObjectClass="user"
roleBaseDn="DC=sample,DC=example,DC=com"
roleNameAttribute="cn"
roleMemberAttribute="member"
roleObjectClass="group"
cacheDurationMillis="30000"
reportStatistics="true"
timeoutRead="10000"
timeoutConnect="20000"
nestedGroups="true"
storePass="true";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment