From: Francis Cianfrocca Date: 2006-07-10T23:55:25+09:00 Subject: Re: LDAP search and return ------=_Part_3944_23596552.1152543320035 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Which library are you using? Net::LDAP or one of the native ones? On 7/10/06, Stuart Brand wrote: > > Hi all > > I am trying to connect to our LDAP server(Active Directory :( ) > > I can do a successful bind, the problem I have is getting the data :( > > I think the conn.search is correct > > result = conn.search( 'ou=accounts, dc=example, dc=com', > LDAP::LDAP_SCOPE_SUBTREE, 'samaccountname=myuser') > > it doesn't error for the above, how do I extract the information from > the search? > > Many thanks all > > Stuart > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_3944_23596552.1152543320035--