CyberNinjas / pam_aad

Azure Active Directory PAM Module
GNU General Public License v3.0
55 stars 19 forks source link

Segmentation fault on azure_user_in_group #18

Closed Jnchi closed 5 years ago

Jnchi commented 5 years ago
  if (auth == 0 && azure_token_user_match(username, token_buf) == 0){
      rc = PAM_SUCCESS;
  }

See: https://github.com/CyberNinjas/pam_aad/commit/713138674eb15e640d9d7f0670f68ff8632c2059#r31568939

Jnchi commented 5 years ago

https://github.com/CyberNinjas/pam_aad/blob/6a602cbbba4ef166a0534f1b226e118a1bc3ab97/src/jwt.c