hi,
> > Maybe I need to get a list of users and save its info in another hash, >> that could be much faster than making lots of queries per group. >> > > > Another solution is to search users with a filter on memberOf attribute: > (memberOf=<DN of Group>), then you get directly all users entries that > belong to the group. > > I just tried this on the lan (so no vpn latencies) and the script now much faster: 30 seconds. I guess this will be as good as it gets :-) without first caching the user data. I will try the memberof filter righ now. Thanks! -- Groeten, natxo