Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - binary-two

Pages: 1 2 [3] 4
31
Installation and Upgrades / Re: rrd problem
« on: July 07, 2010, 04:51:30 pm »
Hi! Did you try

/etc/init.d/collectd restart

?

IMHO the local clock gets adjusted and then the collectd/rrdtools get confused.

I cant replicate now, but if I remember right, I had sometimes sth. similar.

So long,

Björn

32
Hey Eric, are you using ebox>=1.4? then you need to use cn=ebox,dn=ebox (or dn=what you selected when you configured slapd).

So long,

Björn

33
Installation and Upgrades / Re: Quick Howto: SOGo
« on: April 13, 2010, 11:00:07 am »
Nope, bindPassword is the admin password (cn=ebox,dc=ebox) for openldap. Therefore you need to take the value stored in /etc/ldap.secret.

With this configuration, ebox users passwords are pulled automatically from the LDAP. The attribute for the user password in the LDAP is standardised. Just add users via ebox.

Björn

34
Hi,

for ebox>=1.4have a look here: 'OpenLDAP using cn=config' [1]. For ebox<=1.2 put it in the openldap schema directory and add the entry in the slapd.conf.

You might want to create a backup of the relevant directories first.

Kind regards,

Björn

[1] http://www.zytrax.com/books/ldap/ch6/slapd-config.html

35
Installation and Upgrades / Re: php address book
« on: April 10, 2010, 02:51:04 pm »
Hi Jürgen,

your set up or the address book software must have screwed up the LDAP. But without a specific error messages I can only guess.

Kind regards,

Björn

36
Installation and Upgrades / Re: Quick Howto: Alfresco with LDAP
« on: April 08, 2010, 08:10:24 am »
Hi aguerra,

try passthru.authentication.useLocalServer=false
and passthru.authentication.servers=your ebox ip, with samba access enabled for the Alfresco machine

Does the web login (via LDAP) work? The pass through should be only for the SMB/CIFS server. I guess you don't have one running on the Alfresco machine and run Alfresco on the default SMB/CIFS ports instead.

Maybe that helps.

Kind regards,

Björn

37
Installation and Upgrades / Re: Sogo and phpldapadmin
« on: April 06, 2010, 11:21:00 am »
Hi guys,

you are right, with ebox 1.2 you use 'cn=admin,dc=ebox'. But with ebox 1.4 you have to use 'cn=ebox,dc=ebox', or the domain you used during the setup (or reconfig) process.

The password is in /etc/ldap.secret.

I just put a mini howto for SOGo under 'Tips and Tricks' yesterday. It might help you, chrischnian. But you don't really specify your problem, so its hard to say. If you access the ebox LDAP from a remote machine, you have to be aware of the firewall set up as well.

Kind regards,

Björn



38
Installation and Upgrades / Re: Quick Howto: SOGo
« on: April 06, 2010, 11:07:08 am »
Btw. with the MailFieldNames attribute ...

