These patches allow adding LDAP address book entries
into groups. I am only using local flat files for
address books and groups, plus the LDAP address book.
I do not know what effect the changes to
addressbook.php will have on other addressbook backends.
One piece not addressed is mail aliases. I, for
example, have three mail aliases in LDAP:
mail: chanson
mail: webmaster
mail: postmaster
When adding any one of those to a group, all are added
because the DN is stored in the group, not the email
address. If one is removed, all are removed.
Updates are for the following files in abook_group 0.50:
abook_group_flatfile_database.php
abook_group_functions.php
addrbook_search.php
listMembers.php
and SquirrelMail 1.4.6 files in functions the directory:
abook_ldap_server.php
addressbook.php
Run the patches from the SquirrelMail home directory:
# patch p0 < patch_name
patches to add LDAP address book entries to groups
Logged In: YES
user_id=184068
One other note. I changed the flatfile delimiter from a
comma to a pipe because the DN from ldap was being stored.
This will require modification of the *.agroup files.