Actually - I want to be able to use the default admin account to
access rundeck. I can use LDAP unless I have a way to get into the
application if ldap is down. I have a working config now. I can login
as myself. I am using the following jaas config if anyone is
interested
activedirectory {
org.mortbay.jetty.plus.jaas.spi.PropertyFileLoginModule sufficient
debug="true"
file="/etc/rundeck/realm.properties";
com.dtolabs.rundeck.jetty.jaas.JettyCachingLdapLoginModule
required
contextFactory="com.sun.jndi.ldap.LdapCtxFactory"
providerUrl="ldap://xxxxxxxxxxxxxxxxx"
port="389"
bindDn="xxxxxxxxxxxxxxxxxxxxx"
bindPassword="xxxxxxxxxxxx"
authenticationMethod="simple"
forceBindingLogin="true"
userBaseDn="xxxxxxxxxxxxxxxxxxxxxxxx"
userRdnAttribute="cn"
userIdAttribute="sAMAccountName"
userPasswordAttribute="unicodePwd"
userObjectClass="user"
roleBaseDn="xxxxxxxxxxxxxxxxxxxx"
roleNameAttribute="cn"
roleMemberAttribute="sAMAccountName"
roleObjectClass="groupOfUniqueNames"
cacheDurationMillis="300000"
reportStatistics="true";
};
I get a not authorized error when I login as myself with the following
error message
WARN AuthorizationFilters: User ebailey has no role membership in
mapped roles
[Fatal Error] admin.aclpolicy:1:1: Content is not allowed in prolog.
WARN AuthorizationFilters: User ebailey has no role membership in
mapped roles
ERROR AuthorizationFilters: User ebailey UNAUTHORIZED for framework/
nodes
2011-04-05 12:25:37.867:/:INFO: Initializing Spring FrameworkServlet
'gsp'
2011-04-05 12:25:37.867:/:INFO: GSP servlet initialized
[Fatal Error] admin.aclpolicy:1:1: Content is not allowed in prolog.
[Fatal Error] admin.aclpolicy:1:1: Content is not allowed in prolog.
I am going to take a look at the manual for answers. I assume I need
to do some mapping in one of the config files to authorize my login or
do I need to change my jass config?
Thanks
Ed