Anyone doing this? On 11/7/2013 4:49 PM, Dan LeGate wrote: > Am I performing my queries vs binds correctly? > > This is my lookup query: > > <cfldap action = "QUERY" > name = "GetInfo" > start = "ou=people,dc=ad,dc=institution,dc=edu" > filter = "(|(samAccountName=dx7668))" > attributes = "samAccountName,cn,sn,givenName" > scope = "SUBTREE" > server = "server.ourplace.edu" > port = "636" > username = "********" > password = "********" > maxrows = "10" > timeout = "10000"> > > And this is the bind attempt... only thing different is no filter (and > the name, of course) > > <cfldap action = "QUERY" > name = "Authenticate" > start = "ou=people,dc=ad,dc=institution,dc=edu" > attributes = "samAccountName,cn,sn,givenName" > scope = "SUBTREE" > server = "server.ourplace.edu" > port = "636" > username = "********" > password = "********" > maxrows = "10" > timeout = "10000"> > > Is that the proper way to do a bind vs a lookup? > > This is in CF7 (I know, I know). > > The reason I ask is that I'm seeing big differences in response time > when I attempt a bind (much longer) vs. a lookup (very quick). > > Anyone seen anything like that, or know what might be causing the > difference? > > Thanks! > > Dan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357120 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

