[Samba] 'set_simple_acl' referenced before assignment in classicupgrade

Olivier Olivier.Nicole at cs.ait.ac.th
Thu Mar 22 03:50:35 UTC 2018


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,


More information about the samba mailing list