Repository navigation
Replies: 2 comments 1 reply
|
Looks like this issue may have already been identified here: FWIW, I also had Claude look at the code in the context of these logs and it arrived at a similar suggested improvement: |
0 replies
|
It looks like you're longest delay is policy application, which should be resolved by #1443 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm using himmelblau 3.1.3 on Ubuntu 24.04. I'm seeing a good amount of latency when logging in and would like to see if I can improve this before rolling out himmelblau to more systems. I've enabled Hello on this system, but I believe the slowness is there without Hello too.
My working config looks like this:
I suspect this might be related to fetching groups or other requests going out over the network. I did a test to force MFA and captured the time:
The strace didn't reveal anything super useful, but sudo with MFA takes 10+ seconds. If I sudo without forcing MFA (without -k) it is fast.
This PR has some network-related changes that seem like they could help:
#1260
I believe this slowness has been there even with 2.x. I'll try to test with some other users, but I'm also in nearly 200 groups, so this could be the source of the problem. I noticed this in libhimmelblau:
https://gitlab.com/samba-team/libhimmelblau/-/blob/main/src/graph.rs#L424
Which made me think himmelblau might be exhaustively trying to get all of a user's groups. I saw that Entra has an option to only include groups assigned to an Entra application in the groups claim, so maybe something like that could help here if that is the problem:
https://docs.azure.cn/en-us/entra/identity-platform/reference-microsoft-graph-app-manifest#groupmembershipclaims
himmelblaud debug logs for this slow login:
All reactions