[PATCHSET] Samba AD with MIT Kerberos

Andreas Schneider asn at samba.org
Tue Apr 4 06:31:51 UTC 2017


On Tuesday, 4 April 2017 02:54:17 CEST Andrew Bartlett wrote:
> On Mon, 2017-04-03 at 13:27 +0200, Andreas Schneider wrote:
> > On Monday, 3 April 2017 12:54:31 CEST Miguel medalha wrote:
> > > > We have a define for C, it is called SAMBA4_USES_HEIMADAL.
> > > 
> > > That would be *HEIMDAL*, I hope?
> > 
> > Let's pray for that :-)
> 
> When it comes out our > 5 year old Heimdal snapshot, prayer is a good
> thing :-).
> 
> In the meantime, can you run an autobuild on this?
> 
> I got this building Ubuntu on 16.04:
> 
> [32(532)/2083 at 23m24s] samba4.blackbox.upgradeprovision.alpha13
> UNEXPECTED(failure):
> samba4.blackbox.upgradeprovision.alpha13.upgradeprovision(none)
> REASON: Exception: Exception: Find last provision USN, 1 invocation(s)
> for a total of 1 ranges
> Old style for usn ranges used
> Creating a reference provision
> A problem occurred while trying to upgrade your provision. A full
> backup is located at
> /home/ubuntu/autobuild/b25115/samba/bin/ab/provision/alpha13_upgrade/pr
> ivate/backupprovisionzueHNI
> Traceback (most recent call last):
>   File
> "/home/ubuntu/autobuild/b25115/samba/bin/samba_upgradeprovision", line
> 1636, in <module>
>     provision_logger)
>   File "bin/python/samba/upgradehelpers.py", line 259, in newprovision
>     useeadb=True, use_ntvfs=True)
>   File "bin/python/samba/provision/__init__.py", line 2022, in
> provision
>     kdcconfdir=kdcconfdir)
>   File "bin/python/samba/provision/__init__.py", line 734, in
> make_smbconf
>     make_kdcconf(realm, domain, kdcconfdir, os.path.dirname(lp.get("log
> file")))
>   File "bin/python/samba/provision/kerberos.py", line 52, in
> make_kdcconf
>     f = open(kdcconf, 'w')
> IOError: [Errno 2] No such file or directory: 'None/kdc.conf'
> 

This is a build with Heimdal?

Are you sure that you run configure?

With Heimdal we never reach that code! We leave the function directly after 
entering! However if you have a configure run from before, yes then this could 
happen!

However, I've implemented support for SAMBA4_USES_HEIMDAL in pyglue.c, this 
should report an error about is_heimdal_built missing, if you did not run 
configure ...



	Andreas




-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org



More information about the samba-technical mailing list