smbpasswd(encrypt method)

Stefan (metze) Metzmacher metze at samba.org
Tue Mar 1 10:06:27 GMT 2005


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

mayabin schrieb:
| Dear All,
| Who can tell me the encrypt method of smbpasswd tool?
| I want to encrypt the input string and match it with the ntPassword(or lmPassword).
| very thanks!

I found some PHP code here:
http://dev.deepsource.ch/index.php?Category=1&SubCategory=9
this link doesn't work anymore, so I found this on google

http://66.102.9.104/search?q=cache:3rP2Hh1PYYcJ:dev.deepsource.ch/index.php%3FCategory%3D1%26SubCategory%3D9+php+class.md4&hl=de

the md4.tar.gz was what I have found

I have put the think together into the ntlm.php


- --
metze

Stefan Metzmacher <metze at samba.org> www.samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCJD6im70gjA5TCD8RAsQUAKC1PrGCXUne3WSwbuZhAvN5wvNWQQCgnhOn
0smfDV8gLU4Af5+kv3dxHiU=
=sNep
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: md4.tar.gz
Type: application/x-gzip
Size: 6137 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20050301/8f0b2396/md4.tar.bin


More information about the samba-technical mailing list