From: Matt Todd Date: 2008-01-18T20:22:19+09:00 Subject: Re: LDAP Server not connected error > i am using the correct username and password but it's showing false and > one more thing that now how can i send username and password to ldap > server for checking and how ldap server will send the format for > username and password . > Please solve my problem > looking for ur suggestion The correct format for the #auth call would be as follows: ldap.auth "username@ldap.server.com", "password" Not: ldap.auth "%sldap://ldapservername.com"%'username', 'password' Note that you lack an @ sign and you've put the ldap protocol in the string. Instead, what's required is the format: username@ldap.host.tld with username being replaced with the correct username. This is a shorthand way to write your username... alternatively you can supply a full DN as long as you provide the correct password too. Experiment with it. We cannot solve your problem, we can only help you and possibly recognize where you've made mistakes or overlooked a small details; it is up to you to solve your issue. Matt Todd