[Samba] password reset using admin keytab on domain member

Christian chanlists at googlemail.com
Sat Aug 15 20:38:26 UTC 2020


I was wondering if it is possible to use something like

samba-tool user setpassword ... -k yes

on a domain member if one has kerberos tickets for an admin account.
That does not seem to work for me, as the above command appears to try
to write to the database directly...

ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open
file /var/lib/samba/private/sam.ldb: No such file or directory

when executed on a domain member instead of on a DC. Thanks for any


More information about the samba mailing list