似乎无法为 Active Directory Auth 配置 Rundeck
https://docs.rundeck.com/docs/administration/security/authentication.html
我在/rundeck/server/config/jaas-loginmodule.conf
我运行什么 Windows 命令来查找这些对象名称?
RDpropertyfilelogin {
com.dtolabs.rundeck.jetty.jaas.JettyCachingLdapLoginModule sufficient
debug="true"
contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
providerUrl="ldap://hpwidc00011.corporate.local:389"
bindDn="cn=svc_rundeck,dc=corporate,dc=local"
bindPassword="X"
authenticationMethod="simple"
forceBindingLogin="false"
userBaseDn="ou=Users,dc=Corporate,dc=corporate,dc=local"
userRdnAttribute="sAMAccountName"
userIdAttribute="sAMAccountName"
userPasswordAttribute="userPassword"
userObjectClass="user"
userLastNameAttribute="sn"
userFirstNameAttribute="givenName"
userEmailAttribute="mail"
roleBaseDn="ou=Users,dc=corporate,dc=local"
roleNameAttribute="cn"
roleUsernameMemberAttribute="memberUid"
roleMemberAttribute="member"
roleObjectClass="group"
cacheDurationMillis="300000"
reportStatistics="true"
timeoutRead="10000"
timeoutConnect="20000"
nestedGroups="true";
org.eclipse.jetty.jaas.spi.PropertyFileLoginModule required
debug="true"
file="/securepay/app/rundeck/server/config/realm.properties";
};
以上并且有效