Koozali.org: home of the SME Server

Storing ALL contacts on LDAP of SME

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Storing ALL contacts on LDAP of SME
« on: January 10, 2005, 11:06:12 PM »
Hi

I´d like to use LDAP on SME server to store contact of people.

I´d like to use an account on LDAP (same as on SME) to access and have my e-mail client to store contacts on SME.

Is this possible ?
What clients do this?
How hard is to change SME OpenLDAP to support this?

Anyone already tryed this?

BTW: I saw these:
http://mirror.contribs.org/smeserver/contribs/hmuhammad/
and
http://www.vanhees.cc//modules.php?op=modload&name=Downloads&file=index&req=viewdownloaddetails&lid=160&ttitle=sme-phpldapadmin-0.1-1MstSlp.noarch.rpm

But none of them is was I´m looking for
(one is web interface , other is a file import contact tool)


Thanks

Jáder
...

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Storing ALL contacts on LDAP of SME
« Reply #1 on: January 13, 2005, 02:09:48 PM »
Hello Jader,

The one form http://mirror.contribs.org/smeserver/contribs/hmuhammad/ is not just for web interface.

It also works out of outlook express, Thunderbird and I'm sure all other e-mail programs that support ldap.

I have it working on my thunderbird and outlook express ... soon I'll be implementing it in my work place where we will be using only ldap and imap for mail.

You just have to read the instrutions and it will work no probs.

Regards,

Tib

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
LDAP for Write?
« Reply #2 on: January 14, 2005, 01:26:44 AM »
Hi Tib

Thanks by your reply.

Are you sure you can add new contacts on LDAP using Thunderbird / Outlook Express ?

I´ll install contrib this weekend only!
I haven´t seen this feature on Thunderbird or OE!

Do you mind to share your config of TB/OE with me?
You could send images of your client to my e-mail: jader.marasca@gmail.com
(do you/someone else want an GMAIL account?)

Thank you

Jáder
...

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Storing ALL contacts on LDAP of SME
« Reply #3 on: January 14, 2005, 12:44:38 PM »
Hello Jader,

The only hassel with this is you have to update the list manually ... I put the list into an ibay that is available to a select few (who know what there doing) and only let them update the file.

In reality how often does a global e-mail list get updated anyway once it is setup.

As for the local list ... well that should be self explanitory.

Then you have your personal list.

I should have some time over the weekend if you still require some tips on how to setup Thunderbird and OE.

Regards,

Tib

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
TB/OE for LDAP
« Reply #4 on: January 14, 2005, 01:18:26 PM »
Hi Tib

I know that contrib uses a file to update global lists.
But what I was looking for is a way to use TB/OE to create new records on LDAP server.
So everyone who knows how to configure a client (TB/OE) could have his address book available everywhere.

I have done my TB/OE work with LDAP for read... but thanks by your offer!

Have a nice weekend (I´ll play with LDAP-Contact tomorrow morning!)

Jáder
...

Offline hmuhammad

  • ***
  • 65
  • +0/-0
Storing ALL contacts on LDAP of SME
« Reply #5 on: January 14, 2005, 02:37:01 PM »
Hi Jader,

I contributed the smeserver-ldap-contacts rpm.

The way it works now is that global contacts are imported from a specified tab-delimited text file. That file can be maintained directly, such as with a spreadsheet...

Or, it can be populated by exporting contacts from Outlook, Outlook Express, Thunderbird or some other address book into the specified file.

The contrib checks every hour and updates the LDAP directory if the file has changed.

An example of how this works in one office is that anyone who wants to add a 'global' contact sends the contact info to the receptionist who then creates a new Outlook contact; she then (or later) *manually* exports contacts to the specified text file for global contacts.

This arrangement works well enough for global contacts (I suppose when they aren't changing *too* much).

Addressing your concerns:

1) the contrib could probably be expanded to handle a personal directory (at least one) for each SME user; however, each user would be required to *manually* export their addressbook on a 'timely' basis.

For your purposes, is this a reasonable requirement?

Alternatively, a keyboard/mouse recording macro could be developed to 'automatically' do the export.

Anybody know of such a macro recording utility for Windows XP?

2) As for having an addressbook available everywhere:

By default LDAP is configured for access only from the SME server's private network.

Public access would be need to be granted for accessing the LDAP directories externally (and port 389 would need to be open on the firewall).

