Modifying the start attribute to Mike's format worked. Hurray!!!
So in may case this works:
<cfldap action="query"
    name="getUser"
    start="dc=companyName, dc=com"
    scope="SUBTREE"
    maxrows="1"
    server="#serverIP#"
   attributes="cn"
   username="#userName#"
   password="#userPassword#"
   port="389">

If the user exists will return a query. Unfortunately it's all the
time an empty query, regarding what I put in the attributes list.
For the time being I am OK but I would like very much to be able to
return some info and not just verify that the user exists.

Thanks Mike

Victor



On Fri, 28 Jan 2005 13:26:19 -0600, Dawson, Michael <[EMAIL PROTECTED]> wrote:
> One other thing, change your START attribute to the following format:
> 
> start="dc=domain, dc=com"
> 
> (Replace "domain" with the correct domain for this company.)
> 
> For example, ours would be:
> start="dc=evansville, dc=edu"
> 
> As I mentioned in another message, all users, by default, can query the
> Active Directory.  This could change if the domain admins changed this
> functionality.
> 
> If this still doesn't work, change the start to an existing OU:
> start="ou=users, dc=domain, dc=com" and see if you can query from that
> point.
> 
> It may be possible that your user account doesn't have access to the
> root of the directory.
> 
> M!ke
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:196269
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to