Koozali.org: home of the SME Server

Group Office - A howto

Offline cool34000

  • *
  • 339
  • +0/-0
Group Office - A howto
« Reply #15 on: April 25, 2007, 02:51:58 AM »
Hi there !

Thanks berdie for your rpm!

I installed the rpm and noticed that the files inside /opt/groupware/html are owned by 1000:1000
This is a decompression issue, they should be owned by root:root

By the way duncan, why choosing user 'admin' instead of user 'root' ?
I guess this is the proper way in ibays, but shouldn't it be root in /opt ?

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Group Office - A howto
« Reply #16 on: April 25, 2007, 01:20:59 PM »
/opt can be owned by any user or group.

Offline imcintyre

  • *
  • 609
  • +0/-0
Group Office - A howto
« Reply #17 on: April 25, 2007, 03:19:56 PM »
Berdie;

Thx, worked well

Ian

Offline cool34000

  • *
  • 339
  • +0/-0
Group Office - A howto
« Reply #18 on: April 25, 2007, 03:45:33 PM »
Quote from: "stuntshell"
/opt can be owned by any user or group.

Looking for default webapps in my /opt directory gave me this :
- MasterSleepy use root:root for his phpmyadmin multiuser contrib
- DMay use root:root for his phpsysinfo and phpmyadmin contrib
- Dungog use root:root for torrentflux (some custom chown www:www for some folders and files)
- schirrms use root:root for his ModIndex contrib

So well... Here was my question... Admin is not conventionnal, so does user 1000 !
No big deal !

Offline kevinb

  • *
  • 237
  • +0/-0
Group Office - A howto
« Reply #19 on: May 01, 2007, 12:51:16 AM »
I tried this contrib and it works great.

I have just one issue. I cannot get Group Office to authenticate via IMAP. I have tried every conceivable combination of settings in the "auth_sources.inc" file but no luck.

I would love to just have to add one user and password to SME and then have it used to create an account in GO (just like in eGroupware and Roundcube).

Anyone get this to work?


Thanks


Kevin

Offline imcintyre

  • *
  • 609
  • +0/-0
Group Office - A howto
« Reply #20 on: May 01, 2007, 04:30:56 AM »
kevinb;

Sounds like two issues not one, authenticating and adding users but perhaps I misunderstand.

I cannot help with your adding users question.

Re authenticating, are you having troubles with the certificate because there is an option on the account set up page to select "dont validate"

Hope I'm not too far off base.

Offline kevinb

  • *
  • 237
  • +0/-0
Group Office - A howto
« Reply #21 on: May 01, 2007, 06:43:56 AM »
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"
Code: [Select]

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

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Group Office - A howto
« Reply #22 on: May 01, 2007, 06:06:14 PM »
I tryed to enable ldap server but i had no luck with configuring this thing so post when you have something.

GO helpdesk doesn't help at all. They said "just fill the imap part of the file and it should work" and well it doesn't.  :?
"It should just work" if it doesn't report it. Thanks!

Offline crobruncato

  • 5
  • +0/-0
Group Office - A howto
« Reply #23 on: June 26, 2007, 03:54:35 PM »
Quote from: "bpivk"
I tryed to enable ldap server but i had no luck with configuring this thing so post when you have something.

GO helpdesk doesn't help at all. They said "just fill the imap part of the file and it should work" and well it doesn't.  :?


bpivk - What did you try on the LDAP - I"m trying to get that to work as well.
Thanks,
Rob

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Group Office - A howto
« Reply #24 on: June 26, 2007, 04:32:38 PM »
Well i have tryed everything and it didn't work. But you should try imap auth because it worked well on my server. I changed it to manual auth. because the user had a mail with the default domain (i have two domains) and that didn't work well for me because i still had to edit that manualy but it should work like a charm if you use only one domain (for mail at least).

Edit auth_sources.inc and fill the "An IMAP/POP3 server.....".
"It should just work" if it doesn't report it. Thanks!

Offline Amir Inbar

  • *
  • 113
  • +0/-0
    • http://www.sheroot.net
Group Office - A howto
« Reply #25 on: July 01, 2007, 09:37:27 PM »
What about upgrading ?
If i have used the former contrib from the wiki and currently have 2.16 installed - how do i upgrade to 2.17 ?
My main concern is my database - i don't want it to be over-written ...
......

Offline cool34000

  • *
  • 339
  • +0/-0
Group Office - A howto
« Reply #26 on: July 02, 2007, 03:22:53 PM »
Hi,


Have you tryed a manual update? There must be a way to do it...
Read docs on their website! You should find some help.

I doubt a fresh install of the new version will accept an old database...
So you need to backup your database before trying anything! And also think to backup the websites' root folder (should be in /opt) just in case!

I suggest to use 'phpmyadmin' to export the database and 'tar' to backup the website's root folder (will preserve owners and perms)



Sylvain

Offline Amir Inbar

  • *
  • 113
  • +0/-0
    • http://www.sheroot.net
Group Office - A howto
« Reply #27 on: July 02, 2007, 03:32:32 PM »
tnx cool34000

Well, from waht i understand - the only information they will provide - the upgrade i sonly supported for the registered (paying) customers - the subscription provides updates services.

I am thinking about bulding an SME7.3 server image for vmware server, installing 2.16, testing some info, b acking up and then removing 2.16 until finnaly installing 2.7.

Does anyone know a better way to test the manual upgrade ?
......

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Group Office - A howto
« Reply #28 on: July 02, 2007, 03:55:04 PM »
I just did a manual upgrade to 2.16.
Stay tuned for 2.17.

Offline Amir Inbar

  • *
  • 113
  • +0/-0
    • http://www.sheroot.net
Group Office - A howto
« Reply #29 on: July 02, 2007, 06:57:03 PM »
@stuntshell :
Did you have any information stored before the upgrade  ?
If yes - did the information (data - meetings, contacts etc') remained or did the upgrade wipe it ?
......