[PATCH] Create a 'binddns dir' for files used by the bind_dlz module and named

Jeremy Allison jra at samba.org
Thu Aug 31 22:19:43 UTC 2017

On Thu, Aug 31, 2017 at 10:15:00AM +0200, Andreas Schneider wrote:
> > which explicitly creates paths.private_dir as far as I can tell.
> > 
> > Python debugging in autobuild leaves a lot to be desired...
> I've added a function directory_create_or_exists() which will not complain if 
> the directory already exists. The function does not enforce directory 
> permissions.

Sorry, Andreas, still failing:

[38(660)/2195 at 6m45s] samba4.blackbox.upgradeprovision.alpha13
UNEXPECTED(failure): samba4.blackbox.upgradeprovision.alpha13.referenceprovision(none)
REASON: Exception: Exception: Administrator password will be set randomly!
You are not root or your system does not support xattr, using tdb backend for attributes.
not using extended attributes to store ACLs and other metadata. If you intend to use this provision in production, rerun the script as root on a system supporting xattrs.
No IPv4 address will be assigned
ERROR(<type 'exceptions.NameError'>): uncaught exception - global name 'errno' is not defined
  File "bin/python/samba/netcmd/__init__.py", line 176, in _run
    return self.run(*args, **kwargs)
  File "bin/python/samba/netcmd/domain.py", line 474, in run
    nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode)
  File "bin/python/samba/provision/__init__.py", line 2081, in provision
    directory_create_or_exists(paths.binddns_dir, 0o770)
  File "bin/python/samba/provision/__init__.py", line 1940, in directory_create_or_exists
    if e.errno in [errno.EEXIST]:



More information about the samba-technical mailing list