[sork] sork with openldap: User not found
Guillermo Salas M.
gsalas at mantareys.com
Tue Nov 10 22:27:45 UTC 2009
I'm using Horde Groupware Webmail Edition 1.2.4 on a Debian Lenny box,
openldap 2.4.11-1, imp 4.3.5 and sork 3.1.2.
I wan't to provide to my users de hability to change their passwords
using the menu Identity/Password inside Horde, but I'm getting the
following error:
Failure in changing password for Horde Authentication: User not found
This is my $horde/passwd/config/conf.php :
<?php
/* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */
// $Horde: passwd/config/conf.xml,v 1.12.2.1 2008-10-09 17:12:03 jan Exp $
$conf['menu']['apps'] = array();
$conf['backend']['backend_list'] = 'hidden';
$conf['user']['change'] = false;
$conf['user']['refused'] = array('root', 'bin', 'daemon', 'adm', 'lp', 'shutdown
', 'halt', 'uucp', 'ftp', 'anonymous', 'nobody', 'httpd', 'operator', 'guest', '
diginext', 'bind', 'cyrus', 'courier', 'games', 'kmem', 'mailnull', 'man', 'mysq
l', 'news', 'postfix', 'sshd', 'tty', 'www');
$conf['password']['strengthtests'] = false;
$conf['hooks']['full_name'] = false;
$conf['hooks']['default_username'] = false;
$conf['hooks']['username'] = false;
$conf['hooks']['userdn'] = true;
/* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
This is my $horde/passwd/hooks.conf :
// Here is an example _passwd_hook_userdn function that you can use to provide
// your ldap server with a userdn so that you do not have to perform anonymous
// binds. The function takes Auth::getAuth() as a parameter
if (!function_exists('_passwd_hook_userdn')) {
function _passwd_hook_userdn($auth)
{
return 'uid=' . $auth . ',ou=usuarios,o=mydomain.com';
}
}
Seems like the username is not found or something like that, please
can you post any sample config for this sork-ldap scenario?
best regards,
--
Guillermo Salas M.
Celular : +593 9 985 5138
USA : +1 360 968 1701
e-mail : gsalas at mantareys.com
www : http://www.mantareys.com
SIP : 4564666 at sip.mantareys.net
Linux User: 255902
Beat me, whip me, make me use Windows!
Please avoid the Top Posting, see
http://es.wikipedia.org/wiki/Top-posting
More information about the sork
mailing list