Koozali.org: home of the SME Server

LDAP

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
LDAP
« on: January 01, 2007, 06:03:02 AM »
Hi all

Is there a (How to) on setting up thunderbird client for use with SME LDAP to lookup addresses ?

And can I look up my addresses from my address book or is this only for the SME global LDAP addresses?

Please advise

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: LDAP
« Reply #1 on: January 01, 2007, 07:15:39 AM »
Quote from: "Agent86"
Hi all

Is there a (How to) on setting up thunderbird client for use with SME LDAP to lookup addresses ?


This is documented in the manual.
Quote from: "Agent86"

And can I look up my addresses from my address book or is this only for the SME global LDAP addresses?
Please advise


The LDAP directory is effectively read-only at this stage. It is possible to add additional information to LDAP, but it is currently not supported. Thunderbird will allow you to search multiple address books.
............

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: LDAP
« Reply #2 on: January 01, 2007, 09:22:58 AM »
Quote from: "Agent86"
Hi all

Is there a (How to) on setting up thunderbird client for use with SME LDAP to lookup addresses ?

And can I look up my addresses from my address book or is this only for the SME global LDAP addresses?

Please advise


I asked the same question sometime ago..

http://forums.contribs.org/index.php?topic=31835.0
Regards,
William

IF I give advise.. It's only if it was me....

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
LDAP
« Reply #3 on: January 01, 2007, 04:31:52 PM »
Thanks,

I have read those posts and search the forums quit extensively,and also read the manual chapter 7.6 regarding LDAP. however I seem to be missing something.

I can't figure out how to import contacts to the LDAP addressbook.
I import to my (user) SME addressbook then try to import the (user) addressbook to the (LDAP) addressbook while logged into webmail as (user). The import to my (user) address book appears to work proper, but NOT the importing to the (LDAP) addressbook.

Will the LDAP lookups from the client computer(thunderbird) look in  my (user) addressbook ? or only the (LDAP) addressbook ?
 
Thanks for the help all,

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: LDAP
« Reply #4 on: January 01, 2007, 10:15:32 PM »
Quote from: "Agent86"


I can't figure out how to import contacts to the LDAP addressbook.


As it is at the moment, you can't.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
LDAP thanks
« Reply #5 on: January 01, 2007, 10:29:31 PM »
Thanks for the info

I hope there will be a option for this perhaps in the futuree

oblooblo2000

LDAP
« Reply #6 on: January 08, 2007, 09:51:41 AM »
of course you can !!! However you need to install php script, or use some groupware like openxchange, egroupware, vtiger... and syncml synchronisation with your client software !!

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
LDAP
« Reply #7 on: January 08, 2007, 12:40:50 PM »
Quote from: "oblooblo2000"
of course you can !!! However you need to install php script, or use some groupware like openxchange, egroupware, vtiger... and syncml synchronisation with your client software !!


Where is your how to ?
Regards,
William

IF I give advise.. It's only if it was me....

oblooblo2000

LDAP
« Reply #8 on: January 09, 2007, 09:25:33 AM »
????? for what, be more precise, I quoted different groupware... and there is many contrib that install it very well, just use search buttom!!
However, if you've got precise questions, ask!! :?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
LDAP
« Reply #9 on: January 09, 2007, 02:13:27 PM »
Quote from: "oblooblo2000"
????? for what, be more precise, I quoted different groupware... and there is many contrib that install it very well, just use search buttom!!
However, if you've got precise questions, ask!! :?
Please be polite... users here try to help each other. If you would have looked a bit further you would have known that william_syd has helped out many users and has a long track record here.

Quote from: "oblooblo2000"
of course you can !!! However you need to install php script, or use some groupware like openxchange, egroupware, vtiger... and syncml synchronisation with your client software !!
I can understand william_syd's reaction perfectly well if you state in such strong words that it can be achieved. If you are so sure we would like you to share your knowledge in a HowTo so that other users can benefit from your knowledge as well. Stating that it can be done is not enough unfortunately for other users to successfully finish there installation.
AFAIK it is not possible to store contacts in a user LDAP address book for use with a mailclient and webmail together.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

oblooblo2000

LDAP
« Reply #10 on: January 10, 2007, 05:09:44 PM »
ok,
first I wasn't so impolite (don't know if this word exist !!!! :lol: )
second, I guess that he is able to say if I was rude and to say it! My wish was only to help, if don't want....
 :arrow:

second, I can't do a howto for every groupware that exist... can I ????

Ok you want an example, you install egroupware with ldap authentification, you install syncml, sync4j or funambol and outlook/thunderbird...
You can ask the ldap directory with mail client, and the funambol connector sync the new data with the client !!!!
was it unpossible ????

With opengroupware also, and with openxchange too...
the connector are toltec connector, openconnector, cunnector, syncml (funambol, sync4j...), oxtender...


Quote
AFAIK it is not possible to store contacts in a user LDAP address book for use with a mailclient and webmail together.

