[turba] Help w/ Distribution Lists in LDAP
Lee
lee at disinfo.com
Mon May 12 11:38:42 PDT 2003
>
Amith,
Thanks, i updated our schema and it worked flawlessly.
On a similar subject, do you know how to add a drop down menu to the
add screen that lets the user select whether they are adding a list or
a contact? I know you can add list from the browse screen, but it seems
unintuitive that you can't also add a list from the "add" screen.
Thanks,
Lee
>
> On Monday, May 12, 2003, at 02:12 PM, amith at xalan.com wrote:
>
>> You need the following defined in addition to whatever schema you
>> have for your
>> contacts. Turba uses these to manage the distribution lists.
>>
>> Amith
>>
>> attributetype ( 1.3.6.1.4.1.13040.4.1.2
>> NAME 'turbaType'
>> DESC 'Turba Object Type: Contact/List'
>> EQUALITY caseIgnoreIA5Match
>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{8} )
>>
>> attributetype ( 1.3.6.1.4.1.13040.4.1.3
>> NAME 'turbaMembers'
>> DESC 'Encoded members of a Turba list'
>> EQUALITY caseIgnoreIA5Match
>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{4000} )
>>
>>
>> Quoting Lee <lee at disinfo.com>:
>>
>> | Hey All,
>> | We were running turba 1 and just upgraded to 1.2 (addressbook info
>> is
>> | stored in ldap), and are looking to add distribution list support.
>> Im
>> | having trouble find documentation explaining what needs to be
>> modified
>> | to allow for distribution lists. Can anyone give me a breif rundown
>> of
>> | what I need to do in both turba and with our ldap schema to enable
>> | distribution list support?
>> |
>> | Thanks,
>> | Lee
>> |
>> |
>> | CONFIG FILES:
>> |
>> |
>> | #
>> | # config/sources.php
>> | #
>> |
>> | $vdomain = strtolower(preg_replace('|^mail\.|i', '',
>> | $_SERVER['HTTP_HOST']));
>> | $usermail=Auth::getAuth();
>> | $uid = preg_replace('|@.*|i', '', $usermail);
>> | $pass=Auth::getCredential('password');
>> |
>> | /* PRIVATE ADDRESS BOOK */
>> |
>> | $cfgSources['private'] = array(
>> | 'title' => 'Personal Addressbook for ' . $uid,
>> | 'type' => 'ldap',
>> |
>> | 'params' => array(
>> | 'server' => 'server.com',
>> | 'port' => 389,
>> | 'root' => 'ou=addressbook,uid=' . $uid.
>> | ',ou=users,dc=organization,dc=com',
>> |
>> | /*BIND AS USER NOT AS ROOT */
>> |
>> | 'bind_dn' => 'uid=' . $uid .
>> | ',ou=users,dc=organization,dc=com',
>> | 'bind_password' => $pass,
>> | 'dn' => array('cn'),
>> | 'objectclass' => array( 'addressBookEntry' ),
>> | 'encoding' => 'utf8',
>> | 'version' => 3,
>> | 'filter' => ''
>> | ),
>> |
>> | 'map' => array(
>> | '__key' => 'dn',
>> | 'name' => 'cn',
>> | 'email' => 'mail',
>> | 'homePhone' => 'homephone',
>> | 'workPhone' => 'telephonenumber',
>> | 'cellPhone' => 'mobile',
>> | 'homeAddress' => 'postaladdress',
>> | 'notes' => 'description'
>> | ),
>> |
>> | 'search' => array(
>> | 'name',
>> | 'email',
>> | 'homePhone',
>> | 'workPhone',
>> | 'cellPhone',
>> | 'homeAddress',
>> | 'notes'
>> | ),
>> |
>> | 'strict' => array(
>> | 'dn'
>> | ),
>> |
>> | 'public' => true,
>> | 'readonly' => false,
>> | 'admin' => array(),
>> | 'export' => true
>> | );
>> |
>> |
>> | #
>> | # config/attributes.php
>> | #
>> |
>> | $attributes['name'] = array(
>> | 'type' => 'text',
>> | 'desc' => _("Name")
>> | );
>> | $attributes['alias'] = array(
>> | 'type' => 'text',
>> | 'desc' => _("Alias")
>> | );
>> | $attributes['email'] = array(
>> | 'type' => 'email',
>> | 'desc' => _("Email")
>> | );
>> | $attributes['title'] = array(
>> | 'type' => 'text',
>> | 'desc' => _("Title")
>> | );
>> | $attributes['company'] = array(
>> | 'type' => 'text',
>> | 'desc' => _("Company")
>> | );
>> | $attributes['homeAddress'] = array(
>> | 'type' => 'multiline',
>> | 'desc' => _("Home Address")
>> | );
>> | $attributes['workAddress'] = array(
>> | 'type' => 'multiline',
>> | 'desc' => _("Work Address")
>> | );
>> | $attributes['homePhone'] = array(
>> | 'type' => 'phone',
>> | 'desc' => _("Home Phone")
>> | );
>> | $attributes['workPhone'] = array(
>> | 'type' => 'phone',
>> | 'desc' => _("Work Phone")
>> | );
>> | $attributes['cellPhone'] = array(
>> | 'type' => 'phone',
>> | 'desc' => _("Cell Phone")
>> | );
>> | $attributes['fax'] = array(
>> | 'type' => 'phone',
>> | 'desc' => _("Fax")
>> | );
>> | $attributes['notes'] = array(
>> | 'type' => 'multiline',
>> | 'desc' => _("Notes")
>> | );
>> |
>> |
>> | --
>> | Turba mailing list
>> | Frequently Asked Questions: http://horde.org/faq/
>> | To unsubscribe, mail: turba-unsubscribe at lists.horde.org
>> |
>>
>>
>>
>>
>> --
>> Turba mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
>
More information about the turba
mailing list