!zghijEASpYQWYFzriI:nixos.org

Hydra

342 Members
99 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
10 Apr 2025
@simon.hauser:helsinki-systems.deSimon Hauser joined the room.08:25:58
11 Apr 2025
@aftix:matrix.org@aftix:matrix.org
In reply to @aftix:matrix.org
what's the magic to get LDAP auth to work on hydra? looking at the debug logs, my hydra can bind, correctly find the LDAP user, correctly find the LDAP groups, and then send the correct password to re-bind as the LDAP user (which works with ldapwhoami), but logging into my admin account gives "bad username or password" and my user account gives "no attribute cn for User" (there is a CN attribute according to ldapsearch and my hydra configuration doesn't mention CN anyway, just name)
The magic was that I needed to configure the LDAP backend to always grab the attributes listed here https://github.com/NixOS/hydra/blob/d5ad16abc294b654d6a6922e5d371c366b7da71a/t/lib/LDAPContext.pm#L84
04:20:09
@aftix:matrix.org@aftix:matrix.org
In reply to @aftix:matrix.org
what's the magic to get LDAP auth to work on hydra? looking at the debug logs, my hydra can bind, correctly find the LDAP user, correctly find the LDAP groups, and then send the correct password to re-bind as the LDAP user (which works with ldapwhoami), but logging into my admin account gives "bad username or password" and my user account gives "no attribute cn for User" (there is a CN attribute according to ldapsearch and my hydra configuration doesn't mention CN anyway, just name)
* The magic was that I needed to configure the LDAP backend to always grab the attributes listed here https://github.com/NixOS/hydra/blob/d5ad16abc294b654d6a6922e5d371c366b7da71a/t/lib/LDAPContext.pm#L84 with <[user/role]_search_options>
04:21:02
@wucke13:matrix.orgwucke13Redacted or Malformed Event22:42:17
@meep_bleep:matrix.org@meep_bleep:matrix.org left the room.23:53:34
12 Apr 2025
@yuri:nekover.se@yuri:nekover.se left the room.00:04:27
@hexa:lossy.networkhexaRedacted or Malformed Event01:57:38
@matejc:matrix.matejc.commatejc joined the room.06:07:44
@matejc:matrix.matejc.commatejcHey, I remember some years ago, I could download output files via download link on my Hydra job page. It seems that that is no longer possible... Or I am unable to reproduce the same output as at that time....?06:10:59
@matejc:matrix.matejc.commatejc* Hey, I remember some years ago, I could download output files via download link on my Hydra job page. It seems that that is no longer possible... Or I am unable to reproduce the same output as at that time....? Basically, my question is, how to download files from Hydra without having Nix on the target machine06:12:01
@matejc:matrix.matejc.commatejc* Hey, I remember some years ago, I could download output files via download link on my Hydra job's build summary page. It seems that that is no longer possible... Or I am unable to reproduce the same output as at that time....? Basically, my question is, how to download files from Hydra without having Nix on the target machine06:26:33
@dramforever:matrix.orgdramforever it's package-specific, you need to write a file to $out/nix-support/hydra-build-products to declare the files 10:27:06
@dramforever:matrix.orgdramforeverunfortunately i do not remember how it works10:27:20
@matejc:matrix.matejc.commatejc @dramforever Thanks, yes, I figured it out https://github.com/matejc/helper_scripts/blob/5cc4adf26829844700fcedf2ae83b2ad12397b99/nixes/openvpn-custom.nix and the Hydra then showed this: https://hydra.matejc.com/build/76140 10:30:46
@dramforever:matrix.orgdramforeverwoohoo10:31:04
@dramforever:matrix.orgdramforevercongrats10:31:08
@matejc:matrix.matejc.commatejcThanks10:31:43
13 Apr 2025
@saiko:knifepoint.net@saiko:knifepoint.net joined the room.00:46:28
@2xsaiko:tchncs.de@2xsaiko:tchncs.de left the room.00:46:33

Show newer messages


Back to Room ListRoom Version: 6