Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: xfraissine on March 18, 2007, 06:53:57 AM

Title: Open-Xchange and 7.1.2
Post by: xfraissine on March 18, 2007, 06:53:57 AM
I updated my SME7 to 7.1.2, witch installs the  e-smith-lib-1.18.0-8.el4.sme.noarch.rpm package.
had un error like :
e-smith-lib = 1.16.0-10ox1 is needed by package sme7-open-xchange-conf

So i instaled 1.18 with --nodeps, aparently no problem... but when i change a password from the sme panel, it is not updated in ox.


any idea to solve this? or maybe a e-smith-lib-1.18.0-8ox version?


Thx.
Title: ooops i made a mistake
Post by: xfraissine on March 20, 2007, 05:40:58 AM
excuse me to post it here... was in bug tracker the right place...

Anyway i find a solution it may interest someone :

The file actualized by the new version of sme-lib used by ox is util.pm located in :

/usr/lib/perl5/site_perl/esmith


search for this sub "setSambaPassword" and make the following modification (add text in red):


sub setSambaPassword ($$)
{
    my ( $username, $password ) = @_;

############ BEGIN OX MODIFICATION
    if ( ($username ne 'admin' ) and ($username ne 'root')) {
       open( OXPW, ">/tmp/oxpass.pw" )
               || die "Could not open OX password file.\n";
       print OXPW $username."\n";
       print OXPW $password."\n";
       close OXPW;
    }
############ END OX MODIFICATION

    #----------------------------------------
    # then set the password
    #----------------------------------------

 
And now you can change the password/users from the sme panel again...


my apologies for the wrong wiki...

Xavier
Title: NEW rpm's from Vincent
Post by: SchulzStefan on March 26, 2007, 04:07:17 PM
There are new rpm's from Vincent available.

http://smeserver.free.fr/Files/index.php?dir=open-xchange/ox7/

- perl-IO-Socket-SSL-1.01-1.c4.noarch.rpm
- perl-Net_SSLeay.pm-1.25-4.el4.at.i386.rpm
- sme7-open-xchange-0.8.2.1-77.noarch.rpm

*ALWAYS* backup your system before installing the new rpm's. Don't forget  to change the script's in usr/local/open-xchange/sbin and ~/share as described in threads before.

It might be possible, that you have to kick your existing ldap. Create a new one - look in the open-xchange HOW-TO.

The new rpm's are running stable (for me) under sme 7.1.3

stefan
Title: Re: NEW rpm's from Vincent
Post by: daley on March 27, 2007, 01:58:37 PM
Quote from: "SchulzStefan"
There are new rpm's from Vincent available.

http://smeserver.free.fr/Files/index.php?dir=open-xchange/ox7/

- perl-IO-Socket-SSL-1.01-1.c4.noarch.rpm
- perl-Net_SSLeay.pm-1.25-4.el4.at.i386.rpm
- sme7-open-xchange-0.8.2.1-77.noarch.rpm

*ALWAYS* backup your system before installing the new rpm's. Don't forget  to change the script's in usr/local/open-xchange/sbin and ~/share as described in threads before.

It might be possible, that you have to kick your existing ldap. Create a new one - look in the open-xchange HOW-TO.

The new rpm's are running stable (for me) under sme 7.1.3

stefan



I see some files in the directory, do i need to download all *.rpm to install it?  what do i need to concern before i am setup ox7 into my smeserver box?

Thanks,
Daley
Title: Open-Xchange and 7.1.2
Post by: SchulzStefan on March 28, 2007, 09:48:38 AM
Daley,

to start with open-xchange, please read http://forums.contribs.org/index.php?topic=34388.0.

It mights also be helpful to search in the forum the keyword *open-xchange*.

Meanwhile this contrib from Vincent is discussed in detail - if you follow the How-To and the hints in the forum, it should be possible to install and to work with open-xchange.

stefan