The function secrets_get_trust_account_lock seems to no longer have callers ...

Jeremy Allison jra at
Thu Feb 12 16:34:52 MST 2015

On Thu, Feb 12, 2015 at 03:24:34PM -0800, Richard Sharpe wrote:
> Hi folks,
> I was researching some stuff and came across the function
> secrets_get_trust_account_lock which is defined in
> source3/passdb/machine_account_secrets.c.
> It does not seem to be called by anything. Can we delete that piece of code?

Yep, anything which doesn't have a caller should
be removed.

Send a patch and I'll review !

More information about the samba-technical mailing list