How to get userid using Net::LDAP

Hi all,
I am able to connect to ldap server through my ror application and
now i wanna fetch more information about user using LDAP.
Actually in my application i am authenticating through username and
password now i wanna fetch more information about the user from LDAP
server.
Please tell me the steps or some code snippet that hopw to get more
information about authenticated user.

Thanks
Varun

On Jan 21, 2008 8:27 AM, Varun G. [email protected] wrote:

Hi all,
I am able to connect to ldap server through my ror application and
now i wanna fetch more information about user using LDAP.
Actually in my application i am authenticating through username and
password now i wanna fetch more information about the user from LDAP
server.
Please tell me the steps or some code snippet that hopw to get more
information about authenticated user.

There is a very extensive Rdoc in the Net::LDAP library, which includes
a
introduction to the principles of LDAP, typical LDAP servers, and the
information available from them.

By chance, did you happen to read it?

Hi,
I am not able to see rdoc for Net::LDAP please tell me where i can see
this Rdocs please tell me the site name.
If possible tell me some code snippet or function to get more
information about the user through ldap server.

Thanks
Varun

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jan 21, 2008, at 7:27 AM, Varun G. wrote:

Hi all,
I am able to connect to ldap server through my ror application
and
now i wanna fetch more information about user using LDAP.
Actually in my application i am authenticating through username and
password now i wanna fetch more information about the user from LDAP
server.
Please tell me the steps or some code snippet that hopw to get more
information about authenticated user.

Perhaps you’d prefer to use ActiveLdap?

https://rubyforge.org/projects/ruby-activeldap/

David M.
Maia Mailguard http://www.maiamailguard.com
[email protected]

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFHle2XUy30ODPkzl0RAu7kAKDHEv+sqbg/cIpTPs+cg+mhWIaGuQCfUVts
5sgSII8caPbCE3LvkL9dLZs=
=zXzo
-----END PGP SIGNATURE-----

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs