iMQ 2.0 and LDAP for user authentication

Using the notes at http://knowledgebase.iplanet.com/ikb/kb/articles/7772.html

i set up an LDAP with iMQ. The LDAP works OK for storing topics,

connection factories, etc from jmqadmin

The LDAP also now contains the 2 users as outlined in article 7772 -

admin and guest.

The broker stats up OK, but

when I try to use

jmqcmd query bkr -b localhost:7844 -u admin -p admin

this is what I get:

ERROR [B3018]: Unable to run the service admin, the broker will no longer accept connections on this service:

com.sun.messaging.jmq.jmsserver.util.BrokerException: [B4077]: Undefined authentication type basic

at com.sun.messaging.jmq.jmsserver.auth.AccessController.init(AccessController.jav a:99)

at com.sun.messaging.jmq.jmsserver.auth.AccessController.loadProps(AccessControlle r.java:251)

at com.sun.messaging.jmq.jmsserver.auth.AccessController.getInstance(AccessControl ler.java:206)

at com.sun.messaging.jmq.jmsserver.service.Connection.<init>(Connection.java :144)

at com.sun.messaging.jmq.jmsserver.service.standard.StandardConnection.<init> ;(StandardConnection.java:49)

at com.sun.messaging.jmq.jmsserver.service.standard.StandardService.run(StandardSe rvice.java:547)

at java.lang.Thread.run(Thread.java:484)

[1350 byte] By [705788] at [2007-11-25 8:39:07]
# 1
It's likely caused by trailing space after 'basic' in configurationimq.authantication.type=basicThis has been fixed in MQ 3.0.
amy.kang at 2007-7-1 15:15:47 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...
# 2
Thank you! This was it, I had trailing spaces on all those lines, because I copied them from the article.Now it all works fine.
705788 at 2007-7-1 15:15:47 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...