OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Has anyone connected ActiveMQ to Active Directory?


Hi Mike

I don't know if it'll help, but here is my working config from a test
server with both Active Directory and ActiveMQ running on the same server:

activemq {
    org.apache.activemq.jaas.LDAPLoginModule required
    debug=true
    initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory
    connectionURL="ldap://192.168.37.212:389";
    connectionUsername="CN=ActiveMQ
Bind,OU=Accounts,OU=ActiveMQ,DC=ad,DC=myorg,DC=net"
    connectionPassword="mybinduserspasswordgoeshere"
    connectionProtocol="s"
    authentication=simple
    userBase="OU=Accounts,OU=ActiveMQ,DC=ad,DC=myorg,DC=net"
    userSearchMatching="(CN={0})"
    userSearchSubtree=true
    roleBase="OU=Roles,OU=ActiveMQ,DC=ad,DC=myorg,DC=net"
    roleName=CN
    roleSearchMatching="(member={0})"
    roleSearchSubtree=false;
};

I'm not sure what the "s" means for the connectionProtocol but I'll debug
it through and find out for you.

Kind Regards

Jon

On Tue, May 8, 2018 at 5:21 PM, mtod <mtod@xxxxxxxxxxx> wrote:

> I moved the directory to c:\ActiveMQ I still get the same error so it's not
> the nested level of the directory.
>
> Not sure where to go from here it's having issues with the URL protocol on
> a
> windows system path "c:\"
> It keeps parsing out the "c:" instead of inserting the "file" protocol.
>
> Mike
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>