(This is really a user level question, my apologies.)
Is there some sort of fetch all method in the LDAP result object that I have missed?
object result = c->search("(&(courseCode=hfoa77*)((objectclass=LiuStudent))", 0, ({ "uid" })); mapping uids = ({}); do { uids += result->fetch()->uid; } while(result->next());
is not really optimal.
pike-devel@lists.lysator.liu.se