|
From: wltiii on 22 Apr 2008 14:19 We have a primary and secondary (failover) ldap servers. Can CFLDAP be coded such that both get searched or the secondary searched only if the first fails? I was thinking that the server attribute might work as a comma-delimited list. That does not seem to be the case. If CFLDAP does not allow the specification of more than one server, I am sure I can code so that there are two calls and the second only called if the first fails. That just seems like an ugly solution. Any ideas or suggestions? Bill <cfldap action="query" name="auth1" attributes="sAMAccountName,distinguishedName" port="389" start="MYSTART" scope="subtree" server="hqdc01,hqdc02" filter="sAMAccountName=#cflogin.name#" username="MYUSERNAME" password="MYPASSWORD" >
From: Ian Skinner on 22 Apr 2008 14:35 I do not remember the details, but for my previous job we used a server name that could resolve to any of the LDAP [aka active directory] servers as required. The network operations set this up and just provided me with the domain name to put into the server attribute and all the fail-over, etc was handled by the network.
From: wltiii on 22 Apr 2008 15:23 Thanks, Ian. I walked through what I was doing with the LDAP (AD) administrator and he asked if it was possible to list more than one. So, I presume that the network is not set up the same. I'll follow-up, however.
|
Pages: 1 Prev: Retaining Ms Word formatting in text field capture Next: CFFILE question |