[sork] uid with @
Ian Samuel
ian at mrzesty.net
Wed Jan 5 05:55:06 PST 2005
Hi Paul,
I set:
$conf['hooks']['default_username'] = true;
in the passwd/config/conf.php file to enable a hook back to the function:
if (!function_exists('_passwd_hook_default_username')) {
function _passwd_hook_default_username($userid)
{
return $userid;
}
}
found in horde/config/hooks.php (the function already exists - it just needs
to be uncommented). This tells passwd not to use a split password (the
default), but to use the full username instead.
i.
On January 5, 2005 12:27 am, Paul Wolstenholme wrote:
> Hi,
>
> I'm using passwd to change the passwords for accounts stored in
> openldap. The uid for the accounts I'm using are in the form
> username at my.domain.tld (Cyrus virtual domains). Passwd splits the
> username used in the login on the at. This causes both _lookupdn and
> _lookupShadow to fail.
>
> Some horde apps such as sam (I think) allow you to set the hordeauth to
> full. Does this option exist in passwd? Or, is this where I would
> define a custom hook. If so, I'm not sure which one.
>
> Cheers,
> Paul
--
Ian Samuel, B.Sc.
Sr. Linux System Administrator
More information about the sork
mailing list