[turba] Browsing LDAP Address Book SubTree
eculp at encontacto.net
eculp at encontacto.net
Fri Dec 27 07:23:02 PST 2002
Quoting "Gary C. New" <garycnew at yahoo.com
| Lee,
|
| I've nearly got my complete horde/imp/turba ldap
| implementation squared away. However, I noticed that
| my main addressbook subtree
| (ou=addressbook,uid=username,ou=users,...) is showing
| up in turba when I "browse" my contacts.
I'm sure Lee understands your tree better than I but it sounds like an
issue with your searchbase. What is the value of 'root' in
horde/turba/config/sources.php for your addressbook and what does the
dn of the contact look like? From the above I would assume that your
search base could/should be something like
'root' => 'ou=addressbook,uid=' . $uid . 'ou=users,...'
Of course you will need to have assigned $uid with maybe something
like.
$usermail=Auth::getAuth();
$uid = preg_replace('|@.*|i', '', $usermail);
If you login with the email address or use the vinfo hook if not
Auth::getAuth() would probably be the uid.
Hope this helps.
ed
|
| Any idea why this is happening and/or a possible
| solution?
|
| Thanks again for your great help.
|
| Respectfully,
|
|
| Gary
|
| __________________________________________________
| Do you Yahoo!?
| Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
| http://mailplus.yahoo.com
|
| --
| 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