From: Mikel Lindsaar Date: 2008-01-18T01:38:32+09:00 Subject: Re: LDAP Server not connected error 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. Regards Mikel http://lindsaar.net/