You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Bill MacAllister <wh...@stanford.edu> on 2012/01/19 23:48:02 UTC
Apache Directory Studio 2.0 M1
I just downloaded ADS 2.0 on my MacBook and tried binding to our directory
servers
using GSSAPI. I am getting the following error.
Error while opening connection
- javax.security.auth.login.LoginException: Could not load configuration
from SCDynamicStore
org.apache.directory.shared.ldap.model.exception.LdapException:
javax.security.auth.login.LoginException: Could not load configuration from
SCDynamicStore
at
org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1595)
at
org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1487)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$2.run(DirectoryApiConnectionWrapper.java:438)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1161)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doBind(DirectoryApiConnectionWrapper.java:451)
at
org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.bind(DirectoryApiConnectionWrapper.java:299)
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:109)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: javax.security.auth.login.LoginException: Could not load
configuration from SCDynamicStore
at
com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:486)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at
org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1582)
I have a valid Kerberos ticket and ldapsearch binds just fine. Am I
missing something? What should
I try next?
Bill
--
Bill MacAllister
Infrastructure Delivery Group, Stanford University
Re: Apache Directory Studio 2.0 M1
Posted by Bill MacAllister <wh...@stanford.edu>.
--On Friday, January 20, 2012 08:00:11 AM +0100 Pierre-Arnaud Marcelot <pa...@marcelot.net> wrote:
> Hi Bill, Emmanuel,
>
> On 20 janv. 2012, at 07:52, Emmanuel Lecharny wrote:
>
>> On 1/19/12 11:48 PM, Bill MacAllister wrote:
>>> I just downloaded ADS 2.0 on my MacBook and tried binding to our directory
>>> servers
>>> using GSSAPI. I am getting the following error.
>>>
>>> Error while opening connection
>>> - javax.security.auth.login.LoginException: Could not load configuration
>>> from SCDynamicStore
>>> org.apache.directory.shared.ldap.model.exception.LdapException:
>>> javax.security.auth.login.LoginException: Could not load configuration from
>>> SCDynamicStore
>>> at
>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1595)
... error message truncated ...
>>>
>>> I have a valid Kerberos ticket and ldapsearch binds just fine. Am I
>>> missing something? What should
>>> I try next?
>>
>> Can you try with a JNDI based connection ?
>
> This SCDynamicStore issue really seems to be related with Java on OS X Lion.
Agreed. I have seen an assortment of problems with the change to Heimdal on
Mac OS X. To get our OpenFire IM server to accept GSSAPI connections from
Lion I had to patch OpenJDK-7.
> Can you also give us what version of OS X and Java you are using?
Mac OS X Lion 10.7.2 (11C74)
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)
Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
Note, I am not sure this is new behavior. I have not run 1.5.7 on my
MacBook. Let me know if you want me to file a Jira ticket.
Bill
> Thanks,
> Pierre-Arnaud
>
>> --
>> Regards,
>> Cordialement,
>> Emmanuel Lécharny
>> www.iktek.com
>>
>
--
Bill MacAllister
Infrastructure Delivery Group, Stanford University
Re: Apache Directory Studio 2.0 M1
Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
On 20 janv. 2012, at 08:00, Pierre-Arnaud Marcelot wrote:
> Hi Bill, Emmanuel,
>
> On 20 janv. 2012, at 07:52, Emmanuel Lecharny wrote:
>
>> On 1/19/12 11:48 PM, Bill MacAllister wrote:
>>> I just downloaded ADS 2.0 on my MacBook and tried binding to our directory
>>> servers
>>> using GSSAPI. I am getting the following error.
>>>
>>> Error while opening connection
>>> - javax.security.auth.login.LoginException: Could not load configuration
>>> from SCDynamicStore
>>> org.apache.directory.shared.ldap.model.exception.LdapException:
>>> javax.security.auth.login.LoginException: Could not load configuration from
>>> SCDynamicStore
>>> at
>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1595)
>>> at
>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1487)
>>> at
>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$2.run(DirectoryApiConnectionWrapper.java:438)
>>> at
>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1161)
>>> at
>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doBind(DirectoryApiConnectionWrapper.java:451)
>>> at
>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.bind(DirectoryApiConnectionWrapper.java:299)
>>> 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:109)
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>>> Caused by: javax.security.auth.login.LoginException: Could not load
>>> configuration from SCDynamicStore
>>> at
>>> com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:486)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
>>> at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
>>> at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
>>> at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
>>> at
>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1582)
>>>
>>> I have a valid Kerberos ticket and ldapsearch binds just fine. Am I
>>> missing something? What should
>>> I try next?
>>
>> Can you try with a JNDI based connection ?
>
> This SCDynamicStore issue really seems to be related with Java on OS X Lion.
>
> Can you also give us what version of OS X and Java you are using?
FYI, I've been able to reproduce the issue here with an ApacheDS (trunk version) server and Studio (trunk version) using:
- Use native TGT (in Kerberos Credential Configuration)
- Use native system configuration (in Kerberos Configuration)
ATM, I have no idea, why we get this error but, after some googling, it really seems related to the access of Kerberos settings via Java on OS X Lion.
Similar issue are listed in the mailing lists from Apache Hadoop and OpenJDK (Mac OS X port)
Regards,
Pierre-Arnaud
> Thanks,
> Pierre-Arnaud
>
>> --
>> Regards,
>> Cordialement,
>> Emmanuel Lécharny
>> www.iktek.com
>>
>
Re: Apache Directory Studio 2.0 M1
Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi Bill, Emmanuel,
On 20 janv. 2012, at 07:52, Emmanuel Lecharny wrote:
> On 1/19/12 11:48 PM, Bill MacAllister wrote:
>> I just downloaded ADS 2.0 on my MacBook and tried binding to our directory
>> servers
>> using GSSAPI. I am getting the following error.
>>
>> Error while opening connection
>> - javax.security.auth.login.LoginException: Could not load configuration
>> from SCDynamicStore
>> org.apache.directory.shared.ldap.model.exception.LdapException:
>> javax.security.auth.login.LoginException: Could not load configuration from
>> SCDynamicStore
>> at
>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1595)
>> at
>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1487)
>> at
>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$2.run(DirectoryApiConnectionWrapper.java:438)
>> at
>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1161)
>> at
>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doBind(DirectoryApiConnectionWrapper.java:451)
>> at
>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.bind(DirectoryApiConnectionWrapper.java:299)
>> 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:109)
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>> Caused by: javax.security.auth.login.LoginException: Could not load
>> configuration from SCDynamicStore
>> at
>> com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:486)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
>> at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
>> at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
>> at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
>> at
>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1582)
>>
>> I have a valid Kerberos ticket and ldapsearch binds just fine. Am I
>> missing something? What should
>> I try next?
>
> Can you try with a JNDI based connection ?
This SCDynamicStore issue really seems to be related with Java on OS X Lion.
Can you also give us what version of OS X and Java you are using?
Thanks,
Pierre-Arnaud
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
Re: Apache Directory Studio 2.0 M1
Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
On 20 janv. 2012, at 22:45, Bill MacAllister wrote:
>
>
> --On Friday, January 20, 2012 10:14:26 PM +0100 Pierre-Arnaud Marcelot <pa...@gmail.com> wrote:
>
>> Le 20 janv. 2012 à 21:25, Bill MacAllister <wh...@stanford.edu> a écrit :
>>
>>> --On Friday, January 20, 2012 07:52:14 AM +0100 Emmanuel Lecharny <el...@gmail.com> wrote:
>>>
>>>> On 1/19/12 11:48 PM, Bill MacAllister wrote:
>>>>> I just downloaded ADS 2.0 on my MacBook and tried binding to our directory
>>>>> servers
>>>>> using GSSAPI. I am getting the following error.
>>>>>
>>>>> Error while opening connection
>>>>> - javax.security.auth.login.LoginException: Could not load configuration
>>>>> from SCDynamicStore
>>>>> org.apache.directory.shared.ldap.model.exception.LdapException:
>>>>> javax.security.auth.login.LoginException: Could not load configuration from
>>>>> SCDynamicStore
>>>>> at
>>>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1595)
>>>>> at
>>>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1487)
>>>>> at
>>>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$2.run(DirectoryApiConnectionWrapper.java:438)
>>>>> at
>>>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1161)
>>>>> at
>>>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doBind(DirectoryApiConnectionWrapper.java:451)
>>>>> at
>>>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.bind(DirectoryApiConnectionWrapper.java:299)
>>>>> 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:109)
>>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>>>>> Caused by: javax.security.auth.login.LoginException: Could not load
>>>>> configuration from SCDynamicStore
>>>>> at
>>>>> com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:486)
>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>> at
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>> at
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>>> at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
>>>>> at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
>>>>> at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>> at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
>>>>> at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
>>>>> at
>>>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1582)
>>>>>
>>>>> I have a valid Kerberos ticket and ldapsearch binds just fine. Am I
>>>>> missing something? What should
>>>>> I try next?
>>>>
>>>> Can you try with a JNDI based connection ?
>>>
>>> I get pretty much the same error if I use JNDI. Attached are the
>>> error messages I am seeing.
>>
>> Interesting. The API doesn't seem to be the cause of the error then,
>> but rather the JVM.
>>
>> Another question, was everything working correctly with Studio version 1.5.3?
>
> I had not installed 1.5 on my MacBook. I did try to answer that
> question, but I am a rank user of OS X and I couldn't get 1.5.7
> installed next to 2.0. I will try and improve my OS X skills and see
> if I can get an answer over the weekend.
Hehe, I see.
You can try to rename the 2.0 version of Studio as "Apache Directory Studio 2.0" and try to install (via drag&drop on the 'Applications' folder) the 1.5.3 version.
This way you'll have both applications in your Applications folder.
Hope this helps,
Pierre-Arnaud
> Bill
>
>> Regards,
>> Pierre-Arnaud
>>
>>> Bill
>>>
>>> --
>>>
>>> Bill MacAllister
>>> Infrastructure Delivery Group, Stanford University
>>> <ads-connection-errors.txt>
>
>
>
> --
>
> Bill MacAllister
> Infrastructure Delivery Group, Stanford University
>
Re: Apache Directory Studio 2.0 M1
Posted by Bill MacAllister <wh...@stanford.edu>.
--On Friday, January 20, 2012 10:14:26 PM +0100 Pierre-Arnaud Marcelot <pa...@gmail.com> wrote:
> Le 20 janv. 2012 à 21:25, Bill MacAllister <wh...@stanford.edu> a écrit :
>
>> --On Friday, January 20, 2012 07:52:14 AM +0100 Emmanuel Lecharny <el...@gmail.com> wrote:
>>
>>> On 1/19/12 11:48 PM, Bill MacAllister wrote:
>>>> I just downloaded ADS 2.0 on my MacBook and tried binding to our directory
>>>> servers
>>>> using GSSAPI. I am getting the following error.
>>>>
>>>> Error while opening connection
>>>> - javax.security.auth.login.LoginException: Could not load configuration
>>>> from SCDynamicStore
>>>> org.apache.directory.shared.ldap.model.exception.LdapException:
>>>> javax.security.auth.login.LoginException: Could not load configuration from
>>>> SCDynamicStore
>>>> at
>>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1595)
>>>> at
>>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1487)
>>>> at
>>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$2.run(DirectoryApiConnectionWrapper.java:438)
>>>> at
>>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1161)
>>>> at
>>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doBind(DirectoryApiConnectionWrapper.java:451)
>>>> at
>>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.bind(DirectoryApiConnectionWrapper.java:299)
>>>> 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:109)
>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>>>> Caused by: javax.security.auth.login.LoginException: Could not load
>>>> configuration from SCDynamicStore
>>>> at
>>>> com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:486)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
>>>> at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
>>>> at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>> at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
>>>> at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
>>>> at
>>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1582)
>>>>
>>>> I have a valid Kerberos ticket and ldapsearch binds just fine. Am I
>>>> missing something? What should
>>>> I try next?
>>>
>>> Can you try with a JNDI based connection ?
>>
>> I get pretty much the same error if I use JNDI. Attached are the
>> error messages I am seeing.
>
> Interesting. The API doesn't seem to be the cause of the error then,
> but rather the JVM.
>
> Another question, was everything working correctly with Studio version 1.5.3?
I had not installed 1.5 on my MacBook. I did try to answer that
question, but I am a rank user of OS X and I couldn't get 1.5.7
installed next to 2.0. I will try and improve my OS X skills and see
if I can get an answer over the weekend.
Bill
> Regards,
> Pierre-Arnaud
>
>> Bill
>>
>> --
>>
>> Bill MacAllister
>> Infrastructure Delivery Group, Stanford University
>> <ads-connection-errors.txt>
--
Bill MacAllister
Infrastructure Delivery Group, Stanford University
Re: Apache Directory Studio 2.0 M1
Posted by Pierre-Arnaud Marcelot <pa...@gmail.com>.
Le 20 janv. 2012 à 21:25, Bill MacAllister <wh...@stanford.edu> a écrit :
> --On Friday, January 20, 2012 07:52:14 AM +0100 Emmanuel Lecharny <el...@gmail.com> wrote:
>
>> On 1/19/12 11:48 PM, Bill MacAllister wrote:
>>> I just downloaded ADS 2.0 on my MacBook and tried binding to our directory
>>> servers
>>> using GSSAPI. I am getting the following error.
>>>
>>> Error while opening connection
>>> - javax.security.auth.login.LoginException: Could not load configuration
>>> from SCDynamicStore
>>> org.apache.directory.shared.ldap.model.exception.LdapException:
>>> javax.security.auth.login.LoginException: Could not load configuration from
>>> SCDynamicStore
>>> at
>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1595)
>>> at
>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1487)
>>> at
>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$2.run(DirectoryApiConnectionWrapper.java:438)
>>> at
>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1161)
>>> at
>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doBind(DirectoryApiConnectionWrapper.java:451)
>>> at
>>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.bind(DirectoryApiConnectionWrapper.java:299)
>>> 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:109)
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>>> Caused by: javax.security.auth.login.LoginException: Could not load
>>> configuration from SCDynamicStore
>>> at
>>> com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:486)
>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>> at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
>>> at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
>>> at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
>>> at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
>>> at
>>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1582)
>>>
>>> I have a valid Kerberos ticket and ldapsearch binds just fine. Am I
>>> missing something? What should
>>> I try next?
>>
>> Can you try with a JNDI based connection ?
>
> I get pretty much the same error if I use JNDI. Attached are the
> error messages I am seeing.
Interesting. The API doesn't seem to be the cause of the error then,
but rather the JVM.
Another question, was everything working correctly with Studio version 1.5.3?
Regards,
Pierre-Arnaud
> Bill
>
> --
>
> Bill MacAllister
> Infrastructure Delivery Group, Stanford University
> <ads-connection-errors.txt>
Re: Apache Directory Studio 2.0 M1
Posted by Bill MacAllister <wh...@stanford.edu>.
--On Friday, January 20, 2012 07:52:14 AM +0100 Emmanuel Lecharny <el...@gmail.com> wrote:
> On 1/19/12 11:48 PM, Bill MacAllister wrote:
>> I just downloaded ADS 2.0 on my MacBook and tried binding to our directory
>> servers
>> using GSSAPI. I am getting the following error.
>>
>> Error while opening connection
>> - javax.security.auth.login.LoginException: Could not load configuration
>> from SCDynamicStore
>> org.apache.directory.shared.ldap.model.exception.LdapException:
>> javax.security.auth.login.LoginException: Could not load configuration from
>> SCDynamicStore
>> at
>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1595)
>> at
>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1487)
>> at
>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$2.run(DirectoryApiConnectionWrapper.java:438)
>> at
>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1161)
>> at
>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doBind(DirectoryApiConnectionWrapper.java:451)
>> at
>> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.bind(DirectoryApiConnectionWrapper.java:299)
>> 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:109)
>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
>> Caused by: javax.security.auth.login.LoginException: Could not load
>> configuration from SCDynamicStore
>> at
>> com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:486)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
>> at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
>> at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
>> at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
>> at
>> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1582)
>>
>> I have a valid Kerberos ticket and ldapsearch binds just fine. Am I
>> missing something? What should
>> I try next?
>
> Can you try with a JNDI based connection ?
I get pretty much the same error if I use JNDI. Attached are the
error messages I am seeing.
Bill
--
Bill MacAllister
Infrastructure Delivery Group, Stanford University
Re: Apache Directory Studio 2.0 M1
Posted by Emmanuel Lecharny <el...@gmail.com>.
On 1/19/12 11:48 PM, Bill MacAllister wrote:
> I just downloaded ADS 2.0 on my MacBook and tried binding to our directory
> servers
> using GSSAPI. I am getting the following error.
>
> Error while opening connection
> - javax.security.auth.login.LoginException: Could not load configuration
> from SCDynamicStore
> org.apache.directory.shared.ldap.model.exception.LdapException:
> javax.security.auth.login.LoginException: Could not load configuration from
> SCDynamicStore
> at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1595)
> at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.bind(LdapNetworkConnection.java:1487)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$2.run(DirectoryApiConnectionWrapper.java:438)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1161)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.doBind(DirectoryApiConnectionWrapper.java:451)
> at
> org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.bind(DirectoryApiConnectionWrapper.java:299)
> 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:109)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: javax.security.auth.login.LoginException: Could not load
> configuration from SCDynamicStore
> at
> com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:486)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
> at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
> at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
> at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
> at
> org.apache.directory.ldap.client.api.LdapNetworkConnection.bindAsync(LdapNetworkConnection.java:1582)
>
> I have a valid Kerberos ticket and ldapsearch binds just fine. Am I
> missing something? What should
> I try next?
Can you try with a JNDI based connection ?
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com