passwd backend choosing based on userid
Vladimir Kozlov <[email protected]> Wed, 15 Dec 2010 17:58:18 +0300
| Newsgroups | gmane.comp.horde.sork |
|---|---|
| Message-ID | <[email protected]> |
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?
--
Sork mailing list - Join the hunt: http://horde.org/bounties/#sork
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]