[jadmin] LDAP as auth backend - Invalid DN Syntax
KWermann at misti.com
KWermann at misti.com
Fri Oct 21 11:32:45 CDT 2005
Someone here may know the answer, but I recommend you post this to the
Jive Messenger Boards on their website. A response from the product team
there is pretty quick, within a few hours usually.
Ken Wermann
jadmin-bounces at jabber.org wrote on 10/20/2005 09:26:09 AM:
> Hi dears...
>
> I'm using jabberd2 for now, but I'm in final stages to migrate to Jive
> Messenger, but a little inconvenient are stopping my work...
>
> I need LDAP as my auth backend, this is my configuration:
>
> <ldap>
> <host>ldap.jfsc.gov.br</host>
> <port>389</port>
> <usernameField>cn</usernameField>
> <nameField>cn</nameField>
> <emailField>mail</emailField>
> <baseDN>ou=USERJFSC,o=JFSC</baseDN>
> <adminDN/>
> <adminPassword/>
> </ldap>
>
> But when I try to acces the admin, or connect via client (Psi), this
> error is caught:
>
> >> Searching <<
> 2005.10.19 16:26:39 Trying to find a user's DN based on their username.
> cn: qlx, Base DN: ou=USERJFSC,o=JFSC...
> 2005.10.19 16:26:39 Creating a DirContext in LdapManager.getContext()...
> 2005.10.19 16:26:39 Created hashtable with context values, attempting to
> create context...
> 2005.10.19 16:26:39 ... context created successfully, returning.
> 2005.10.19 16:26:39 Starting LDAP search...
> 2005.10.19 16:26:40 ... search finished
>
> >> Found me! <<
> 2005.10.19 16:26:40 In LdapManager.checkAuthentication(userDN,
> password), userDN is:
> ldap://ldap.jfsc.gov.br:389/cn=QLX,ou=NINF,ou=FLP,o=JFSC...
> 2005.10.19 16:26:40 Created context values, attempting to create
context...
>
> >> Oooops... o.O <<
> 2005.10.19 16:26:40 Caught a naming exception when creating
InitialContext
> javax.naming.InvalidNameException: [LDAP: error code 34 - Invalid DN
> Syntax] <<
>
> My LDAP auth in Apache, in the same machine, works fine, using the same
> Base DN and the same username field...
>
> Any idea?
>
> Regards from Brazil :D
> --
> by qoelheXXIX
> _______________________________________________
> jadmin mailing list
> jadmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jadmin/attachments/20051021/94765009/attachment-0004.htm>
More information about the JAdmin
mailing list