[turba] Possible to use exchange personal contacts?

Jody Cleveland Cleveland at winnefox.org
Mon Oct 25 05:55:22 PDT 2004


Hi Mike,

> If you have the ldp.exe program, that can help you debug the 
> dn you need
> to use to get access to the address book.
> 
> You will probably have to look through the turba code where 
> it tries to
> connect to the exchange server and then do the steps by hand.  

I've got this for my user:
textEncodedORaddress	c=US;a= ;p=Winnefox
Library;o=WALSDOMAIN;s=Cleveland;g=Jody;
conferenceInformation	/
givenName	Jody
sn	Cleveland
rdn	Cleveland
physicalDeliveryOfficeName	WALS
MAPI-Recipient	TRUE
mail	Cleveland at winnefox.org
uid	Cleveland
rfc822Mailbox	Cleveland at winnefox.org
objectClass	organizationalPerson
objectClass	person
objectClass	Top
distinguishedName
cn=Cleveland,cn=Recipients,ou=WALSDOMAIN,o=Winnefox Library System
cn	Jody Cleveland
otherMailbox	smtp$Cleveland at mail.winnefox.org
otherMailbox	smtp$cleveland at ourguide.org
otherMailbox	smtp$cleveland at wals.lib.wi.us
otherMailbox	smtp$phpbb at winnefox.org

And this in the sources.php:
$uid = Auth::getBareAuth();
$basedn = 'ou=WALSDOMAIN,o=Winnefox Library System';
$cfgSources['personal_ldap'] = array(
    'title' => _("Outlook Contacts"),
    'type' => 'ldap',
    'params' => array(
        'server' => '199.242.176.171',
        'root' => 'ou=' . $uid . ',ou=personal_addressbook' . $basedn,
        'bind_dn' => 'uid=' . $uid . ',ou=People,' . $basedn,
        'bind_password' => Auth::getCredential('password'),
        'dn' => array('cn', 'uid'),
        'objectclass' => array('top',
                               'person',
                               'inetOrgPerson',
                               // 'calEntry',
                               'organizationalPerson'),
        'charset' => 'utf-8',
        'version' => 3
    ),

It seems as though it's not grabbing the credentials properly. Is
Auth::getBareAuth something that needs to be installed? Is there maybe
something else I'm just missing?

- jody


More information about the turba mailing list