[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turba
Subject:    Re: [turba] Browsing LDAP Address Book SubTree
From:       eculp () encontacto ! net
Date:       2002-12-27 15:23:02
[Download RAW message or body]

Quoting "Gary C. New" <garycnew@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@lists.horde.org
 | 


-- 


-------------------------------------------------


-- 
Turba mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: turba-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic