Koozali.org: home of the SME Server

SOLVED LDAP corrupted

Offline supersonico

  • *
  • 28
  • +0/-0
SOLVED LDAP corrupted
« on: August 27, 2012, 08:55:06 PM »
Hi there.

I was working with LDAP ldif file on /etc/e-smith/db/ldap, because the LDAP addressbook is not updating the SMEserver users, and is not complete, I delete and put a copy from backup, trying to make it work.

On internet i found this command

 /etc/e-smith/events/actions/ldap-update ldap-update

but the command result in:

failed to modify entry for uid=sistemas,dc=info,dc=XXX,dc=com: No such object at /etc/e-smith/events/actions/ldap-update line 167, <DATA> line 283.

In all entries.

I was looking in the forum and the bug database how to rebuild the LDAP database, but I haven't found anything to rebuild. The LDAP server is not working and the horde (webmail) shows: "(32) No such object"

Don't know what to do.
« Last Edit: August 29, 2012, 10:06:33 PM by supersonico »

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: LDAP corrupted
« Reply #1 on: August 28, 2012, 02:22:12 PM »
To update the SME authentication LDAP data, I would expect you to want to run "signal-event ldap-update" - I don't know if this functions differently than the command you've shown.

When you say "ldap address book", are you talking about the sme ldap authentication data, or about a shared horde ldap address book?

Offline supersonico

  • *
  • 28
  • +0/-0
Re: LDAP corrupted
« Reply #2 on: August 28, 2012, 08:55:34 PM »
hi mmccarn, I'm working with SME 7.5.1, I have run your command and stiill doesn't work, and yes Iḿ working with shared horde ldap address book (that i use with outlook).


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: LDAP corrupted
« Reply #3 on: August 29, 2012, 01:49:11 AM »
supersonico

AFAIK there is no LDAP write capability support from other connected devices with sme 7.5.1. Any sme 7.x LDAP contrib was very flaky and not really ready for production.

Your best approach is to upgrade to sme8.0 which does have limited LDAP support, note it is still considered experimental, but developers are hoping to have LDAP ready for a sme8.1 release. When ? Not specified, due probably to the small developer community & lack of manpower resources.
See the LDAP section in sme8.0 release notes
http://forums.contribs.org/index.php/topic,48671.0.html
« Last Edit: August 29, 2012, 03:46:04 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline supersonico

  • *
  • 28
  • +0/-0
Re: LDAP corrupted
« Reply #4 on: August 29, 2012, 10:06:15 PM »
I reboot the machine after a

signal-event email-update
signal-event signal-event post-upgrade; signal-event reboot

And I have the LDAP address Book again.