[sork] passwd backend choosing based on userid

Vladimir Kozlov vladimir.kozlov at gmail.com
Wed Dec 15 14:58:18 UTC 2010


Are there any chance to have passwd backend based on userid?
In order to do this, I use the following in passwd/main.php
if (strpos($userid,"@")) {
    $backend_key="sql";
} else {
    $backend_key="smbldap";
}
but I wonder if this could be done "in a right way", i.e not modifying main.php?


More information about the sork mailing list