Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <cftry>
- <cfset caller.request.ldapAuth=1 >
- <cfldap server = "ldap.address.com"
- port = "port"
- username = "uid=#attributes.id#,ou=People,dc=somenamespace,dc=com"
- password = "#attributes.password#"
- action = "query"
- name = "ldapResults"
- start = "uid=#attributes.id#,ou=PEOPLE,dc=SOMENAMESPACE,dc=COM"
- secure = "CFSSL_BASIC"
- scope = "base"
- attributes = "*">
- <cfcatch type="Any">
- <cfset caller.request.ldapAuth=0 >
- </cfcatch>
- </cftry>
Add Comment
Please, Sign In to add comment