himmelblau-idm / himmelblau

Azure Entra ID Authentication, with PAM and NSS modules.
GNU General Public License v3.0
28 stars 5 forks source link

WIP: Use the SSSD id mappings #72

Closed dmulder closed 5 months ago

dmulder commented 6 months ago

Fixes #71

Checklist

dmulder commented 6 months ago

@Firstyear would you mind taking a look at how I've done the FFI bindings here? My main concern was the need to implement Send/Sync on the FFI. I wrapped the raw ctx pointer in a RWLock to make it safer for cross-thread use. I'm not sure if this is enough though.