You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by "Martin Schuster (IFKL IT OS DSM CD)" <Ma...@infineon.com> on 2009/11/09 09:32:41 UTC
[ApacheDS] Can't disable certificate-validation
Don't know if this how it's supposed to work, or a bug:
If I uncheck
[ ] Validate certificates for secure LDAP connections
in Window -> Preferences -> ADS -> Connections -> Certificate Validation
in ApacheDS 1.5.0.v20091102, it's checked again at the next start.
Related question:
I will deploy ApacheDS for multiple users, and would like to disable the
checks for everyone -- which file do I have to edit to set the default?
tia,
--
Infineon Technologies IT-Services GmbH Martin.Schuster1@infineon.com
Lakeside B05, 9020 Klagenfurt, Austria Martin Schuster
FB: LG Klagenfurt, FN 246787y +43 5 1777 3517
Re: [ApacheDS] Can't disable certificate-validation
Posted by Stefan Seelmann <se...@apache.org>.
Hi Martin,
sorry, but global preferences are not possible in the current version.
The eclipse framework defines a hierarchy of different preference
scopes (per configuration, per instance, default), I think that could
be used for your requirement, but this isn't used in Studio. Could you
create another feature request in Jira?
In the meantime I think you have to add the preference file to all the
user workspaces :-/
Kind Regards,
Stefan
Re: [ApacheDS] Can't disable certificate-validation
Posted by "Martin Schuster (IFKL IT OS DSM CD)" <Ma...@infineon.com>.
Stefan Seelmann wrote:
> Hi Martin,
>
> this is a bug, could you please create a Jira?
>
Done, DIRSTUDIO-580
> Here is a workaround:
>
> Check if the following file exists, otherwise create one.
> ~/.ApacheDirectoryStudio/.metadata/.plugins/org.eclipse.core.runtime/.settin=
> gs/org.apache.directory.studio.connection.core.prefs
>
> Add the following content (without the dashes), the important line is =20
> the last one:
> -------------------------------------------
> #Mon Nov 09 12:26:56 CET 2009
> eclipse.preferences.version=3D1
> templates=3D<?xml version\=3D"1.0" encoding\=3D"UTF-8" =20
> standalone\=3D"no"?><templates/>
> validateCertificates=3Dfalse
> -------------------------------------------
>
This worked, thanks!
How do I set this as global default?
br,
--
Infineon Technologies IT-Services GmbH Martin.Schuster1@infineon.com
Lakeside B05, 9020 Klagenfurt, Austria Martin Schuster
FB: LG Klagenfurt, FN 246787y +43 5 1777 3517
Re: [ApacheDS] Can't disable certificate-validation
Posted by Stefan Seelmann <se...@apache.org>.
Hi Martin,
this is a bug, could you please create a Jira?
Here is a workaround:
Check if the following file exists, otherwise create one.
~/.ApacheDirectoryStudio/.metadata/.plugins/org.eclipse.core.runtime/.settin=
gs/org.apache.directory.studio.connection.core.prefs
Add the following content (without the dashes), the important line is =20
the last one:
-------------------------------------------
#Mon Nov 09 12:26:56 CET 2009
eclipse.preferences.version=3D1
templates=3D<?xml version\=3D"1.0" encoding\=3D"UTF-8" =20
standalone\=3D"no"?><templates/>
validateCertificates=3Dfalse
-------------------------------------------
Kind Regards,
Stefan