Code: [Select]
SOGoUserSources = (
            {
                ...
                MailFieldNames = ( mail, AstVoicemailEmail);

... you can get more mail addresses pulled out of the LDAP.

So long,

Björn

39
Installation and Upgrades / Re: Quick Howto: SOGo
« on: April 05, 2010, 01:05:55 pm »
4. Basic setup

Please follow the installation guide ('General Preferences'):
Code: [Select]
su - sogo
defaults write sogod SOGoTimeZone "America/Montreal"
...
and so on.

All information will be stored in /home/sogo/GNUstep/Default/.GNUstepDefault.

If you want to use SOGo with MySQL as the DB backend, you need sope4.9-gdl1-mysql [6].

5. ebox/ldap integration

Here is my .GNUstepDefault with explanations below. All ${.*} have to be adjusted accordingly. Please refer to the official documentation.

SOGo does not support IMAPS yet (I think there are some patches or ideas out already). So you have to allow IMAP connections.

Code: [Select]
{
    NSGlobalDomain = {
    };
    sogod = {
        WOApplicationRedirectURL = "https://{$yoururl}/SOGo/";
        OCSFolderInfoURL = "mysql://{$sogouser}:{$sogopassword}@localhost:3306/{$sogodb}/sogo_folder_info";
        SOGoACLsSendEMailNotifications = YES;
        SOGoAppointmentSendEMailNotifications = YES;
        SOGoAuthenticationMethod = LDAP;
        SOGoDraftsFolderName = Drafts;
        SOGoFirstDayOfWeek = 1;
        SOGoFoldersSendEMailNotifications = YES;
        SOGoForceIMAPLoginWithEmail = YES;
        SOGoForwardEnabled = YES;
        SOGoIMAPServer = localhost;
        SOGoLanguage = {$language};
        SOGoMailDomain = {$maildomain}
        SOGoMailingMechanism = sendmail;
        SOGoOtherUsersFolderName = "Other Users";
        SOGoProfileURL = "mysql://{$sogouser}:{$sogopassword}@localhost:3306/{$sogodb}/sogo_user_profile";
        SOGoSMTPServer = localhost;
        SOGoSentFolderName = Sent;
        SOGoSharedFolderName = "Shared Folders";
        SOGoSuperUsernames = (
            {$adminuser1}, {$adminuser2}
        );
        SOGoTimeZone = {$timezone};
        SOGoTrashFolderName = Trash;
        SOGoUserSources = (
            {
                CNFieldName = cn;
                IDFieldName = uid;
                UIDFieldName = uid;
                baseDN = "ou=Users,dc=ebox";
                bindDN = "cn=ebox,dc=ebox";
                bindPassword = ${ldapsecret};
                canAuthenticate = YES;
                displayName = "Shared Addresses";
                hostname = localhost;
                id = public;
                isAddressBook = YES;
                port = 389;
            }
        );
        SOGoVacationEnabled = YES;
        WOMessageUseUTF8 = YES;
        WOParsersUseUTF8 = YES;
        WOPort = 20000;
        WOSendMail = "/usr/sbin/sendmail";
    };
}

WOApplicationRedirectURL = {$yoururl}: url of apache proxy stettings for SOGo (AFAIK this parameter is deprecated)
OCSFolderInfoURL = "mysql://{$sogouser}:{$sogopassword}@localhost:3306/{$sogodb}/sogo_folder_in: cf. [6,2]
SOGoMailDomain = {$maildomain}: ebox mail domain
SOGoForceIMAPLoginWithEmail = YES: important for the dovecot login
SOGoMailingMechanism = sendmail: SMTP can work as well if you adjust your ebox settings
SOGoProfileURL = "mysql://{$sogouser}:{$sogopassword}@localhost:3306/{$sogodb}/sogo_user_profil: cf. [6,2]
SOGoSuperUsernames = ({$adminuser1}: sogo admin(s)

bindDN = "cn=ebox,dc=ebox": for ebox 1.4 (or what you've chosen in the openldap setup); use "cn=admin,dc=ebox" for ebox 1.2
bindPassword = ${ldapsecret}: cat /etc/ldap.secret


There might be some more parameters that could be of interest. More detail in [2].

In addition: a similar setup using the xml-style configuration, a bit more complex (note: the bracket style configuration gets automatically converted into xml after using defaults write, both styles work):

Code: [Select]

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//GNUstep//DTD plist 0.9//EN" "http://www.gnustep.org/plist-0_9.xml">
<plist version="0.9">
<dict>
    <key>NSGlobalDomain</key>
    <dict>
    </dict>
    <key>sogod</key>
    <dict>
    <dict>
<------><key>OCSFolderInfoURL</key>
<------><string>mysql://sogo:sogo@127.0.0.1:3306/sogo_prod/sogo_folder_info</string>
<------><key>SOGoACLsSendEMailNotifications</key>
<------><string>YES</string>
<------><key>SOGoAppointmentSendEMailNotifications</key>
<------><string>YES</string>
<------><key>SOGoCacheCleanupInterval</key>
<------><string>300</string>
<------><key>SOGoDraftsFolderName</key>
<------><string>Drafts</string>
<------><key>SOGoFirstDayOfWeek</key>
<------><string>1</string>
<------><key>SOGoFoldersSendEMailNotifications</key>
<------><string>YES</string>
<------><key>SOGoForceIMAPLoginWithEmail</key>
<------><string>YES</string>
<------><key>SOGoForwardEnabled</key>
<------><string>YES</string>
<------><key>SOGoIMAPAclConformsToIMAPExt</key>
<------><string>YES</string>
<------><key>SOGoIMAPServer</key>
<------><string>127.0.0.1:143</string>
<------><key>SOGoLanguage</key>
<------><string>English</string>
<------><key>SOGoMailAuxiliaryUserAccountsEnabled</key>
<------><string>yes</string>
<------><key>SOGoMailingMechanism</key>
<------><string>sendmail</string>
<------><key>SOGoMemcachedHost</key>
<------><string>127.0.0.1</string>
<------><key>SOGoOtherUsersFolderName</key>
<------><string>Other Users</string>
<------><key>SOGoProfileURL</key>
<------><string>mysql://sogo:sogo@127.0.0.1:3306/sogo_prod/sogo_user_profile</string>
<------><key>SOGoSMTPServer</key>
<------><string>127.0.0.1</string>
<------><key>SOGoSentFolderName</key>
<------><string>Sent</string>
<------><key>SOGoSharedFolderName</key>
<------><string>Shared Folders</string>
<------><key>SOGoSuperUsernames</key>
<------><array>
<------>    <string>sogo</string>
<------>    <string>bartsimpson</string>
<------></array>
<------><key>SOGoTimeZone</key>
<------><string>America/Montreal</string>
<------><key>SOGoTrashFolderName</key>
<------><string>Trash</string>
<------><key>SOGoVacationEnabled</key>
<------><string>YES</string>
<------><key>WOMessageUseUTF8</key>
<------><string>YES</string>
<------><key>WOParsersUseUTF8</key>
<------><string>YES</string>
<------><key>WOPort</key>
<------><string>20000</string>
<------><key>WOSendMail</key>
<------><string>/usr/sbin/sendmail</string>
<------><key>WOWorkersCount</key>
<------><string>3</string>
<------><key>domains</key>
<------><dict>
<------>    <key>sogo.local</key>
<------>    <dict>
<------><------><key>SOGoMailDomain</key>
<------><------><string>sogo.local</string>
<------><------><key>SOGoUserSources</key>
<------><------><array>
<------><------>    <dict>
<------><------><------><key>CNFieldName</key>
<------><------><------><string>cn</string>
<------><------><------><key>IDFieldName</key>
<------><------><------><string>mail</string>
<------><------><------><key>MailFieldNames</key>
<------><------><------><array>
<------><------><------>    <string>mail</string>
<------><------><------>    <string>mozillaSecondEmail</string>
<------><------><------></array>
<------><------><------><key>SOGoLDAPContactInfoAttribute</key>
<------><------><------><string>uid</string>
<------><------><------><key>UIDFieldName</key>
<------><------><------><string>mail</string>
<------><------><------><key>bindFields</key>
<------><------><------><string>uid</string>
<------><------><------><key>SOGoForceIMAPLoginWithEmail</key>
<------><------><------><string>true</string>
<------><------><------><key>SOGoLDAPContactInfoAttribute</key>
<------><------><------><string>uid</string>
<------><------><------><key>baseDN</key>
<------><------><------><key>baseDN</key>
<------><------><------><string>ou=Users,dc=sogo</string>
<------><------><------><key>bindDN</key>
<------><------><------><string>cn=ebox,dc=sogo</string>
<------><------><------><key>bindPassword</key>
<------><------><------><string>sogoldappw</string>
<------><------><------><key>canAuthenticate</key>
<------><------><------><string>YES</string>
<------><------><------><key>displayName</key>
<------><------><------><string>Users Addresses</string>
<------><------><------><key>filter</key>
<------><------><------><string>(objectClass=inetOrgPerson)</string>
<------><------><------><key>hostname</key>
<------><------><------><string>127.0.0.1</string>
<------><------><------><key>id</key>
<------><------><------><string>users</string>
<------><------><------><key>isAddressBook</key>
<------><------><------><string>YES</string>
<------><------><------><key>port</key>
<------><------><------><string>389</string>
<------><------><------><key>type</key>
<------><------><------><string>ldap</string>
<------><------>    </dict>
<------><------></array>
<------>    </dict>
<------></dict>
    </dict>
</dict>
</plist>

Make sure you make a backup of your config, because typos in the config can cause the whole config reset.

6. Apache integration

The proxy settings for the apache/SOGo integration are done /etc/apache2/conf.d/SOGo.conf. You need to adjust several settings. Things are further explained in [2].

If you use mod_security you have to disable rules 960010, 960032, 960038, 970903 and
970902.


That's it (hopefully).

Have fun. I really like SOGo, its a great open source group ware.

So long,

Björn

EDIT: corrected missing quotes in the database connection string

40
Installation and Upgrades / Quick Howto: SOGo
« on: April 05, 2010, 12:07:35 pm »
Hi there,

as far as I can understand, some people are interested in getting SOGo [1] running on ebox; or others are having trouble with their LDAP integration. It works fine for me with the setup as described later. I use SOGo with MySQL on Ubuntu Hardy 8.04 LTS. I am using ebox is 1.4.

Actually it might be worth getting an ebox module, but I never had time to look into it (yet) :-). For now here are some basic informations how I got it running. I just want to point out the most important steps. Please refer to the very nice official documentation from Inverse [3]. The MHC SoftWare SOGo WIKI [4] was also a big help for me.

1. SOGo apt source

Add
Code: [Select]
deb http://inverse.ca/debian lenny lenny to your /etc/apt/sources.list

2. Other dependencies

You need to build
gnustep-base-common_1.16.1-2ubuntu1_all.deb
gnustep-base-runtime_1.16.1-2ubuntu1_i386.deb
gnustep-common_2.0.6-2_i386.deb
libgnustep-base1.16_1.16.1-2ubuntu1_i386.deb
yourself or get them from the intrepid repository. There are only older hardy packages (maybe in backports?!). All other dependencies can be automatically obtained form the inverse or hardy repositories.

I can't remember any other problems respectively unmet dependencies.

Disclaimer: (a) the manually installed packages are not updated automatically, of course and (b) external packages and untrusted repositories can damage your system.

3. Installing SOGo

Should be sudo apt-get install gnustep-make sogo only.

The setup will be in the next post in this thread.

[1] http://www.scalableogo.org
[2] http://www.scalableogo.org/files/docs/SOGo%20Installation%20Guide.pdf
[3] http://inverse.ca/english.html
[4] http://wiki.mhcsoftware.de/SOGo
[5] http://www.scalableogo.org/english/support/faq/article/how-to-install-sogo-on-ubuntu.html
[6] http://www.scalableogo.org/english/support/faq/article/how-do-i-configure-sogo-to-use-mysql.html

41
Installation and Upgrades / Re: Quick Howto: Alfresco with LDAP
« on: April 02, 2010, 06:28:24 am »
Hi okis,

for me everything works fine with setting things in alfresco-global.properties only. I remember from older versions that there was the need to alter many config files. But I was never in need to do this for 3.2 (having only one instance per server).

Here is the relevant snippet from the file again:

Code: [Select]
filesystem.name=Alfresco

cifs.enabled=true

cifs.localname=alfresco
cifs.serverName=alfresco
cifs.domain=${DOMAIN}
cifs.broadcast=255.255.255.0
cifs.ipv6=disabled
cifs.hostannounce=true

#cifs.bindto=0.0.0.0
cifs.bindto=${primary-ip}
cifs.WINS.primary=${primary-ip}

cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139

cifs.urlfile.prefix=http://${host-name}/alfresco/

In my setup the services run on the ${primary-ip}, with the ${virtual-ip} redirecting to. As far as I remember there are inherent Netbios troubles with redirecting. Some times I have to access the share via the IP before I can access it with the dns name.

I redirected the services with ebox port forwarding, but anything (hooks, script) should work.

Code: [Select]
eth0:1   eBox   138   TCP/UDP   Any   10.0.1.1   1138   --  
eth0:1 eBox 137 TCP/UDP Any 10.0.1.1 1137 --
eth0:1 eBox 139 TCP/UDP Any 10.0.1.1 1139 --
eth0:1 eBox 143 TCP/UDP Any 10.0.1.1 1143 --
eth0:1 eBox 445 TCP/UDP Any 10.0.1.1 1445 --

Hope this helps. I am not getting much out of the posted error messages.

Björn

P.S. I got the mail archive (without third party tools) more or less running. I just had no time yet to do some last tweaks and document it properly. I will post it here eventually.

42
Installation and Upgrades / Re: Quick Howto: Alfresco with LDAP
« on: January 27, 2010, 08:55:36 am »
I meant inbound mail via smtp (1) and the imap feature (2) :-). It is a bit off-topic here, as I can't post any success story or working integration (yet). Use cases: A. Email archive, B. Store project emails with project data.

Outbound email is no trouble at all and works fine.

After some testing and trying, I did not get any usable solution running.  As mentioned before I am using 3.2 CE, and tested a bit with 3.2r2.

1. IMAP

There are some problems with large repositories, as described in some forum entries at Alfresco. In my tests, I could see things happening on the server (in the debug logs), but not much was happening on the client side. I was not able to see any content. Update: with a smaller repository it works fine. Moste likely you have to tweak the imap.config... config settings to limit the imap access to the neccessary parts (i.e. only home directories).

3.2r2 seems to be the same. I might try it on a fresh instance and/or with a nightly build. I have large repository on a rather small machine. It might be a performance issue. Update: it definately is.

2. SMTP

Well, no smtp-auth of any kind on the server. Some regex patterns to provide access restrictions. Did not plan to use it directly anyway. I wanted to use local mailboxes and fetchmail (smtpname) to forward to Alfresco. Works fine for text only mails. But I had big trouble with multipart attachments. I posted it in the Alfresco forum and never got any response [1].

I tried it only with 3.2, and will try it again with 3.2r2 or with a nightly version. Would be really neat if that would work. The fetchmail forward is not described in the Alfresco wiki, but works fine - theoretically.
Update: seems to be that an extension (EEMProxy) caused the trouble. 3.2r2 works fine now.

3. Fetch/Proxy Modules

There are some fetch/proxy modules  (e.g. for EEMProxy as well [2]) to fetch/catch mails, but latter does not work for some emails with 3.2 (parse errors). Reported from someone else on the Alfresco forum as well, but there were no replies either [3]. Could be a version related issue and not built for the 3.2 branch.

Some more information on similar tries here (there are two pdfs, both interesting to look at) [4].

I spent some time getting things running, but it was rather disappointing. Not much in the wikis or forums as well. But nevertheless it would be interesting to see and read how other people did go with it. Update: found some interesting things. Almost got Alfresco running as a email archive with only default Alfresco. It might take some time but it might work.

So long,

Björn

Disclaimer: I tested it not on different set ups or with a standalone version, only on my running system, so the problems described could be also in my set-up.

[1] http://forums.alfresco.com/en/viewtopic.php?f=9&t=24157&p=79154
[2] http://sourceforge.net/projects/emailarchiving/
[3] http://forums.alfresco.com/en/viewtopic.php?f=29&t=23454&p=76692&hilit=eemproxy#p76692
[4] www.system-worx.de/component/option,com_docman/gid,40/task,doc_download/

43
Hi Jim,

posting the ebox logs might help, i.e.

tail -100 /var/log/ebox/error.log

and maybe

tail -100 /var/log/ebox/ebox.log

The 'ssl_error_rx_record_too_long' indicates an error with the Apache certificate for the ebox admin server.

To be able to backup the relevant directories you might need to switch to root, e.g.

sudo cp -r /home /mount/...

You can use 'ls -al' to show the set permissions, e.g.

ls -al /home/samba

I am not sure if I was able to help. If not, could you please specify your problems with permissions.

Good luck with your backup!

Björn






44
I quickly tried, but it was not successful (for me). What I've forgotten yesterday was to try to downgrade manually , i.e.

apt-get install slapd=version

You can get the available versions with

apt-cache policy slapd

I don't know the exact versions out of my mind right now.  And you have to fix the other dependencies (ebox-usersandgroups, etc.) as well. Could be messy to resolve everything after all.

I am sure the ebox-team will help with a fix soon. Thanks in advance for the great work!

So long,

Björn

45
Thanks! It is on a testing system, so its no problem. Backups are ready to test again after the new version is ready and on the ppa.

So long,

Björn

Pages: 1 2 [3] 4