Hello,

I ran an LDAP search query to check:

`ldapsearch -x -LLL -H ldaps://172.16.1.3:636 -D 
"cn=Administrator,cn=users,dc=XXXXXer,dc=XX" -w XXXXX n -b "dc=XXXXXer,dc=XX" 
"*" attributes`

This returned:

`ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)`

 

So there is indeed a problem with the connection to LDAP.

 

>From another server, I ran the same query and it works; it returns the entire 
>LDAP database (Samba4 4.22).

 

Thank you for your help.

 

 

De : Fabrice Durand <[email protected]> 
Envoyé : jeudi 6 novembre 2025 20:20
À : [email protected]
Cc : [email protected]
Objet : Re: [PacketFence-users] Problem integration LDAp

 

Hello Eric,

I think the best thing to do is to capture the ldap traffic with tshark and 
check to see why it fails.

Probably an incorrect request but once you have it, let me know we will 
probably need to do a patch for that.

Regards

Fabrice

 

 

Le jeu. 6 nov. 2025 à 07:46, eroger2--- via PacketFence-users 
<[email protected] 
<mailto:[email protected]> > a écrit :

Hello,

 

I'm testing versions 14 and 15, but I'm having the same issue in the 
"Authentication Sources" menu. I'm trying to add an LDAP server attached to the 
latest Samba4 update.

 

It worked in Packetfence version 13.0, but when "Add Condition" was split into 
two modules, "Add Packetfence Condition" and "Add LDAP Condition,"

 

the problem is that in the LDAP condition, it always returns "LDAP server not 
found."

 

I've correctly entered the previous values, including the ADsamba server IP 
address, and when I run a connection test, it returns "Successful."

 

However, when I try to select the CN (presumably referring to a specific 
server), nothing appears, and it just loops.

 

Could you tell me the reason or shed some light on this, as I've seen on some 
websites that there's been a problem since the split, as mentioned above?

 

Thank you very much.

Sincerely,

Eric

 

_______________________________________________
PacketFence-users mailing list
[email protected] 
<mailto:[email protected]> 
https://lists.sourceforge.net/lists/listinfo/packetfence-users

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

Reply via email to