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 - isaac

Pages: 1 ... 3 4 [5] 6 7 ... 10
61
Installation and Upgrades / Re: Slave tries to connect to local LDAP
« on: January 20, 2010, 01:57:11 pm »
Code: [Select]
sudo /etc/init.d/ebox users stop

sudo apt-get -y --force-yes remove --purge slapd ebox-network ebox-objects ebox-services ebox-usersandgroups ebox-firewall && sudo rm -rf /var/lib/ldap* && sudo rm -rf /etc/ldap/*
sudo apt-get -y --force-yes remove --purge libebox ebox
sudo pkill apache

If you run this code, you'll have removed everything you needed to remove and you can install from scratch again.

62
The OpenLDAP version that we were using (different than the one we developed the master/slave with) had a bug that caused replication to not work.

I have just packaged a fixed version and things seem to work with it. It will be uploaded to the 1.3 repositories in a few hours.

63
Installation and Upgrades / Re: Slave tries to connect to local LDAP
« on: January 19, 2010, 03:28:05 pm »
@philmills: what happened is that we upgraded to a new openldap version and it turned out to be 'quite' broken. i have a fixed openldap version that i am uploading right now. it should be available in a few hours. i have just setup master/slave with this version and works perfectly here.

cheers

64
@philmills: it's not 'well and truly' broken at all. what happened is that we upgraded to a new openldap version and it turned out to be 'quite' broken. i have a fixed openldap version that i am uploading right now. it should be available in a few hours.

cheers

65
Hi peterr. The restriction is still there and will be in 1.4. It requires a lot of changes in the LDAP code and it can't be done right before a release.

The master can only contain 'usersandgroups', and no other modules that use groups such as mail or samba.

Cheers!

66
Installation and Upgrades / Re: Slave tries to connect to local LDAP
« on: January 19, 2010, 12:58:02 pm »
Well, let me know the current problem if you need help with that :)

67
Installation and Upgrades / Re: Slave tries to connect to local LDAP
« on: January 18, 2010, 08:01:18 pm »
The mail module doesn't have to connect to the master, only to the slave.

Can you run:
Code: [Select]
ps aux | grep slap
and paste the output?

There should be 3 slapd processes running, one of them in port 1390.

Cheers!

68
Great :)

Well, you are now up-to-date, there is nothing else left to upgrade I guess :)

69
Ok, can you please run this command:
sudo cat /etc/ldap/slapd.d/cn\=config/olcDatabase\=\{-1\}frontend.ldif
and paste the output here?

If the output is something like:
Code: [Select]
dn: olcDatabase={-1}frontend
objectClass: olcDatabaseConfig
objectClass: olcFrontendConfig
olcDatabase: {-1}frontend
olcAccess: {0}to * by dn.exact=cn=localroot,cn=config manage by * break
olcSizeLimit: 500
structuralObjectClass: olcDatabaseConfig
entryUUID: 5d8fda1c-9814-102e-9dea-d1fb3b0916b4
creatorsName: cn=config
createTimestamp: 20100118003004Z
entryCSN: 20100118003004.016646Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20100118003004Z
containing one single olcAccess line, you need to add two more lines, so it looks like:
Code: [Select]
...
olcAccess: {0}to * by dn.exact=cn=localroot,cn=config manage by * break
olcAccess: {1}to dn.base="" by * read
olcAccess: {2}to dn.base="cn=subschema" by * read
...
then run:
Code: [Select]
sudo /etc/init.d/slapd restart
sudo /etc/init.d/ebox users restart
sudo /etc/init.d/ebox mail restart

Post here the output of the commands. Cheers!

olcAccess: to dn.base="" by * read
olcAccess: to dn.base="cn=subschema" by * read

70
Ok. Do the following:
sudo rm /var/lib/dpkg/info/slapd.postinst
then edit:
/etc/ldap/slapd.d/cn\=config/olcDatabase={0}config.ldif with vim or whatever, and you can see two lines that start with olcAccess:
Code: [Select]
olcAccess: to * by dn.exact=cn=localroot,cn=config manage by * break
olcAccess: {0}to * by dn="cn=ebox,dc=vibrobloc,dc=locale" write

They are separated, move them together and change them to look like this:
Code: [Select]
olcAccess: {0}to * by dn.exact=cn=localroot,cn=config manage by * break
olcAccess: {1}to * by dn="cn=ebox,dc=vibrobloc,dc=locale" write

Then run:
Code: [Select]
sudo dpkg --configure -a

Then run again the commands I gave in the other post to see if things have been fixed. Also check the web interface to see if things are working and paste here any error you get.

Cheers

71
@zergius: That looks quite good :P That is after restoring a backup in the new version, right? Are you still having problems with LDAP?

72
Hi, in the end the fix is not that easy, and we are focusing on the 1.2 to 1.4 migration at the moment.

Can you run "dpkg -l | grep slapd" and paste here the result?

Also the output of:
Code: [Select]
sudo /usr/sbin/slapd -d 256 -h "ldap:/// ldapi:///" -g openldap -u openldap -F /etc/ldap/slapd.d/
and
Code: [Select]
sudo cat /etc/ldap/slapd.d/cn\=config/olcDatabase={0}config.ldif

Cheers!

73
Installation and Upgrades / Re: Email signatures in egroupware
« on: January 17, 2010, 02:38:13 pm »
I think you can choose a default signature if you add a new identity.

74
Sorry for asking, but when will we can get a new version of slapd module? Couse i have done big misstake and get beta version to the work machine... =((

Hi zergius! I am going to perform and upgrade from some 1.3.X to 1.3.15 and I'll tell you how to fix your installation.

A new usersandgroups supporting upgrades from 1.3.X to 1.3.15 will be out soon.

Cheers!

75
Installation and Upgrades / Re: €uro Symbol and Email
« on: January 14, 2010, 01:09:06 pm »
insert into egw_config(config_app,config_name,config_value) values('phpgwapi',   'system_charset',   'utf-8');

uhm, weird, i tried exactly that and somehow didn't work. maybe i didn't log out and in or something.

thanks :)

Pages: 1 ... 3 4 [5] 6 7 ... 10