[dev] groups, users, how to use them...

Amith Varghese amith at xalan.com
Fri Feb 13 05:56:17 PST 2004


Quoting Benoit St-Andre <ben at benoitst-andre.net>:

> Hi there...
>
> Using the latest CVS Head checkout, i've been searching everywhere how to use
> my ldap groups in the Horde system.
>
> I've seen a example hook in the hooks.php.dist, but I can't figure how to
> "extract" or use my groups from LDAP into horde. For example, i'm trying to
> do massive share calendars with kronolith (could be also for shared task in
> nag), but I don't wan't to recreate all the groups in the DataTree structure
> (as they already exist in LDAP). In the config section, there seems to be
> only two options, one is to use DataTree and the other is to use hooks

How do you have your groups layed out in the LDAP tree?  What is the structure? 
I'm using datatree right now but that's mostly because I haven't bothered
setting things up in LDAP.  But it should work.

>
> I've also tried to add some members in a group (with the admin tool 
> in horde),
> it seems impossible, as I don't see any members in the list. Same thing
> happens going into the user tool in horde.

Do you sure you have your objectclasses setup correctly?  Perhaps its filtering
out the users because you don't have the right objectclasses set.  I wrote the
code for listUser and its fairly simple.  It binds to the tree (using a binddn
if available).  It then creates an object filter and does a search.  You can
add some debug statements on line 312 to print out the filter and then try to
replicate the search using ldapsearch on the command line.  Maybe it has
something to do with LDAP ACL's.

>
> I've browsed trough the list's posts and didn't find anything close to that.
> Anybody using that kind of setup ?
>
> Using horde head, ldap auth, horde prefs and categories in mysql.
>
> Thanks for your help !
>
> --
> Benoit St-André
> ben at benoitst-andre.net
> Connaissez-vous Linuxédu-Québec ? http://linuxeduquebec.org
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org



More information about the dev mailing list