From: Stuart Brand Date: 2006-07-10T23:50:43+09:00 Subject: LDAP search and return 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/.