so it is possible !!!!
And if you've got the mail client evolution, Kcontact... under linux, it is a better implementation of the opensource connector and syncml protocol !!!
Enjoy!!!

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
huh ?
« Reply #11 on: January 11, 2007, 07:52:40 PM »
uh ok I guess

I'm not using groupware etc. I simply was wondering about a write access to the ldap, but I thought that it could only be written when logged in as root in the server-manager from what little I know of it.

Does the egroupware or other give root access to my directory ?
If so I'm not sure I like that much.

I would prefer that the personal or shared addressbooks in Horde would allow to also create additional or shared LDAP's. Seems like that would be simpler, but I don't know? But not with new egroupware and openware or whatever is sounds like I will now have another app to use.

I like my webmail interface thus far and the new RPM's that are available with the edit command to make shared addressbooks etc.
I wish the shared or personal addressbooks could have a feature to use the LDAP or share to LDAP directory or create a new LDAP and add personal or shared addressbooks.
That still does not really solve my real desire to be able to have the email client the ability to write to the LDAP as with adding email recipients to the LDAP or peronal address book on Horde instead of on my email client.
But that may even be better for me.

Anyhow thanks for the help on this I think I'll just use webmail addressbooks as is with the new RPM installs for now.
Thanks

oblooblo2000

Re: huh ?
« Reply #12 on: January 12, 2007, 07:19:27 AM »
Quote from: "Agent86"
uh ok I guess

I'm not using groupware etc. I simply was wondering about a write access to the ldap, but I thought that it could only be written when logged in as rootin the server-manager from what little I know of it.

1/Does the egroupware or other give root access to my directory ?
If so I'm not sure I like that much.


I would prefer that the personal or shared addressbooks in Horde would allow to also create additional or shared LDAP's. 2/Seems like that would be simpler, but I don't know? But not with new egroupware and openware or whatever is sounds like I will now have another app to use.

I like my webmail interface thus far and the new RPM's that are available with the edit command to make shared addressbooks etc.
I wish the shared or personal addressbooks could have a feature to use the LDAP or share to LDAP directory or create a new LDAP and add personal or shared addressbooks.
That still does not really solve my real desire to be able to have the email client the ability to write to the LDAP as with adding email recipients to the LDAP or peronal address book on Horde instead of on my email client.
But that may even be better for me.

Anyhow thanks for the help on this I think I'll just use webmail addressbooks as is with the new RPM installs for now.
Thanks


hello,

1/ In fact, if I take for example egroupware (there is many other...), you have to setup two ldap access!!! The first is for administrativ access (client that access to the interface (webmail, task, contact, planning, forum... wih acl). This first section is a different shema in the ldap. The second, you have to setup in the contact module! So you can configure with different user access if you don't want contacts to be same access than interface. However, egroupware has got acl for access control.

2/ You can do it in a different way, only use additionnal app like EGW, for creating ldap new entry (there is also email webmail), then when you personnal want to create new entries, 2 solutions (they use webmail on the groupware, or they add it in thunderbird, then it will sync their client with the syncml protocol of the server (EGW) or funambol connector...)

If you want to use horde only, I guess there is horde ldap module to add, but never try!!!! and this:
Quote

8.2.3.1.1 Avec OpenLDAP

To use ldap and horde edit horde/config/horde.conf and change these lines :

$conf['auth']['driver'] = 'ldap';
$conf['prefs']['driver'] = 'ldap';
$conf['prefs']['params']['hostspec'] = 'localhost';
$conf['prefs']['params']['port'] = '389';
$conf['prefs']['params']['basedn'] = 'dc=exemple,dc=net';
$conf['prefs']['params']['uid'] = 'mail';

then copy the schema scripts/ldap/horde.schema in /etc/openldap/schemas/ and add this line to /etc/openldap/slapd.onf :

include         /etc/openldap/schema/horde.schema

Add the classe hordePerson to each user then fill the email variable.


to to help !!

oblooblo2000

LDAP
« Reply #13 on: January 12, 2007, 07:30:36 AM »
after what, you can also create a little script and had it to horde interface:
Code: [Select]

[b]script:[/b]
#function that fill the ldif file with horde form
# -------
#
# then add it in ldap
$ ldapadd -v -x -h 192.168.0.1 -D "cn=root, dc=laboite, dc=com" -W -f infsoldap.ldif

[b]ldif file structrure:[/b]
dn: cn=jllc, ou=interne, dc=laboite, dc=com
objectclass: person
surname: Jllc
givenname: Jllc
mail: jllc@la boite.com
cn: Jl Lc


but more complicate

Offline Agent86

  • *****
  • 592
  • +0/-0
    • http://www.iclbiz.com
Thanks
« Reply #14 on: January 12, 2007, 02:51:00 PM »
I don't think I'll tackle that now, It's getting too complicated for me and I don't want to break my install. Also worried about SME updates / upgrades

Thanks