samba.tests.samba_tool.user_virtualCryptSHA failing
Gary Lockyer
gary at catalyst.net.nz
Mon Mar 5 18:28:08 UTC 2018
It uses crypt to calculate the SHA hashes, and from looking at the tests
the SHA256 hash has been calculated.
Can you check the output of
samba-tool user getpassword USER_NAME --attributes
virtualCryptSHA256,virtualCryptSHA512
On 06/03/18 00:25, Andreas Schneider via samba-technical wrote:
> Hi,
>
> the test samba.tests.samba_tool.user_virtualCryptSHA doesn't seem to work on
> non-Ubuntu systems.
>
> e.g. the output of test_gpg_both_hashes_no_rounds is:
>
> ###############
> dn: CN=CryptSHATestUser,CN=Users,DC=addom,DC=samba,DC=example,DC=com
>
> Got password OK
>
> ###############
>
> self.assertTrue("virtualCryptSHA512:" in out) fails, because the expected
> string isn't there.
>
> Fedora:
> gpg (GnuPG) 1.4.22
>
> openSUSE:
> gpg (GnuPG) 2.2.5
>
>
> Do I miss something?
>
>
>
> Andreas
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180306/e6db4dba/signature.sig>
More information about the samba-technical
mailing list