This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Difference between revisions of "Talk:IMAP or LDAP authentication"

From Group-Office Groupware and CRM Documentation
Jump to: navigation, search
Line 31: Line 31:
  
 
(I don't have imapauth enabled, but do have ldapauth enabled as admin - so this must be all modules, not loaded modules. ldapauth is not being "found"?)
 
(I don't have imapauth enabled, but do have ldapauth enabled as admin - so this must be all modules, not loaded modules. ldapauth is not being "found"?)
 +
 +
Put a "print" at the top of ldapauth.inc.php and imapauth.inc.php - imap's prints, ldap's doesn't. Hmmm.

Revision as of 18:27, 6 July 2009

Using 3.0.2 public, I can't get this to work (yet). Inside the modules/ldapauth folder ....

$ grep ldap ../../config.php
$config['register_modules_read']="summary,tasks,ldapauth,calendar,email,todos,addressbook,notes,files,projects,gallery,bookmarks,comics,search";
$config['dav_auth']="%ldap_dav_auth%";
$config['ldap_host']='ldap';
$config['ldap_user']='uid=groupoffice,ou=Services,o=x,c=y';
$config['ldap_pass']='kuku';
$config['ldap_basedn']='o=Family,o=x,c=y';
$config['ldap_peopledn']='ou=People,' . $config['ldap_basedn'];
$config['ldap_groupsdn']='ou=Groups,' . $config['ldap_basedn'];

I add a dump of the modules' class_path into test.php and ldapauth is not loaded

N: /www/pkg/groupoffice-test/modules/summary/classes/
N: /www/pkg/groupoffice-test/modules/tasks/classes/
N: /www/pkg/groupoffice-test/modules/imapauth/classes/
N: /www/pkg/groupoffice-test/modules/calendar/classes/
N: /www/pkg/groupoffice-test/modules/email/classes/
N: /www/pkg/groupoffice-test/modules/addressbook/classes/
N: /www/pkg/groupoffice-test/modules/notes/classes/
N: /www/pkg/groupoffice-test/modules/files/classes/
N: /www/pkg/groupoffice-test/modules/users/classes/
N: /www/pkg/groupoffice-test/modules/groups/classes/
N: /www/pkg/groupoffice-test/modules/tools/classes/
N: /www/pkg/groupoffice-test/modules/modules/classes/

Resulting in:

PHP Fatal error: require_once(): Failed opening required 'ldapauth.class.inc.php' (include_path='.:/usr/local/lib/php:/usr/local/share/pear') in /www/3rd/groupoffice/groupoffice-com-3.02-stable-3/modules/ldapauth/test.php on line 15

(I don't have imapauth enabled, but do have ldapauth enabled as admin - so this must be all modules, not loaded modules. ldapauth is not being "found"?)

Put a "print" at the top of ldapauth.inc.php and imapauth.inc.php - imap's prints, ldap's doesn't. Hmmm.