[PATCHES] Avoid system krb5.conf in selftest

Michael Adam obnox at samba.org
Mon Oct 26 21:42:48 UTC 2015


On 2015-10-26 at 23:17 +0200, Uri Simchoni wrote:
> Hi,
> 
> Following patches fix "make test" on my FC22 box. The recurring theme was
> that this box has a krb5.conf that is deemed invalid by the Heimdal libs
> embedded in samba. Tests that need krb5.conf take care to divert the test
> program from the system krb5.conf to the testenv version. Tests that do not
> need krb5.conf sometimes omit this, causing the test to read the system
> krb5.conf (while creating a context) and choke.

Is it complaining with EINVAL ?

I have been starting to chase an issue sounding very similar
today (with Anoop).
Maybe you have just solved the thing for us... :-)
Was it failing also for the ad_dc_ntvfs env?
What kind of krb5.conf do you use?

> I haven't checked whether it's an MIT thing or an invalid config - IMHO it
> doesn't matter - a test should read the system krb5.conf at all.
> 
> The patches don't necessarily eliminate ALL references to the system
> krb5.conf, just the ones that fail tests.
> 
> Review and push appreciated.

I will take a closer look and comment and/or push.

Cheers - Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20151026/cdef8317/signature.sig>


More information about the samba-technical mailing list