Displaying 4 results from an estimated 4 matches for "syncpwd".
Did you mean:
syncpw
2020 Aug 14
2
Samba4 syncpassword fails
...nd 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 has been modified or updated on the samba main DC exept th...
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
...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 has been modified or u...
2020 Aug 13
2
Samba4 syncpassword fails
...JUChxkt3iBXBqjVszQwAAAAAmYWise/JqUOMnD8euLNlcCj0AAAAAAAAflNsxanYz0KqLtsveZPltuobAQAAAAAAKvi5z25sAki4jeIJFZKXjGfBMAkAAAAAY69b3L6aK02JRfLfQxjIya6MZAAAAAAAWsQ27t1lYkqOOMJKX9E8NJn0dAAAAAAAwzAH+ocRDkSjKxVMKcoLmZlOSgkAAAAAeh2Y/QY5906APfSWXDLVf3dWyQAAAAAA', 'extended_dn:1:0']
syncCommand: /opt/syncpwd.py
We tried to flush and re create the ldb cache many times, without success.
I've been searching for hours, and found nothing about this specific error.
Have any of you ever experienced something like this or have a clue of how to remediate to this?
Regards,