Skip to Content.
Sympa Menu

en - [sympa-users] modifying sympa to support UID

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Yonni Edelist <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] modifying sympa to support UID
  • Date: Mon, 6 Dec 2004 14:16:20 +0200

hi All,

i'm trying to integrate sympa into an existing users management system.
specifically, i want sympa to work with the external system's UIDs instead of
emails stored in sympa's DB.
users with the same uid can change their emails freely (using the external
system), and still stay the same user. i would like to change sympa so that
it'll fetch the user email from the users management system's database, based
on the uid which is stored in sympa.

a couple of examples:
scenario 1: a message is distributed to a list. some of the list's
subscribers have uids. i would like sympa to fetch their emails from the
external db based on their uids.
scenario 2: a list editor/owner changes his email address (through the
external
system). i'd like sympa to be able to know that and update its db accordingly.

i browsed around in sympa's code, to try and see what needs to be changed. i
found that i might need to change the following functions:
List::get_first_user
List::update_user
List::add_user
List::delete_user

btw: anybody knows what's the difference between 'func' and 'func_db'? (i.e
'get_user' and 'get_user_db')

if anyone ever tried something similar, or just has any ideas, i'd appreciate
any suggestions.
thanks,
Yonni


  • [sympa-users] modifying sympa to support UID, Yonni Edelist, 12/06/2004

Archive powered by MHonArc 2.6.19+.

Top of Page