Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] LDAP+SSO authentication (AUTH_TYPE = 4) #1579

Merged
merged 1 commit into from
Dec 18, 2023
Merged

[Fix] LDAP+SSO authentication (AUTH_TYPE = 4) #1579

merged 1 commit into from
Dec 18, 2023

Conversation

matt6697
Copy link
Contributor

Status

READY

Description

Fixed LDAP+SSO authentication (AUTH_TYPE == 4) to fix issue #1570

  • Use ldap.php in auth phase to extract user LDAP attributes
  • Check user existence with search_on_loginnt($login)
  • Do not check password validity when $affich_method == 'SSO'

Documentation

Bugfix

Use ldap.php in auth phase to extract user LDAP attributes
Check user existence with search_on_loginnt($login)
Do not check password validity when $affich_method == 'SSO'
This was referenced Dec 13, 2023
@Lea9250
Copy link
Contributor

Lea9250 commented Dec 18, 2023

Hi @matt6697,

Thank you for taking the time and fixing this. I'm merging :)

Best regards,
Léa

@Lea9250 Lea9250 merged commit 616ea3e into OCSInventory-NG:master Dec 18, 2023
@matt6697 matt6697 deleted the fix/ldap_sso branch December 18, 2023 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants