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 [2] 3 4 ... 10
16
Installation and Upgrades / Re: 1.4 slave usersandgroups nasty bug
« on: February 17, 2010, 09:53:44 pm »
To all the space shouters out there, I think I just fixed the problem in the SVN.

It should be fixed in the next release, just wait for the next update of ebox-usersandgroups.

Please note that you might have problems with a given user if you already tried to set it as admin.

You can fix that by installing ldapvi in the slave:
Code: [Select]
sudo apt-get install ldapvi
,
running:
Code: [Select]
ldapvi -D "cn=ebox,dc=hardy4" --bind simple -w $(sudo cat /var/lib/ebox/conf/ebox-ldap.passwd) -b "dc=hardy4"
with your DN instead of dc=hardy4 (you can check it in the LDAP Info section in the master).

This will launch an editor with the content of your LDAP slave and there you should delete the memberUid: lines from the Domain Admins and Administrators groups. Save changes and then you should be able to set users as admin without any problem.

Remember you have to wait for the new ebox-usersandgroups update.

Cheers and sorry about this problem :)

17
Installation and Upgrades / Re: 1.4 slave usersandgroups nasty bug
« on: February 17, 2010, 03:47:29 pm »
Your problem is duly noted and I'll have a look at it as soon as I have some time.

Cheers!

18
Installation and Upgrades / Re: Services starting in wrong order
« on: February 12, 2010, 12:42:09 am »
Hi Cheleb! Just fixed this in SVN and should be available in the next version of the ebox package which will be released in the following days.

Thanks again for the report.

19
Installation and Upgrades / Re: ebox 1.4 unable to send mail events
« on: February 10, 2010, 04:09:07 pm »
But are the errors still showing up in mail.log?

20
Installation and Upgrades / Re: Master/slave problems again
« on: February 10, 2010, 01:36:48 pm »
Of course if the master is behaving properly now, there is no need to reinstall that, just the slaves, remove all of them and then clean the user journal:
Code: [Select]
sudo rm -rf /var/lib/ebox/conf/userjournal/*

Then make sure the hostnames of the slaves are resolvable from the master and start installing them, if the users are already created it should work ok too.

21
Installation and Upgrades / Re: Master/slave problems again
« on: February 10, 2010, 01:35:31 pm »
Well, if your setup isn't really complicated it's better if you begin doing things well from the beginning :)

Install the master, install the slaves, enable users and groups in the master, add the hostnames of the slaves in /etc/hosts or the DNS, enable users and groups in the slaves, start adding users, ...

22
Installation and Upgrades / Re: ebox 1.4 unable to send mail events
« on: February 10, 2010, 01:18:32 pm »
There are no references there to ou=mailalias.

Keep the slapd running on debug until you get one of the "can't find ou=mailalias,ou=postfix,..." errors in the mail log. Then try to look for the related error in the LDAP server. Or maybe that problem is gone? Do you get any other kind of error now?

23
Installation and Upgrades / Re: ebox 1.4 unable to send mail events
« on: February 10, 2010, 12:15:40 pm »
That's weird, the LDAP seems to be ok.

First of all, restart the mail module:
Code: [Select]
sudo /etc/init.d/ebox mail restart

I don't think it'll fix anything but try it anyway. If that doesn't work, do the following. Stop LDAP:
Code: [Select]
sudo /etc/init.d/slapd stop

and then run it with the debug option:
Code: [Select]
sudo /usr/sbin/slapd -h "ldap:/// ldapi:/// ldaps:///" -g openldap -u openldap -F /etc/ldap/slapd.d/ -d 256

and try to send a message or whatever and see if there is some error when trying to access the ou=mailalias.

Paste here any relevant output.

24
Installation and Upgrades / Re: Master/slave problems again
« on: February 10, 2010, 11:45:37 am »
The replication is made at a LDAP server transparently, but every time a new user is added it might be needed to run some commands in the slaves.

To do that the master notifies the slaves using SOAP so they can setup the necessary stuff for the new user in the slave, such as adding extra LDAP attributes or creating directories.

In order to do that, the master keeps a list of slave hostnames. The server must be able to resolve these hostnames into IP addresses in order for this to work.

If you have the hostnames slave1 and slave2 in the master. ping slave1 and ping slave2 should work from the master. You can do this either setting up a DNS server (with eBox or otherwise) or just adding the hostname-ip pair in the file /etc/hosts in the master.

Once that's done you should be able to click 'force slave sync' and it should work.
Cheers!

25
Installation and Upgrades / Re: Master/slave problems again
« on: February 10, 2010, 11:33:08 am »
Note that after you run that all your users in that machine will be deleted (shouldn't matter as you are going to install a slave).

In addition if you have modules such as samba or mail installed there, you'll have to run:
Code: [Select]
sudo /usr/share/ebox/ebox-unconfigure-module samba
sudo /usr/share/ebox/ebox-unconfigure-module mail
... for each one of them after running the aforementioned script.

26
Installation and Upgrades / Re: Master/slave problems again
« on: February 10, 2010, 11:31:54 am »
There is no way to do that, you have to completely remove usersandgroups and reinstall it, in order to do that you can use the script:
Code: [Select]
sudo /usr/share/ebox-usersandgroups/ebox-usersandgroups-reinstall

27
Thanks for the report, we'll fix these two problems ASAP and release new packages.

28
Installation and Upgrades / Re: ebox 1.4 unable to send mail events
« on: February 10, 2010, 10:38:18 am »
Well, apparently it can't find:
Code: [Select]
'ou=mailalias,ou=postfix,dc=calypso,dc=us,dc=nss,dc=net'
in the LDAP directory. That should be there, created when enabling the mail module.

You can run:
Code: [Select]
sudo slapcat
and check what's in the LDAP, try to look if the ou=mailalias is there, and otherwise if at least the ou=postfix is there. Paste the related parts of your output here.

Cheers

29
Installation and Upgrades / Re: Bug after update 1.2 to 1.4
« on: February 10, 2010, 09:42:25 am »
Great :)

30
Installation and Upgrades / Re: ldap master/slave failure
« on: February 10, 2010, 02:09:19 am »
You can't really change the mode once it's installed.

You need to run:
Code: [Select]
sudo /usr/share/ebox-usersandgroups/ebox-usersandgroups-reinstall

That will remove the ebox-usersandgroups module and reinstall it, deleting all the current users on the way. That's the only way to change the mode now.

Pages: 1 [2] 3 4 ... 10