[turba] ldap browse returns non-people

Chuck Hagenbuch chuck@horde.org
Thu Oct 24 18:29:55 2002


Quoting Andy Rowan <rowan@crssa.rutgers.edu>:

> OK, so with some help from Cliff Green at UMDNJ, I got this behavior
> under control.  (Thanks, Cliff.  Next time maybe I should just open the 
> window and shout, eh?)  I changed turba so it does anonymous access to the 
> ldap directory, and set the slapd ACLs so that anonymous has read access 
> only to dn="cn.*"

That'd work fine as a 'filter' param, too, FYI.

> Here's the question: in turba's sources.php, where it has
> "'readonly'=true," and "'admin'=array()," I see that I'm supposed to put
> users into that admin array who would then be allowed to edit via
> turba.  But what kind of users are we talking about?  If I put a name in
> there, what is it going to be matched against?  IOW, where is turba going
> to be looking for that user to exist?

A Horde username.

> in the admin array, I still don't get write access.  Is it looking to

If you have a 'realm' parameter set in IMP's servers.php, that realm becomes
part of your username, so try you@realm in the array.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"People ask me all the time what it will be like living without otters."
 - Google, thanks to Harpers