[Samba] Invalid parameter error

Rowland Penny rpenny at samba.org
Thu Jul 6 12:07:49 UTC 2017

On Thu, 6 Jul 2017 12:17:42 +0100
Rowland Penny via samba <samba at lists.samba.org> wrote:

> On Thu, 6 Jul 2017 05:27:13 -0500
> Andrew Walker via samba <samba at lists.samba.org> wrote:
> > I'm sorry. I probably should have linked their samba fork:
> > https://github.com/freenas/samba You can look at the commits from
> > around the time period of the bug report. It looks like quite a lot
> > of work in ./python/samba/provision/
> > 
> Yes I found them, patched 4.6.5 and I am now trying to build Samba on
> ghostbsd (freebsd in disguise), if it works, then Freenas needs to
> propose their patches to Samba.
> Rowland 

Well it builds, but still doesn't provision:

Setting up self join
set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_PARAMETER.
ERROR(runtime): uncaught exception - (-1073741811, 'Unexpected information received')
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 471, in run
    nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 2183, in provision
  File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1811, in provision_fill
    names.domaindn, lp, use_ntvfs)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1595, in setsysvolacl
  File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 162, in setntacl
    smbd.set_nt_acl(file, security.SECINFO_OWNER | security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL, sd, service=service)

Looks like it needs more work ;-)


More information about the samba mailing list