[turba] sync turba and passwd

Jan Schneider jan at horde.org
Wed Nov 5 23:02:26 UTC 2008


Zitat von pal at hkskole.no:

>> Zitat von pal at hkskole.no:
>>
>>>
>>>
>>>
>>> I'm checking out Horde to replace my current Squirrelmail
>>> installation. What I need to know
>>> first is the possibility to make global address books for all users.
>>> In my Squirrelmail
>>> installation I have made a script to collect user ata from passwd
>>> file and make a global address
>>> book (text file).
>>>
>>> I know Turba uses database backend to store this type of
>>> information, but I need to know if
>>> there are any possibility to import such data into the database from
>>> a cron job, i.e. to update
>>> the global list once a day?
>>>
>>> I guess you will recommend some sort of LDAP to solve this, but LDAP
>>> is not an option for my
>>> server at the moment, only passwd.
>>>
>>> Any suggestions?
>>
>> Create a new source driver.
>>
>> Jan.
>
> Hm, that was not much help for me. What is a source driver? How can  
> I make one? Sounds
> complicated. Anyone who have already made one?

A source driver is a driver that implements the address book API for a  
certain storage backend, like SQL, LDAP, etc. The drivers are in  
turba/lib/Driver/ and you can copy one of the more simple drivers like  
"favourite" or "prefs" and start from there.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the turba mailing list