[turba] Turba Groups in head version updated yesterday.
Chuck Hagenbuch
chuck@horde.org
Tue Oct 22 20:42:26 2002
Quoting eculp@encontacto.net:
> That is great! Is there any reference to this in the faq? If not,
> could you share a little more information on your configuration?
> I'm not sure what attribute to use for the individual emails so
> that mail will be sent to the group address. Is something
> special needed in sources.php? I assume that the group dn would be
> the same as any other entry but with the group email/uid something
> like dn: mail=newgroup@domain.com,ou=addressbook,o=domain.com.
No... This is the map that I'm using:
'map' => array(
'__key' => 'dn',
'__type' => 'turbaobjecttype',
'__members' => 'turbaobjectmembers',
'name' => 'cn',
'email' => 'mail',
'homePhone' => 'homephone',
'workPhone' => 'telephonenumber',
'cellPhone' => 'mobile',
'fax' => 'fax',
'homeAddress' => 'homepostaladdress',
'notes' => 'description',
'pgpPublicKey' => 'pgppublickey'
),
__members is the key one for groups, I defined that in my schema as a binary
data type; you also need __type. Here is what I added to my schema definitions:
attributetype ( 1.3.6.1.4.1.13040.1.2.4.501
NAME 'pgppublickey'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributetype ( 1.3.6.1.4.1.13040.1.2.4.502
NAME 'turbaObjectType'
EQUALITY objectIdentifierMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )
attributetype ( 1.3.6.1.4.1.13040.1.2.4.503
NAME 'turbaObjectMembers'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
I'm not really an LDAP person, so I'm not sure that's the best way to do it,
but it seems to work.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
"People ask me all the time what it will be like living without otters."
- Google, thanks to Harpers