Let me clarify.....
I do not want to add users to the SME user page (for VPN, File Sharing, etc) and have to also add them to Group Office. What I want to do (and I believe GO can do this) is have the user login to GO with their user name and password from SME and have GO authenticate against the SME IMAP server and if authentification is granted then GO creates the user in its database.
The "auth_sources.inc" is where this would be configured"
Group-Office authentication configuration file
In this file you can create additional authentication sources
for Group-Office.
This is an example file. If this file contains passwords or
othe sensitive information please put it in a safe place.
Protect it with an .htaccess file or put it outside the public
web root!
The file is distributed as auth_sources.dist. Please rename it to
auth_sources.inc and set the path in Group-Office.php if you want to
configure additional authentication sources.
*/
/*
Normal Group-Office authentication
Enabled by default.
Keep this on top for synchronization. otherwise authentication with the
Sync4GO clients will fail.
*/
$auth_sources[] =
array(
'type' => 'sql',
'name' => 'Group-Office database',
'user_manager' => 'sql'
);
/*
An LDAP server
$auth_sources[] =
array(
'type' => 'ldap',
'name' => 'Intermesh LDAP server',
'user_manager' => 'sql',
'groups' => array('Intermesh'),
'modules_read' => array('email', 'filesystem', 'addressbook', 'calendar', 'bookmarks', 'notes', 'summary'),
'modules_write' => array(),
'host' => 'ldap.intermesh.nl',
'user' => 'admin',
'pass' => 'some_pass',
'basedn' => 'dc=intermesh,dc=nl',
'peopledn' => 'ou=People,dc=intermesh,dc=nl',
'groupsdn' => 'ou=Groups,dc=intermesh,dc=nl'
);
An IMAP/POP3 server.
TIP: If you run your IMAP or POP server local and you use system accounts you
can set the user_manager to passwd. You need to have sudo installed to make
this work.
You need to give the Apache user permissions for chpasswd with visudo.
An example entry in /etc/sudoers in case the Apache username is apache:
apache ALL=NOPASSWD:/usr/sbin/chpasswd
$auth_sources[] =
array(
'type' => 'email',
'name' => 'intermesh.nl',
'user_manager' => 'sql',
'proto' => 'imap',
'domain' => 'intermesh.nl',
'host' => 'localhost',
'port' => '143',
'ssl' => false,
'novalidate_cert' => false,
'mbroot' => 'INBOX',
'add_domain_to_username' => false,
'create_email_account' => true,
'auto_check_email' => true,
'groups' => array('Intermesh'),
'visible_groups' => array('Everyone'),
'modules_read' => array('email', 'filesystem', 'addressbook', 'calendar', 'bookmarks', 'notes', 'summary'),
'modules_write' => array()
);
*/
I have not tried LDAP yet. I did try to autenticate against a Windows email server (hmailserver) and that did not work either.
I am also trying the GO forum.
Thanks
Kevin