Re: Passwd + LDAP + H4 problem
Ralf Lang <[email protected]> Thu, 15 Sep 2011 22:29:16 +0200
| Newsgroups | gmane.comp.horde.sork |
|---|---|
| Organization | B1 Systems GmbH |
| Message-ID | <[email protected]> |
Hi, Am Donnerstag, 15. September 2011, 22:08:11 schrieb Maximiliano Boscovich: > Hi people, > I installed H4 from git repository, i configured them and it work > great. The only problem is the passwd module (version 4.0.0-git). It > work, but when i try to do a user password change, it's just do the > message "Fallo al cambiar la contraseña de Rectorado LDAP Server: Bind > failed: Invalid credentials". I'm using LDAP, and i seted the config > file of H4 passwd with the sames config parameter that i've use on my > previous horder version (H3) of passwd module. > > The H4 passwd config is: > > $backends['ldap'] = array( > 'disabled' => false, > 'name' => 'Rectorado LDAP Server', > 'preferred' => '', > 'password policy' => array( > 'minLength' => 8, > 'minNumeric' => 2, > ), > 'driver' => 'Ldap', > 'params' => array( > 'host' => 'ldap.intranet', > 'port' => 389, > 'basedn' => 'dc=rectorado,dc=unl,dc=edu,dc=ar', > 'uid' => 'uid', > 'attribute' => 'userPassword', > 'realm' => '', > 'filter' => '', > 'encryption' => 'ssha', > 'tls' => false > ) > ); > > > And my old (working on H3) config is: > > $backends['ldap'] = array( > 'name' => 'Rectorado LDAP Server', > 'preferred' => 'ldap.intranet.', > 'password policy' => array( > 'minLength' => 8, > 'maxLength' => 12 > ), > 'driver' => 'ldap', > 'params' => array( > 'host' => 'ldap://ldap.intranet', > 'port' => 389, > 'basedn' => 'dc=rectorado,dc=unl,dc=edu,dc=ar', > 'uid' => 'uid', > 'realm' => '', > 'encryption' => 'ssha', > 'tls' => false > ) > ); What did you do about the default driver (sql)? Did you disable that one? > I put horder en Debug log level, and it show this when i try to change > a user password [1] > > Can anybody give me an advice to solve the problem? . > > Regards. > Maximiliano. > > > > [1] > Sep 15 12:55:42 correo HORDE: Horde_Registry: retrieved app with cache ID > horde_registry|app|1316091959|f5848f263e5923a674fd315c81f3072b [pid 23992 > on line 1701 of > "/var/www/horde4/horde/framework/Core/lib/Horde/Registry.php"] Sep 15 > 12:55:42 correo HORDE: [imp] Load config file (conf.php; app: imp) [pid > 23992 on line 861 of "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:42 correo HORDE: [ingo] Load config file (conf.php; app: > ingo) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] Sep 15 12:55:42 > correo HORDE: [ingo] Load config file (backends.php; app: ingo) [pid 23992 > on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:42 correo HORDE: [turba] Load config file (conf.php; app: > turba) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:42 correo HORDE: [turba] Load config file (attributes.php; > app: turba) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:42 correo HORDE: [turba] Load config file (backends.php; app: > turba) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo HORDE: [turba] SQL (0,0022s) #012#011SELECT * FROM > turba_sharesng_users WHERE user_uid = 'mboscovich' AND#012#011 (perm_4 = > 't') [pid 23992 on line 801 of > "/var/www/horde4/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"] > Sep 15 12:55:43 correo HORDE: [turba] SQL (0,0020s) #012#011SELECT > g.group_uid AS group_uid, g.group_name AS group_name FROM#012#011 > horde_groups g, horde_groups_members m WHERE m.user_uid = > 'mboscovich'#012#011 AND g.group_uid = m.group_uid ORDER BY g.group_name > [pid 23992 on line 801 of > "/var/www/horde4/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"] Sep 15 > 12:55:43 correo HORDE: [turba] SQL (0,0015s) #012#011SELECT DISTINCT * > FROM turba_sharesng s WHERE share_owner =#012#011 'mboscovich' OR > perm_creator_4 = 't' OR perm_default_4 = 't' ORDER BY#012#011 share_id > ASC [pid 23992 on line 801 of > "/var/www/horde4/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"] > Sep 15 12:55:43 correo HORDE: [kronolith] Load config file (conf.php; app: > kronolith) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo HORDE: The Content_Tagger class could not be found. > Make sure the Content application is installed. [pid 23992 on line 61 of > "/var/www/horde4/horde/kronolith/lib/Application.php"] > Sep 15 12:55:43 correo HORDE: 1. Horde_Registry::appInit() > /var/www/horde4/horde/passwd/index.php:13#012 2. > Horde_Registry->__construct() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry.php:238#012 3. > Horde_Injector->getInstance() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry.php:450#012 4. > Horde_Injector->createInstance() > /var/www/horde4/horde/framework/Injector/lib/Horde/Injector.php:248#012 5. > Horde_Injector_Binder_Factory->create() > /var/www/horde4/horde/framework/Injector/lib/Horde/Injector.php:213#012 6. > Horde_Core_Factory_Notification->create() > /var/www/horde4/horde/framework/Injector/lib/Horde/Injector/Binder/Factory. > php:111#012 7. Horde_Registry->callAppMethod() > /var/www/horde4/horde/framework/Core/lib/Horde/Core/Factory/Notification.ph > p:30#012 8. Horde_Registry->pushApp() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry.php:1078#012 9. > Horde_Registry->callAppMethod() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry.php:1353#01210. > call_user_func_array() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry.php:1081#01211. > Horde_Registry_Application->init()#01212. Kronolith_Application->_init() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry/Application.php:89 > Sep 15 12:55:43 correo HORDE: [passwd] Load config file (conf.php; app: > passwd) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo HORDE: [passwd] Load config file (backends.php; app: > passwd) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo HORDE: [passwd] Fallo al cambiar la contraseña de > Rectorado LDAP Server: Bind failed: Invalid credentials [pid 23992 on line > 27 of > "/var/www/horde4/horde/framework/Core/lib/Horde/Core/Notification/Handler/D > ecorator/Hordelog.php"] Sep 15 12:55:43 correo HORDE: [passwd] SQL > (0,0014s) #012#011SELECT alarm_id, alarm_uid, alarm_start, alarm_end, > alarm_methods,#012#011 alarm_params, alarm_title, alarm_text, > alarm_snooze, alarm_internal#012#011 FROM horde_alarms WHERE > alarm_dismissed = 0 AND ((alarm_snooze IS NULL#012#011 AND alarm_start <= > '2011-09-15T15:55:43') OR alarm_snooze <=#012#011 '2011-09-15T15:55:43') > AND (alarm_end IS NULL OR alarm_end >=#012#011 '2011-09-15T15:55:43') AND > (alarm_uid IS NULL OR alarm_uid = '' OR#012#011 alarm_uid = 'mboscovich') > ORDER BY alarm_start, alarm_end [pid 23992 on line 801 of > "/var/www/horde4/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"] Sep 15 > 12:55:43 correo HORDE: [passwd] Max memory usage: 24641536 bytes [pid > 23992 on line 474 of > "/var/www/horde4/horde/framework/Core/lib/Horde/Registry.php"] > Sep 15 12:55:43 correo HORDE: Horde_Registry: retrieved app with cache ID > horde_registry|app|1316091959|f5848f263e5923a674fd315c81f3072b [pid 23992 > on line 1701 of > "/var/www/horde4/horde/framework/Core/lib/Horde/Registry.php"] Sep 15 > 12:55:43 correo HORDE: [imp] Load config file (conf.php; app: imp) [pid > 23992 on line 861 of "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo HORDE: [ingo] Load config file (conf.php; app: > ingo) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] Sep 15 12:55:43 > correo HORDE: [ingo] Load config file (backends.php; app: ingo) [pid 23992 > on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo HORDE: [turba] Load config file (conf.php; app: > turba) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo HORDE: [turba] Load config file (attributes.php; > app: turba) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo HORDE: [turba] Load config file (backends.php; app: > turba) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo HORDE: [turba] SQL (0,0020s) #012#011SELECT * FROM > turba_sharesng_users WHERE user_uid = 'mboscovich' AND#012#011 (perm_4 = > 't') [pid 23992 on line 801 of > "/var/www/horde4/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"] > Sep 15 12:55:43 correo HORDE: [turba] SQL (0,0019s) #012#011SELECT > g.group_uid AS group_uid, g.group_name AS group_name FROM#012#011 > horde_groups g, horde_groups_members m WHERE m.user_uid = > 'mboscovich'#012#011 AND g.group_uid = m.group_uid ORDER BY g.group_name > [pid 23992 on line 801 of > "/var/www/horde4/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"] Sep 15 > 12:55:43 correo HORDE: [turba] SQL (0,0017s) #012#011SELECT DISTINCT * > FROM turba_sharesng s WHERE share_owner =#012#011 'mboscovich' OR > perm_creator_4 = 't' OR perm_default_4 = 't' ORDER BY#012#011 share_id > ASC [pid 23992 on line 801 of > "/var/www/horde4/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"] > Sep 15 12:55:43 correo HORDE: [kronolith] Load config file (conf.php; app: > kronolith) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo HORDE: The Content_Tagger class could not be found. > Make sure the Content application is installed. [pid 23992 on line 61 of > "/var/www/horde4/horde/kronolith/lib/Application.php"] > Sep 15 12:55:43 correo HORDE: 1. Horde_Registry::appInit() > /var/www/horde4/horde/horde/services/ajax.php:35#012 2. Horde_Registry- > > >__construct() > > /var/www/horde4/horde/framework/Core/lib/Horde/Registry.php:238#012 3. > Horde_Injector->getInstance() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry.php:450#012 4. > Horde_Injector->createInstance() > /var/www/horde4/horde/framework/Injector/lib/Horde/Injector.php:248#012 5. > Horde_Injector_Binder_Factory->create() > /var/www/horde4/horde/framework/Injector/lib/Horde/Injector.php:213#012 6. > Horde_Core_Factory_Notification->create() > /var/www/horde4/horde/framework/Injector/lib/Horde/Injector/Binder/Factory. > php:111#012 7. Horde_Registry->callAppMethod() > /var/www/horde4/horde/framework/Core/lib/Horde/Core/Factory/Notification.ph > p:30#012 8. Horde_Registry->pushApp() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry.php:1078#012 9. > Horde_Registry->callAppMethod() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry.php:1353#01210. > call_user_func_array() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry.php:1081#01211. > Horde_Registry_Application->init()#01212. Kronolith_Application->_init() > /var/www/horde4/horde/framework/Core/lib/Horde/Registry/Application.php:89 > Sep 15 12:55:43 correo HORDE: [passwd] Load config file (conf.php; app: > passwd) [pid 23992 on line 861 of > "/var/www/horde4/horde/framework/Core/lib/Horde.php"] > Sep 15 12:55:43 correo dovecot: imap-login: Login: user=<mboscovich>, > method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS > Sep 15 12:55:44 correo HORDE: [horde] Max memory usage: 24641536 bytes [pid > 23992 on line 474 of > "/var/www/horde4/horde/framework/Core/lib/Horde/Registry.php"] > Sep 15 12:55:44 correo dovecot: IMAP(mboscovich): Disconnected: Logged out > bytes=49/410 Is your current user in the form user@domain or just 'user' ? -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: [email protected] B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- Sork mailing list - Join the hunt: http://horde.org/bounties/#sork Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]