You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "teo (JIRA)" <ji...@apache.org> on 2010/01/28 17:01:35 UTC

[jira] Created: (DIRSTUDIO-622) Apache Directory Studio Authentication Referral

Apache Directory Studio Authentication Referral
-----------------------------------------------

                 Key: DIRSTUDIO-622
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-622
             Project: Directory Studio
          Issue Type: Question
          Components: studio-ldapbrowser
    Affects Versions: 1.5.2
            Reporter: teo


Does Apache directory Studio support referral during authentication? Setting up a user referral like this (http://www.centos.org/docs/5/html/CDS/ag/8.0/Configuring_Directory_Databases-Using_Referrals.html) my user cannot authenticate anymore, getting this error. 

Error while opening connection
 - [LDAP: error code 10 - Referral]
  javax.naming.PartialResultException: [LDAP: error code 10 - Referral]
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2877)
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2789)
	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2703)
	at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2602)
	at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2576)
	at com.sun.jndi.ldap.LdapCtx.reconnect(LdapCtx.java:2572)
	at javax.naming.ldap.InitialLdapContext.reconnect(InitialLdapContext.java:173)
	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$7.run(JNDIConnectionWrapper.java:1055)
	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)
	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doBind(JNDIConnectionWrapper.java:1065)
	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.bind(JNDIConnectionWrapper.java:254)
	at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.run(OpenConnectionsRunnable.java:114)
	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

  [LDAP: error code 10 - Referral]


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSTUDIO-622) Apache Directory Studio Authentication Referral

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann closed DIRSTUDIO-622.
-------------------------------------

    Resolution: Not A Problem

Didn't get further information, so closing this question.

We won't add support for this in the 1.5.x as we still use JNDI and referral handling in JNDI is a mess.


> Apache Directory Studio Authentication Referral
> -----------------------------------------------
>
>                 Key: DIRSTUDIO-622
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-622
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.2
>            Reporter: teo
>
> Does Apache directory Studio support referral during authentication? Setting up a user referral like this (http://www.centos.org/docs/5/html/CDS/ag/8.0/Configuring_Directory_Databases-Using_Referrals.html) my user cannot authenticate anymore, getting this error. 
> Error while opening connection
>  - [LDAP: error code 10 - Referral]
>   javax.naming.PartialResultException: [LDAP: error code 10 - Referral]
> 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2877)
> 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2789)
> 	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2703)
> 	at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2602)
> 	at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2576)
> 	at com.sun.jndi.ldap.LdapCtx.reconnect(LdapCtx.java:2572)
> 	at javax.naming.ldap.InitialLdapContext.reconnect(InitialLdapContext.java:173)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$7.run(JNDIConnectionWrapper.java:1055)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doBind(JNDIConnectionWrapper.java:1065)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.bind(JNDIConnectionWrapper.java:254)
> 	at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.run(OpenConnectionsRunnable.java:114)
> 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>   [LDAP: error code 10 - Referral]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-622) Apache Directory Studio Authentication Referral

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842658#action_12842658 ] 

Stefan Seelmann commented on DIRSTUDIO-622:
-------------------------------------------

I need some more information. 

If server A sends a referral during bind, we follow the referral and bind to server B. Is the result a valid connection (session) to server A and B?


> Apache Directory Studio Authentication Referral
> -----------------------------------------------
>
>                 Key: DIRSTUDIO-622
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-622
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.2
>            Reporter: teo
>
> Does Apache directory Studio support referral during authentication? Setting up a user referral like this (http://www.centos.org/docs/5/html/CDS/ag/8.0/Configuring_Directory_Databases-Using_Referrals.html) my user cannot authenticate anymore, getting this error. 
> Error while opening connection
>  - [LDAP: error code 10 - Referral]
>   javax.naming.PartialResultException: [LDAP: error code 10 - Referral]
> 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2877)
> 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2789)
> 	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2703)
> 	at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2602)
> 	at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2576)
> 	at com.sun.jndi.ldap.LdapCtx.reconnect(LdapCtx.java:2572)
> 	at javax.naming.ldap.InitialLdapContext.reconnect(InitialLdapContext.java:173)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$7.run(JNDIConnectionWrapper.java:1055)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doBind(JNDIConnectionWrapper.java:1065)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.bind(JNDIConnectionWrapper.java:254)
> 	at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.run(OpenConnectionsRunnable.java:114)
> 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>   [LDAP: error code 10 - Referral]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-622) Apache Directory Studio Authentication Referral

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806281#action_12806281 ] 

Stefan Seelmann commented on DIRSTUDIO-622:
-------------------------------------------

No, referrals during bind are not supported. I'll have a look to see how complicated it is to implement.

> Apache Directory Studio Authentication Referral
> -----------------------------------------------
>
>                 Key: DIRSTUDIO-622
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-622
>             Project: Directory Studio
>          Issue Type: Question
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.2
>            Reporter: teo
>
> Does Apache directory Studio support referral during authentication? Setting up a user referral like this (http://www.centos.org/docs/5/html/CDS/ag/8.0/Configuring_Directory_Databases-Using_Referrals.html) my user cannot authenticate anymore, getting this error. 
> Error while opening connection
>  - [LDAP: error code 10 - Referral]
>   javax.naming.PartialResultException: [LDAP: error code 10 - Referral]
> 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2877)
> 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2789)
> 	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2703)
> 	at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2602)
> 	at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2576)
> 	at com.sun.jndi.ldap.LdapCtx.reconnect(LdapCtx.java:2572)
> 	at javax.naming.ldap.InitialLdapContext.reconnect(InitialLdapContext.java:173)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$7.run(JNDIConnectionWrapper.java:1055)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.doBind(JNDIConnectionWrapper.java:1065)
> 	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.bind(JNDIConnectionWrapper.java:254)
> 	at org.apache.directory.studio.connection.core.jobs.OpenConnectionsRunnable.run(OpenConnectionsRunnable.java:114)
> 	at org.apache.directory.studio.connection.core.jobs.StudioConnectionJob.run(StudioConnectionJob.java:114)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>   [LDAP: error code 10 - Referral]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.