[Samba] Retrieve winbind machine password

Kees van Vloten keesvanvloten at gmail.com
Sat Oct 21 09:41:45 UTC 2023

Hi Team,

I am currently looking into enterprise wifi with the machine account. I 
did find some clues on the internet but the peice that is missing is the 
password of the machine account.

Is it possible foor user root to extract that password in clear text 
from the secrets database where winbind has stored it?

/var/lig/samba/private/secrets.tdb  seems to contain the info and 
tdbdump can output it, but some more decoding is needed before it can be 
used in the NetworkManager configuration. What are the commands to get 
that done?

- Kees.

More information about the samba mailing list