Anybody know of any security risks with public LDAP access?


Regards,
Hasan
...............

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Storing ALL contacts on LDAP of SME
« Reply #6 on: January 15, 2005, 11:26:44 AM »
Hi Hasan

Thanks by your interest, answer AND your contrib!

I´ll install your contrib today (just 8am of Saturday here!).

But I´d like to know if:
1) it´s possible to use TB or OE to create NEW ldap contact on a given LDAP server (no SME)
2) Your changes on LDAP allow anyone to create his own catalog on LDAP (so far I think the answer is no)

About your answer:
"
1) the contrib could probably be expanded to handle a personal directory (at least one) for each SME user; however, each user would be required to *manually* export their addressbook on a 'timely' basis.
For your purposes, is this a reasonable requirement?
"
Have the same structure (expor to file, each hour import) will do not solve my problem. Thanks by your offer!

I need a way to use LDAP directly (haven´t found a client able to do this yet! And I love Thunderbird!)

Thanks and have a nice weekend.

Jáder
...

Offline hmuhammad

  • ***
  • 65
  • +0/-0
Storing ALL contacts on LDAP of SME
« Reply #7 on: January 15, 2005, 06:16:48 PM »
Jader asked:

But I´d like to know if:
1) it´s possible to use TB or OE to create NEW ldap contact on a given LDAP server (no SME)
2) Your changes on LDAP allow anyone to create his own catalog on LDAP (so far I think the answer is no)

Hasan answers...

1) Not that I know about.

2) The contrib could probably be changed to accommodate a personal LDAP directory/addressbook for each user, however, the directory would have to be populated by importing a text file.
...............

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
LDAP and TB or OE
« Reply #8 on: January 15, 2005, 07:59:44 PM »
Hassan

Thank by your answers.

I think change the SME LDAP to allow user have your own directory is a good move.
I´ll search for a client (Eudora/Incredimail/??) able to create contact on a LDAP server.

Thanks

Jáder
...

Offline hmuhammad

  • ***
  • 65
  • +0/-0
Storing ALL contacts on LDAP of SME
« Reply #9 on: April 15, 2005, 06:15:28 PM »
--- Jáder Marasca <jader.marasca@gmail.com> wrote:
> Hi Hassan
>
> I decided to write directly to you this time!
>
> I finally have one client wishing to use your contrib. So I wento to
> try to install on a new installation!
> But IT FAILED!
> I say it´s required horde-turba-1.4.X... and this appears to be a
> SME6.5 package.
> Am I a complete dummy because write now I don´t have versions (later
> I´ll update from home!).
>
> I´m using SME 6.0.1-01 with smeplus.sh updates!
> Can you confirm this and point a workaround?
>
> Thanks!
>
> Jáder
>

Hi Jader,

From the RELEASE NOTES..

...
===============================
For non-Mitel supported servers
===============================

The --force flag is used for...

smeserver-ldap-contacts-0.3.1-01hm.noarch.rpm

because it overwrites some configuration files and templates from...

imp, turba, e-smith-imp, e-smith-turba

which are restored by the uninstall scripts to original files from versions...

imp-3.2.1-2es01
turba-1.2-1es00
e-smith-imp-1.10.0-02
e-smith-turba-1.4.0-01

The uninstall scripts also restores...

e-smith-ldap-4.10.0-03
...

The above mentioned files are included in SME 6.0.1-01, which is the only version for which I've tested this package.

Maybe the package requirements your encountered are cause by smeplus.sh (though I see in it no explicit reference to horde-turba--it does reference horde and turba).

Anyway, since the smeserver-ldap-contacts package modifies the above imp and turba files to provide access to the global contacts from webmail--it almost certainly will not work with smeplus.sh (which upgrades imp and turba).

I don't know if you need the webmail upgrades included in smeplus.sh. If not, you might try removing them from the script and then try to install the smeserver-ldap-contacts package.

I'll probably wait a bit longer before I make further upgrades to the package, hoping the smoke clears as to what will be the next SME release.

Hasan
...............

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Storing ALL contacts on LDAP of SME
« Reply #10 on: April 17, 2005, 03:04:53 PM »
Hi guys

I also used the smeplus.sh to update my installation but after the install I installed hmuhammad's LDAP package by following his instructions and all went well. I run this at home as well as at work with no problems at all.

Regards,

Tib