[Samba] password reset using admin keytab on domain member

Rowland penny rpenny at samba.org
Sun Aug 16 07:33:00 UTC 2020


On 15/08/2020 21:38, Christian via samba wrote:
> Hi,
>
> 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
> insights,
>
> Christian
>
Add '-H ldap://dc1' where 'dc1' is the hostname of a DC.

Rowland





More information about the samba mailing list