Displaying 3 results from an estimated 3 matches for "virtualssha".
2020 Aug 14
2
Samba4 syncpassword fails
...>about what is going on. The code was written for python2 and needs
>updating to python3
Yes, but as i explained before, we managed to make it work since almost a thousand days in a row ?
THe ldb cache is initialized with:
samba-tool user syncpasswords --cache-ldb-initialize --attributes=virtualSSHA,samaccountname,virtualClearTextUTF8 --script=/opt/syncpwd.py --decrypt-samba-gpg
We originally modified a bit the script to retrieve the virtualClearTextUTF8 value of the password, then decode it in base64 , re encode it in md4 and send it to remote LDAP server. This worked like a charm.
Nothing...
2020 Aug 14
2
Samba4 syncpassword fails
>Where did you get the password sync script from ? Are you aware that
>samba-tool now has the facility to do this ?
>
>Have a look here:
>
>https://dev.tranquil.it/wiki/SAMBA_-_Synchronisation_des_mots_de_passe_entre_un_Samba4_et_une_OpenLDAP<https://dev.tranquil.it/wiki/SAMBA_-_Synchronisation_des_mots_de_passe_entre_un_Samba4_et_une_OpenLDAP>
>
>Rowland
This is the
2020 Aug 14
0
Samba4 syncpassword fails
...ritten for python2 and needs
> >updating to python3
>
> Yes, but as i explained before, we managed to make it work since
> almost a thousand days in a row ?
>
> THe ldb cache is initialized with:
>
> samba-tool user syncpasswords --cache-ldb-initialize
> --attributes=virtualSSHA,samaccountname,virtualClearTextUTF8
> --script=/opt/syncpwd.py --decrypt-samba-gpg
>
> We originally modified a bit the script to retrieve the
> virtualClearTextUTF8 value of the password, then decode it in base64 ,
> re encode it in md4 and send it to remote LDAP server. This wor...