Page 1 of 1
[SOLVED] disable auto creation of accounts on LDAP Login
Posted: 01 Apr 2011, 18:48
by duwil
Is there a way to disable auto creation of accounts on LDAP Login?
How to disable auto creation of accounts on LDAP Log
Posted: 18 Apr 2011, 14:24
by duwil
I had no replies on this so I tweaked my code, if you find something is wrong with my solution please let me know.
My solution in R1.2.4 was to change core/user_api.php on line 451, I changed the string "$p_protected = false" into "$p_protected = true".
This way the account IS created but it is set to protected, therefore the LDAP login is not permitted.
---