From: Robert F. <rf...@mo...> - 2002-12-04 07:54:57
|
Hi Julian, Thanks, I'll read the guidelines sometime. Answers to your questions below... Robert Foster Mountain Visions P/L Australia. rf...@mo... http://mountainvisions.com.au/ Supporter & Contributor - Computing in Silence >1) would it be valuable to cache the connection, so that future calls to >ldap_connect_bind() would only rebind, not reconnect? Does that make >sense in this context? > Possibly, however, a better solution would probably be to retrieve and cache all necessary information when the user authenticates. >2) would it make sense for these API functions to take a user_id (for >consistency with every other API) and look up the username from that >themselves? Since mantis always deals with the id, it seems like you'll >always end up having to do the lookup yourself before calling the ldap >APIs. But I'm not sure everywhere that these functions need to be >called from, so you'd have a better idea. Yep, I'll get around to that next. > >thanks for your work, No Problem :) |