[SOLVED] disable auto creation of accounts on LDAP Login

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
duwil
Posts: 46
Joined: 08 Jul 2008, 12:14

[SOLVED] disable auto creation of accounts on LDAP Login

Post by duwil »

Is there a way to disable auto creation of accounts on LDAP Login?
duwil
Posts: 46
Joined: 08 Jul 2008, 12:14

How to disable auto creation of accounts on LDAP Log

Post 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.

---
Post Reply