Jim First thing: THANKS for your feedback! Jim Harle wrote: > Marco, > I like the utility of doing connect, bind and base in the same call, and > would like to see that built into the main Net::LDAP. I would guess that > 90% of my scripts only do one bind and use the same base for all searches. > The other 10% do require multiple bind's or multiple vases, however. That's why it would be wise to put such a feature in a separate subclass; do you agree? > It isn't clear from your doc whether simplesearch can take a list of > attributes to return. If it can't then it encourages excessive traffic > between the client and server. Interesting point Jim. simplesearch doesn't. You could use search specifying the attrs parameter, but you'd loose the automatic filter building feature of simplesearch. What do you think about adding an option to the new() method to specify which attributes we want to be returned? All in all, if we have a "searchextras" to specify which attributes are to be returned besides default ones, we could also have an alternative, something like "onlyattrs => [qw(cn givenName sn objectClass userPassword)]", specifying a few attributes to be returned. > On the other hand, I may have just gotten used to doing things in a > given way and can no longer recognize a real simplification when I see > one. :-) Thanks again, and I look forward to hear your (and possibly other's) opinion about the "onlyattrs" thing. Ciao Marco -- Marco Marongiu Email: bronto@crs4.it CRS4 Research Center Phone: +39 070 2796 336 NCS Division Fax: +39 070 2796 216 NSM Group WWW: http://bugs.unica.it:4444/Thread Previous