Many possible reasons!
1) Username and password do not validate user or user does
not have
permission to this level of the LDAP directory.
2) Server is not an LDAP server
3) You need to use the fully qualified CN of the
Managers_Group. Such
as this for an application I recent developed.
filter="(&(!(mail=*))(!(MemberOf=CN=All Mail Users
EX,OU=Security
Groups,OU=Groups,OU=BloodSource,DC=smfbc,DC=org)))"
<cfldap
username="#UserID#"
port="#portNo#"
password="#UserPwd#"
SERVER="#MailServer#"
ACTION="QUERY"
name="results"
START="DC=doti,DC=com"
attributes="givename, mail"
filter="(&(MemberOf=MANAGERS_GROUP))"
scope="SUBTREE"
rebind ="Yes"
>
<cfldap
username="#UserID#"
port="#portNo#"
password="#UserPwd#"
SERVER="#MailServer#"
ACTION="QUERY"
name="results3"
START="DC=doti,DC=com"
attributes="givename, mail"
filter="(&(Category=Group)(Member=MANAGERS_GROUP))"
scope="SUBTREE"
rebind ="Yes"
>