ldaptor.samba package

Submodules

ldaptor.samba.smbpassword module

ldaptor.samba.smbpassword.lmhash(password=b'')[source]

Generates lanman password hash for a given password.

Note that the author thinks LanMan hashes should be banished from the face of the earth.

ldaptor.samba.smbpassword.lmhash_locked(password=b'')[source]

Generates a lanman password hash that matches no password.

Note that the author thinks LanMan hashes should be banished from the face of the earth.

ldaptor.samba.smbpassword.nthash(password=b'')[source]

Generates nt md4 password hash for a given password.

Module contents