xperseguers / t3ext-ig_ldap_sso_auth

TYPO3 Extension ig_ldap_sso_auth. This extension provides LDAP and SSO support for TYPO3.
https://extensions.typo3.org/extension/ig_ldap_sso_auth
27 stars 64 forks source link

Hook is not applied to field disable #96

Closed fhederdos closed 2 years ago

fhederdos commented 4 years ago

The return value of a hook is only applied, if the mapping field is not disable: The Example Hook always returns the value 1.

The Mapping of BE_USERS is as follows:

description = {hookName|myCustomHook;<userAccountControl>}
disable = {hookName|myCustomHook;<userAccountControl>}

After running the scheduler, the Database of all updated LDAP Users have the values:

description: 1
disable: 0

Expected behavior is that the Field "disable" also receives the value 1. All Users were updated and not newly created.

reproducible in ig_ldapp_sso_auth v. 3.5.1

xperseguers commented 4 years ago

The method used for replacing the marker is \Causal\IgLdapSsoAuth\Library\Authentication::mergeSimple

I'm not sure why it does not work, maybe you could debug a bit there?

xperseguers commented 2 years ago

I suspect this is related to some configuration of your scheduler task for "Handling of missing users" and "Handling of restored users" since users get temporarily disabled/deleted when importing.

Please see #136 for info and a fix that just got implemented.

=> closing this issue as it's really old now and there's an explanation of the very probable problem you faced (configuration).