On Thursday 25 November 2010 17:17:37 Andreas Dick wrote:
>  hello Roundcube Devs
>  WOW, Rouncube is realy cool! Yes, its just what I need for my home
>  server.
> 
>  What I miss is a more felxible LDAP Addressbook.
>  I allready started to hack RC for my needs, but I am not sure if my
>  changes are wellcome since I have seen that it is planed to rewrite the
>  addressbook in further releases... isnt it?
> 
>  And my changes are still verry personal and not that good configurable
>  like it sould be at a commit.
>  And another problem is, that I have setup my LDAP server my own, thus I
>  am not sure about "standars" on that side.

There aren't really standards as such, everyone does it in a sort-off different 
way. Any implementation should be flexible enough to work with this.

>  Features I implemented allredy:
>  - more fields like address, phone nubers, notes, and the flexibility to
>  add more in the config file.
>  - the "name" field is redundant, it is just "surname lastname", thus it
>  must not be shown and editable.

I would use the name-field anyway, as this can then include any additional 
items. Please take into account that in certain countries (Germany, for 
instance) someone with a title wants to have that acknowledged.

>  - it must be able to let the "email" field empty, because a lot of my
>  addresses just have an address or phone number (used on the cell phone)
>  -> the only field that is necessarry for the LDAP DN is the surname.

I would use a different DN then the surname.
How will you handle a situation where your brother has a different address? 
(But will have the same surname)

I think some kind of unique identifier would be usefull here. Maybe have a look 
at how other projects, like egroupware, work?

>  - adding new fields out of the E-Mail tool improved: email address is
>  now read as:
>     "firstname surname em...@bla" or
>     "surname, firstname em...@bla" or
>     "surname em...@bla" or
>     "[email protected]" or
>     "[email protected]"
>  even mor sensefull syntaxes can be added.
>  - if the "name" allready exists, the entry can not be added, but the
>  email can be added if empty (for my cellphone adresses i like to
>  compleet with email in RC)

Are you putting the "name" in the "email"-field already?
I wouldn't do this, to be honest as it makes matching difficult/impossible for 
mail clients to identify where the email came from.

Example of what I'm talking about:
I put pictures with some of my contacts in LDAP
My desktop mail-client (KMail) recognises the FROM-email address and puts the 
picture of the sender in the header
If I put the full name as well into the email-address, then this feature 
doesn't work.

>  Features I have planed to implement soon:
>  - group management: read groups out of the LDAP, create and remove
>  groups. (I still looking for a "standard- like" LDAP implementation of
>  address groups, I tried allready to use the "o:" attribute, but I think
>  it is better to use seperate LDAP subdirectories for each group)

For groups, I would create a seperate "ldap" tree per group and use that.

>  The question is now: is it welcome if I prepare this to commit once? or
>  is it even allready done in the latest SVN? (I use the stable 4.2 as
>  base)

I'm not good with PHP, but I do know my way around LDAP and how to integrate 
different products to use the same LDAP-installation for my user accounts and 
addressbooks (global, personal, business-related,...)

I wouldn't mind helping with this project if you need any help.

--
Joost
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/8f4f07cd

Reply via email to