From: Francis Cianfrocca Date: 2008-01-18T15:07:38+09:00 Subject: Re: LDAP Server not connected error ------=_Part_2475_33370698.1200636461669 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Jan 17, 2008 11:38 AM, Mikel Lindsaar wrote: > On Jan 18, 2008 2:50 AM, Matt Todd wrote: > > Pluck out the actual LDAP code into IRB and see if it works. I've not > > had experience passing Net::LDAP.new a hash, I've only ever assigned > > values to its attributes after creating the instance, like: > > It will definitely work with the hash assignment - I do it here with > ActiveDirectory > > I think Varun is missing the port setting though. > > Varun, do as Matt says, try it in IRB until you get it working, also, > pass the port parameter into the hash after the address. It can't > hurt. > > The port setting should default to 389 if you don't set it. In addition to the IRB suggestions, Varun should also try to telnet from his machine to 192.168.0.3, port 389 to see if he has connectivity in the first place. ------=_Part_2475_33370698.1200636461669--