Usually the start will be your DNS domain name, but broken up a bit.

For example, if your DNS domain name is "palla.com", then your start
would be "dc=palla,dc=com".

>From there, make use of CFDUMP in all of your LDAP queries.  If you
specify a wildcard for the attributes (attributes="*") you will get
quite a bit of stuff that you can dump to your browser.

However, I seem to remember that you could not use a wildcard when your
start was the root of your domain.  In other words:

[cfldap ... start = "dc=palla,dc=com" attributes="*" ... /]

Would either throw an error or would just not return any records.
But, if you add an Organizational Unit (OU) to the start attribute, it
will work:

[cfldap ... start = "ou=users,dc=palla,dc=com" attributes="*" ... /]

If you must start at the root of your domain, which you probably should,
then you just cannot use a wildcard.  (Unless this has been fixed in a
recent updater.)

Is there any particular task you are trying to accomplish?  We may be
able to get you started in the right direction if you provide us with
the requirements.

M!ke

-----Original Message-----
From: Srinivasa Teja Palla [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 20, 2006 4:07 PM
To: CF-Talk
Subject: how to do a cfldap query

Hi,

I have been putting this off for a while, I have a active directory
server, I know the IP, I know the username and password with admin
rights on this server. How do i query this using cfldap to get list of
all users to start with. I know I have to give a "start" DN but how do I
know the DN ? Where can i get the DN from? I have access to the LDAP
machine. Please help.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244309
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to