I am trying to write a perl script to synchronize contacts between Zentyal 4.2 and another system. I believe I can hook into the existing Zentyal perl modules to do what I want, which is to use the script to manage the "Shared Contacts". If anybody could help me with some questions I would greatly appreciate it:
* What is the difference between users and contacts? From the code they seem to be pretty similar.
* Does the Ebox::Samba::contacts() subroutine return users, shared contacts, or all contacts, or what?
* I see how to create a contact, but how do I specify that I want to create a shared contact?
* Can anybody point me to a list of valid parameters (fax, mobile, city, etc) when creating a contact?