Hi Grégory,

 

Thank you for the quick reply and effectively it was only a DNS resolution 
problem. Sorry for inconvenience.

 

Best regards,

 

Thierry

 

De : Grégory Widmer via OpenXPKI-users <[email protected]> 
Envoyé : vendredi 6 août 2021 13:41
À : [email protected]
Cc : Grégory Widmer <[email protected]>
Objet : ⚠️ Re: [OpenXPKI-users] Problem using LDAP with openxpki 3.12.0

 

Hello,

 

 

 "Temporary failure in name resolution"

 

It seems to be a DNS issue not an OpenXPKI one.

Check your DNS settings.

 

Put the IP address in /etc/hosts if necessary to test it in the following 
format : X.X.X.X tsfe-ldap

 

But don't keep it in this file, if the IP changes you will need to update it 
manually. Prefer using DNS (Especially if you want to use ldap with TLS)

 

Kind regards

Grégory Widmer

 

-------- Message d'origine --------

De : [email protected] <mailto:[email protected]>  

Date : 06/08/2021 13:04 (GMT+01:00) 

À : [email protected] 
<mailto:[email protected]>  

Objet : [OpenXPKI-users] Problem using LDAP with openxpki 3.12.0 

 

Hello,

 

I am using openxpki release 3.8.1 without any problem and tried to migrate on 
3.12.0. But I can't make the LDAP connector working. I have copied the auth 
configuration from my 3.8.1 release to the newly installed 3.12.0 release but I 
have the following error message :

 

2021/08/06 10:41:18 INFO Loaded auth handler Operator Password [pid=21749|]

2021/08/06 10:41:18 INFO Loaded auth handler User NoAuth [pid=21749|]

2021/08/06 10:41:18 INFO Loaded auth handler Operator Password [pid=21749|]

2021/08/06 10:41:18 INFO Loaded auth handler User Ldap [pid=21749|]

2021/08/06 10:41:37 ERROR Could not instantiate ldap object (Temporary failure 
in name resolution) [pid=21756|sid=vNbK]

2021/08/06 10:41:37 ERROR I18N_OPENXPKI_SERVICE_DEFAULT_HANDLE_MESSAGE_FAILED; 
__EVAL_ERROR__ => Could not instantiate ldap object (Temporary failure in name 
resolution) at /usr/share/perl5/Connector.pm line 249, <DATA> line 755.

, __MESSAGE_NAME__ => GET_PASSWD_LOGIN [pid=21756|sid=vNbK]

 

The configuration is :

 

Stack.yaml :

 

User:

    label: User Login

    handler: User Ldap

    type: passwd

 

handler.yaml :

 

User Ldap:

    type: Connector

    role: User

    source@: connector:auth.connector.user-ldap

 

connector.yaml :

 

user-ldap:

    class: Connector::Builtin::Authentication::LDAP

    LOCATION: ldap://tsfe-ldap

    base: dc=scle,dc=fr

    filter: "(cn=[% LOGIN %])"

 

Could you help me please ?

 

Best regards,

 

Thierry


⚠️ This symbol is automatically added to emails originating from outside of the 
organization. Be extra careful with hyperlinks and attachments. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to