Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with CFLDAP

Status
Not open for further replies.

Mario2002

Programmer
Feb 11, 2002
10
CH
Hi,

Does anyone know how to pass a domain using CFLAP. I am able to pass the userid and the password and I will get back a message either OK or inproper authentication, but if I try to include the domain, since we have multiply domains here I always get inproper authentication message.

Any ideas,

Thanks

Mario
 

I'm confused. LDAP doesn't really have the concept of domains as such. It's just a directory of entries. If multiple domains (ie - web servers) are utilizing the same LDAP directory/server, all the entries will be available to all domains. And, obviously, if there's one LDAP directory per domain, then you would need to access the correct directory as your
Code:
server=""
parameter.

Or do you mean you have your domains set up as o's or ou's?

We have some of our domains set up as our o's, and I can log onto the server as
Code:
<CFLDAP username=&quot;uid=adminaccount,o=domainname.com&quot; ...>
and the connection only has access to entries in that domain.

If you have domains set up as groups or ou's, well, that would have to be part of the parameters in your call...

Code:
<cfldap action=&quot;MODIFY&quot; DN=&quot;cn=groupname,ou=subsite,o=domainname.com&quot; ...>

<cfldap action=&quot;QUERY&quot; scope=&quot;SUBTREE&quot; start=&quot;ou=subsite,o=mentor.com&quot; ...>

It just all depends on the structure of your LDAP directory and what you've defined as an o or ou.

Maybe if you state the command you'd enter at the LDAP console to get the same functionality, someone would be able to help translate it to CFLDAP. But as it stands, without having intimate knowledge of how your LDAP is built, it's difficult to help.
Hope it helps,
-Carl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top