简体   繁体   中英

Is it possible to use python-ldap get user's password?

As title said, I want to use python_ldap to get user's password.

Here is python-ldap reference, http://www.python-ldap.org/doc/html/index.html

I didn't find any function to get user's password.

Is there anybody do the same thing like me?

And is it possible to get user's password?

No system that is designed to be secure will allow access to clear-text passwords. In fact, the system won't even know the clear-text password.

You might want to re-think exactly what you are trying to do.

No, an ldap server will not send out passwords, plain or encrypted. You can only write them if you provide the correct credentials.

Usually you query an LDAP directory for a given organizational unit, common name, etc. and find things like passwords as attributes. It means you have to know something about the LDAP schema. There's nothing in your question to indicate that you do.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM