How to get userid using Net::LDAP

V

Varun Goel

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
 
F

Francis Cianfrocca

[Note: parts of this message were removed to make it a legal post.]

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?
 
V

Varun Goel

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
 
D

David Morton

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


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 Morton
Maia Mailguard http://www.maiamailguard.com
(e-mail address removed)



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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top