To whom it may concern, When I worte php for ldap_search(), It always shows the warning message:"Warning: ldap_search(): Search: Operations error "... My server is windows 2003 with AD. I have seen one solution on the network, they said that I should add "ldap_set_option($ds, LDAP_OPT_REFERRALS, 0);" in my code if I used windows 2003 with AD. I did it. But the warning message is still the same. What should I do? Please help me to deal this solution. Thank you so so so much....:)