[PATCHSET] Samba AD with MIT Kerberos

Andrew Bartlett abartlet at samba.org
Tue Apr 4 07:02:11 UTC 2017


On Tue, 2017-04-04 at 08:31 +0200, Andreas Schneider wrote:
> On Tuesday, 4 April 2017 02:54:17 CEST Andrew Bartlett wrote:
> > 
> > 
> > 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_upgrad
> > e/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 ...

That was a full autobuild running on a fresh VM.  I think this error is
in the samba build, so with Heimdal.

Presumably sn-devel would show likewise, but I try to avoid burning
cycles on that box.

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




More information about the samba-technical mailing list