[Samba] 'set_simple_acl' referenced before assignment in classicupgrade

Rowland Penny rpenny at samba.org
Mon Mar 26 07:44:36 UTC 2018


On Mon, 26 Mar 2018 13:56:45 +0700
Olivier <Olivier.Nicole at cs.ait.ac.th> wrote:

> Rowland Penny via samba <samba at lists.samba.org> writes:
> 
> > On Thu, 22 Mar 2018 10:50:35 +0700
> > Olivier via samba <samba at lists.samba.org> wrote:
> >
> >> Hi,
> >> 
> >> I am progressing slowly with the migration from Samba3 to Samba4.
> >> 
> >> I have escaped the bug 13060, now I get to:
> >> 
> >> Adding groups
> >> Importing groups
> >> Group already exists
> >> sid=S-1-5-21-1360262076-8766554542-0991298654-513, groupname=Unix
> >> Group Users existing_groupname=Domain Users, Ignoring. Committing
> >> 'add groups' transaction to disk Adding users Importing users
> >> Committing 'add users' transaction to disk
> >> Adding users to groups
> >> Committing 'add users to groups' transaction to disk
> >> ERROR(<type 'exceptions.UnboundLocalError'>): uncaught exception -
> >> local variable 'set_simple_acl' referenced before assignment File
> >> "/usr/local/lib/python2.7/site-packages/samba/netcmd/__init__.py",
> >> line 176, in _run return self.run(*args, **kwargs) File
> >> "/usr/local/lib/python2.7/site-packages/samba/netcmd/domain.py",
> >> line 1589, in run useeadb=eadb, dns_backend=dns_backend,
> >> use_ntvfs=use_ntvfs) File
> >> "/usr/local/lib/python2.7/site-packages/samba/upgrade.py", line
> >> 854, in upgrade_from_samba3 result.names.domaindn, result.lp,
> >> use_ntvfs) File
> >> "/usr/local/lib/python2.7/site-packages/samba/provision/__init__.py",
> >> line 1546, in setsysvolacl set_simple_acl(file.name, 0755, gid)
> >> 
> >> Any idea what is happening? Google did not give any help.
> >> 
> >> Thanks in advance,
> >> 
> >> Olivier
> >
> > What OS is this on ?
> > What version of Samba ?
> 
> from FreeBSD 10.3-RELEASE-p17/samba36-3.6.25
> to FreeBSD 11.1-RELEASE-p6/samba47-4.7.6 (but I had the same issue
> with 4.7.3)
> 

Your OS doesn't understand posix acls

Rowland



More information about the samba mailing list