Hallo zusammen, Hab mir Horde3 mit IMP aufgesetzt, ich hab es auch soweit das ich die Seite localhost/horde3/ aufrufen kann um die ersten Konfigurationen vorzunehmen. Ich möchte eine Authentifizierung über LDAP machen, folgende conf.php:
<?php /* CONFIG START. DO NOT CHANGE ANYTHING IN OR AFTER THIS LINE. */ // $Horde: horde/config/conf.xml,v 1.74.2.41 2006/08/04 17:13:25 jan Exp $ $conf['debug_level'] = E_ALL; $conf['max_exec_time'] = 0; $conf['use_ssl'] = 2; $conf['server']['name'] = $_SERVER['SERVER_NAME']; $conf['server']['port'] = $_SERVER['SERVER_PORT']; $conf['compress_pages'] = true; $conf['umask'] = 077; $conf['session']['name'] = 'Horde'; $conf['session']['use_only_cookies'] = true; $conf['session']['cache_limiter'] = 'nocache'; $conf['session']['timeout'] = 0; $conf['cookie']['domain'] = $_SERVER['SERVER_NAME']; $conf['cookie']['path'] = '/'; $conf['sql']['persistent'] = true; $conf['sql']['hostspec'] = 'localhost'; $conf['sql']['username'] = 'horde'; $conf['sql']['password'] = 'geheim'; $conf['sql']['protocol'] = 'tcp'; $conf['sql']['database'] = 'horde'; $conf['sql']['charset'] = 'iso-8859-1'; $conf['sql']['phptype'] = 'mysql'; $conf['auth']['admins'] = array('Administrator', 'ldapuser'); $conf['auth']['checkip'] = true; $conf['auth']['checkbrowser'] = true; $conf['auth']['alternate_login'] = false; $conf['auth']['redirect_on_logout'] = false; $conf['auth']['params']['hostspec'] = 'X.X.X.X'; $conf['auth']['params']['basedn'] = 'dc=test,dc=example,dc=com'; $conf['auth']['params']['binddn'] = 'cn=admin,dc=test,dc=example,dc=com'; //LDAP Admin $conf['auth']['params']['password'] = 'geheim'; $conf['auth']['params']['version'] = '3'; $conf['auth']['params']['ad'] = false; $conf['auth']['params']['uid'] = 'uid'; $conf['auth']['params']['encryption'] = 'md5-hex'; $conf['auth']['params']['newuser_objectclass'] = array('shadowAccount', 'inetOrgPerson'); $conf['auth']['params']['objectclass'] = array('sambaAdmin'); $conf['auth']['params']['filter_type'] = 'objectclass'; $conf['auth']['params']['password_expiration'] = 'no'; $conf['auth']['driver'] = 'ldap'; $conf['signup']['allow'] = false; $conf['log']['priority'] = PEAR_LOG_NOTICE; $conf['log']['ident'] = 'HORDE'; $conf['log']['params'] = array(); $conf['log']['name'] = '/var/log/horde/horde3.log'; $conf['log']['params']['append'] = true; $conf['log']['type'] = 'file'; $conf['log']['enabled'] = true; $conf['log_accesskeys'] = false; $conf['prefs']['params']['table'] = 'horde_prefs'; $conf['prefs']['params']['driverconfig'] = 'horde'; $conf['prefs']['driver'] = 'sql'; $conf['datatree']['driver'] = 'null'; $conf['group']['driver'] = 'datatree'; $conf['cache']['default_lifetime'] = 1800; $conf['cache']['params']['dir'] = Horde::getTempDir(); $conf['cache']['params']['gc'] = 86400; $conf['cache']['driver'] = 'file'; $conf['token']['driver'] = 'none'; $conf['mailer']['params']['sendmail_path'] = '/usr/lib/sendmail'; $conf['mailer']['params']['sendmail_args'] = '-oi'; $conf['mailer']['type'] = 'sendmail'; $conf['vfs']['params']['vfsroot'] = '/tmp'; $conf['vfs']['type'] = 'file'; $conf['sessionhandler']['type'] = 'none'; $conf['problems']['email'] = 'webmaster@example.com'; $conf['problems']['maildomain'] = 'example.com'; $conf['problems']['tickets'] = false; $conf['menu']['apps'] = array(); $conf['menu']['always'] = false; $conf['menu']['links']['help'] = 'all'; $conf['menu']['links']['help_about'] = true; $conf['menu']['links']['options'] = 'authenticated'; $conf['menu']['links']['problem'] = 'all'; $conf['menu']['links']['login'] = 'all'; $conf['menu']['links']['logout'] = 'authenticated'; $conf['hooks']['permsdenied'] = false; $conf['hooks']['username'] = false; $conf['hooks']['preauthenticate'] = false; $conf['hooks']['postauthenticate'] = false; $conf['hooks']['authldap'] = false; $conf['portal']['fixed_blocks'] = array(); $conf['accounts']['driver'] = 'null'; $conf['imsp']['enabled'] = false; $conf['kolab']['enabled'] = false; /* CONFIG END. DO NOT CHANGE ANYTHING IN OR BEFORE THIS LINE. */
So jetzt will ich mich mit einem LDAP User anmelden, laut "log" klappt es
Aug 13 11:37:05 HORDE [notice] [horde] Login success for ldapuser [X.X.X.X] to Horde [on line 90 of "/usr/share/horde3/login.php"]
nur ich komm nicht auf die index.php Seite ich bleib dann in der login.php Die Anbindung an LDAP klappt, hab versucht ein falsches Passwort bei der Anmeldung einzugeben, "FAILED LOGIN"
Woran kann es liegen? Muss ich der User "ldapuser" in Horde noch erstellt werden? wenn, ja wie? da ich mich nicht mehr mit dem administrator einloggen kann
Ich hab auch alle SQL Datenbanken per Script erstellt. soweit die Info.