[Samba] backup of tdb files

Andrew Bartlett abartlet at samba.org
Wed Oct 24 01:49:20 UTC 2018


On Thu, 2018-10-18 at 15:40 +0200, Philipp Gesang via samba wrote:
> 
> 
> Ok, both SIDs are now being treated as optional.
> 
> There is something about the CI test environment I haven’t fully
> grasped yet: In most envs the relevant secrets.tdb in the
> container is located at $PREFIX/$ENVNAME/private/secrets.tdb. For
> some reason this is not the case for “fl2003dc”. This one lacks
> ./st/*/private/secrets.tdb, but has
> ./ab/bin/*/private/secrets.tdb instead. How would I determine the
> latter path in a blackbox test to avoid hardcoding it?

You should be able to find those with lp.get("private dir").

The bare 'make test' and 'make test' under autobuild (and so gitlab CI)
deliberately diverge putting things in bin/ab/ rather than st/ to catch
hard-coded use of paths.

I hope this helps,

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba







More information about the samba mailing list