Thanks for attaching your smb.conf and sssd.conf, I will try add them into my reproducer and see if I get closer to seeing the problem.
Maybe when you log in, smbd mounts the samba shares to /home/aduser/{Public},{Shared} before kerberos manages to acquire a new ticket and place it in /tmp, so gvfs doesn't get KRB5CCNAME set.
Maybe on your faster system, it can get the kerberos ticket before smbd starts mounting shares.
This is still a race condition where gvfs is starting too early though.
Let me re-adjust my reproducer, and I will let you know how I get on.
Hi renbag,
Thanks for attaching your smb.conf and sssd.conf, I will try add them into my reproducer and see if I get closer to seeing the problem.
Maybe when you log in, smbd mounts the samba shares to /home/aduser/ {Public} ,{Shared} before kerberos manages to acquire a new ticket and place it in /tmp, so gvfs doesn't get KRB5CCNAME set.
Maybe on your faster system, it can get the kerberos ticket before smbd starts mounting shares.
This is still a race condition where gvfs is starting too early though.
Let me re-adjust my reproducer, and I will let you know how I get on.
Thanks,
Matthew