Hi,

On Thu Jun 25, 2026 at 9:15 PM CEST, Philipp Takacs wrote:
I have no private GH account, so I can't anwser there. I have seen
the issue, but I have no clue what the problem is. Do you know at
which point[0] it hangs?

It hangs when calling aldap_parse in ldap_open, when polling. Here's the debug output:

   # echo 'config|ready' | ./table-ldap ../ldap_users.conf
   table-ldap[3795]: debug: reading key "url" -> "ldap://192.168.122.180";
   table-ldap[3795]: debug: reading key "username" -> 
"cn=nextcloud,ou=services,dc=pappacoda,dc=it"
   table-ldap[3795]: debug: reading key "password" -> "test"
   table-ldap[3795]: debug: reading key "basedn" -> 
"ou=users,dc=pappacoda,dc=it"
   table-ldap[3795]: debug: parsing attribute "auth_attributes" (1) -> "uid"
   table-ldap[3795]: debug: done reading config
   table-ldap[3795]: ldap connect to: 192.168.122.180:389
   *** aldap_bind
   len 59 class: universal(0) type: sequence(16) encoding 16
     len 1 class: universal(0) type: integer(2) encoding 2 value 1
     len 54 class: application(1) type: bind(0) encoding 16
       len 1 class: universal(0) type: integer(2) encoding 2 value 3
       len 43 class: universal(0) type: octet-string(4) encoding 4 string 
"cn=nextcloud,ou=services,dc=pappacoda,dc=it"
       len 4 class: context(2) type: auth simple(0) encoding 4 string "test"
   write ber element of 61 bytes length
   table-ldap[3795]: pre-poll
   table-ldap[3795]: post-poll
   table-ldap[3795]: pre-poll

The "pre-poll" and "post-poll" messages are added before and after the poll call on line 403 of aldap.c.

I have no openbsd box[1] ready to test and I have currently not that
mutch time. I'll look at it as soon as possible.

I've tested this in a virtual machine. This machine only has one CPU core, and is using the BSD kernel (not BSD.mp).

Bye!

Reply via email to