Jon Detert
2013-Mar-19 14:28 UTC
[Samba] samba-tool classicupgrade (from v3 to v4) aborts with "Unable to get id for sid"
I'm trying to upgrade from samba3 -> 4. I ran this command: WORKDIR=/usr/local/mobius /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=$WORKDIR/var --use-xattrs=yes --realm=infinityhealthcare.com $WORKDIR/smb.conf but it failed with the error given in this email's subject. What does it mean, and how do I fix it? This is just another is a growing line of errors that I've had while trying to perform the classicupgrade. What are the requirements for this classicupgrade to be successful? I want to get past this error, of course, but I'm leary of how many more errors will be encountered afterwards. If there were a definition of what state your data must be in, and any other requirements, that would help. Thanks for any help you lend, Jon p.s. I set the 'log level' in my $WORDIDR/smb.conf to be 3. Here is the output context just before the error, and then the error itself: unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-520: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-520: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-512: NT_STATUS_NONE_MAPPED ERROR(<class 'passdb.error'>): uncaught exception - Unable to get id for sid File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 1318, in run useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs) File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py", line 938, in upgrade_from_samba3 result.names.domaindn, result.lp, use_ntvfs) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1581, in setsysvolacl set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, use_ntvfs, passdb=s4_passdb) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1511, in set_gpos_acl passdb=passdb) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1474, in set_dir_acl setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service) File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 104, in setntacl (owner_id, owner_type) = passdb.sid_to_id(sd.owner_sid) And, here is a more complete output : Next rid = 3689 Exporting posix attributes Reading WINS database Cannot open wins database, Ignoring: [Errno 2] No such file or directory: '/usr/local/mobius/var/wins.dat' lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf" Looking up IPv4 addresses Looking up IPv6 addresses No IPv6 address will be assigned lp_load_ex: refreshing parameters params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf" Processing section "[global]" Processing section "[netlogon]" Processing section "[sysvol]" Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Module 'acl_xattr' loaded Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service Unknown Service (snum == -1) Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service Unknown Service (snum == -1) Setting up secrets.ldb Setting up the registry ldb_wrap open of hklm.ldb Setting up the privileges database Setting up idmap db Setting up SAM db Setting up sam.ldb partitions and settings Setting up sam.ldb rootDSE Pre-loading the Samba 4 and AD schema partition_metadata: Migrating partition metadata Adding DomainDN: DC=infinityhealthcare,DC=com DN: DC=infinityhealthcare,DC=com is a NC Adding configuration container DN: CN=Configuration,DC=infinityhealthcare,DC=com is a NC Setting up sam.ldb schema DN: CN=Schema,CN=Configuration,DC=infinityhealthcare,DC=com is a NC Setting up sam.ldb configuration data Setting up display specifiers Modifying display specifiers Adding users container Modifying users container Adding computers container Modifying computers container Setting up sam.ldb data Setting up well known security principals Setting up sam.ldb users and groups Setting up self join Setting acl on sysvol skipped Adding DNS accounts Creating CN=MicrosoftDNS,CN=System,DC=infinityhealthcare,DC=com Creating DomainDnsZones and ForestDnsZones partitions DN: DC=DomainDnsZones,DC=infinityhealthcare,DC=com is a NC DN: DC=ForestDnsZones,DC=infinityhealthcare,DC=com is a NC Populating DomainDnsZones and ForestDnsZones partitions Setting up sam.ldb rootDSE marking as synchronized Fixing provision GUIDs A Kerberos configuration suitable for Samba 4 has been generated at /usr/local/samba/private/krb5.conf Setting up fake yp server settings Once the above files are installed, your Samba4 server will be ready to use Server Role: active directory domain controller Hostname: samba4 NetBIOS Domain: IHC DNS Domain: infinityhealthcare.com DOMAIN SID: S-1-5-21-4219228698-1431711829-1578001372 Importing WINS database Importing Account policy Importing idmap database lp_load_ex: refreshing parameters params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf" Processing section "[global]" Processing section "[netlogon]" Processing section "[sysvol]" ldb_wrap open of idmap.ldb Importing groups Importing users User root has been kept in the directory, it should be removed in favour of the Administrator user Adding users to groups Setting password for administrator Administrator password has been set to password of user 'root' lp_load_ex: refreshing parameters params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf" Processing section "[global]" Processing section "[netlogon]" Processing section "[sysvol]" ldb_wrap open of idmap.ldb ldb_wrap open of idmap.ldb Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-520: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-520: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-512: NT_STATUS_NONE_MAPPED ERROR(<class 'passdb.error'>): uncaught exception - Unable to get id for sid File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 1318, in run useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs) File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py", line 938, in upgrade_from_samba3 result.names.domaindn, result.lp, use_ntvfs) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1581, in setsysvolacl set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, use_ntvfs, passdb=s4_passdb) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1511, in set_gpos_acl passdb=passdb) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1474, in set_dir_acl setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service) File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 104, in setntacl (owner_id, owner_type) = passdb.sid_to_id(sd.owner_sid)
Max Olivas
2013-Mar-21 16:15 UTC
[Samba] samba-tool classicupgrade (from v3 to v4) aborts with "Unable to get id for sid"
>>> On 3/19/2013 at 8:28 AM, in message <2119021439.23770729.1363703293922.JavaMail.root at infinityhealthcare.com>, Jon Detert <jdetert at infinityhealthcare.com> wrote:I'm trying to upgrade from samba3 -> 4. I ran this command: WORKDIR=/usr/local/mobius /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=$WORKDIR/var --use-xattrs=yes --realm=infinityhealthcare.com $WORKDIR/smb.conf but it failed with the error given in this email's subject. What does it mean, and how do I fix it? This is just another is a growing line of errors that I've had while trying to perform the classicupgrade. What are the requirements for this classicupgrade to be successful? I want to get past this error, of course, but I'm leary of how many more errors will be encountered afterwards. If there were a definition of what state your data must be in, and any other requirements, that would help. Thanks for any help you lend, Jon p.s. I set the 'log level' in my $WORDIDR/smb.conf to be 3. Here is the output context just before the error, and then the error itself: unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-520: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-520: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-512: NT_STATUS_NONE_MAPPED ERROR(<class 'passdb.error'>): uncaught exception - Unable to get id for sid File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 1318, in run useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs) File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py", line 938, in upgrade_from_samba3 result.names.domaindn, result.lp, use_ntvfs) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1581, in setsysvolacl set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, use_ntvfs, passdb=s4_passdb) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1511, in set_gpos_acl passdb=passdb) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1474, in set_dir_acl setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service) File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 104, in setntacl (owner_id, owner_type) = passdb.sid_to_id(sd.owner_sid) And, here is a more complete output : Next rid = 3689 Exporting posix attributes Reading WINS database Cannot open wins database, Ignoring: [Errno 2] No such file or directory: '/usr/local/mobius/var/wins.dat' lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf" Looking up IPv4 addresses Looking up IPv6 addresses No IPv6 address will be assigned lp_load_ex: refreshing parameters params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf" Processing section "[global]" Processing section "[netlogon]" Processing section "[sysvol]" Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Module 'acl_xattr' loaded Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service Unknown Service (snum == -1) Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service Unknown Service (snum == -1) Setting up secrets.ldb Setting up the registry ldb_wrap open of hklm.ldb Setting up the privileges database Setting up idmap db Setting up SAM db Setting up sam.ldb partitions and settings Setting up sam.ldb rootDSE Pre-loading the Samba 4 and AD schema partition_metadata: Migrating partition metadata Adding DomainDN: DC=infinityhealthcare,DC=com DN: DC=infinityhealthcare,DC=com is a NC Adding configuration container DN: CN=Configuration,DC=infinityhealthcare,DC=com is a NC Setting up sam.ldb schema DN: CN=Schema,CN=Configuration,DC=infinityhealthcare,DC=com is a NC Setting up sam.ldb configuration data Setting up display specifiers Modifying display specifiers Adding users container Modifying users container Adding computers container Modifying computers container Setting up sam.ldb data Setting up well known security principals Setting up sam.ldb users and groups Setting up self join Setting acl on sysvol skipped Adding DNS accounts Creating CN=MicrosoftDNS,CN=System,DC=infinityhealthcare,DC=com Creating DomainDnsZones and ForestDnsZones partitions DN: DC=DomainDnsZones,DC=infinityhealthcare,DC=com is a NC DN: DC=ForestDnsZones,DC=infinityhealthcare,DC=com is a NC Populating DomainDnsZones and ForestDnsZones partitions Setting up sam.ldb rootDSE marking as synchronized Fixing provision GUIDs A Kerberos configuration suitable for Samba 4 has been generated at /usr/local/samba/private/krb5.conf Setting up fake yp server settings Once the above files are installed, your Samba4 server will be ready to use Server Role: active directory domain controller Hostname: samba4 NetBIOS Domain: IHC DNS Domain: infinityhealthcare.com DOMAIN SID: S-1-5-21-4219228698-1431711829-1578001372 Importing WINS database Importing Account policy Importing idmap database lp_load_ex: refreshing parameters params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf" Processing section "[global]" Processing section "[netlogon]" Processing section "[sysvol]" ldb_wrap open of idmap.ldb Importing groups Importing users User root has been kept in the directory, it should be removed in favour of the Administrator user Adding users to groups Setting password for administrator Administrator password has been set to password of user 'root' lp_load_ex: refreshing parameters params.c:pm_process() - Processing configuration file "/usr/local/samba/etc/smb.conf" Processing section "[global]" Processing section "[netlogon]" Processing section "[sysvol]" ldb_wrap open of idmap.ldb ldb_wrap open of idmap.ldb Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [acl_xattr] Initialising custom vfs hooks from [dfs_samba4] connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service sysvol unpack_nt_owners: owner sid mapped to uid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED unpack_nt_owners: group sid mapped to gid 0 idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-32-549: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-18: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-11: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-520: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-520: NT_STATUS_NONE_MAPPED idmapping sid_to_xid failed for id[0]=S-1-5-21-4219228698-1431711829-1578001372-512: NT_STATUS_NONE_MAPPED ERROR(<class 'passdb.error'>): uncaught exception - Unable to get id for sid File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 1318, in run useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs) File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py", line 938, in upgrade_from_samba3 result.names.domaindn, result.lp, use_ntvfs) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1581, in setsysvolacl set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, use_ntvfs, passdb=s4_passdb) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1511, in set_gpos_acl passdb=passdb) File "/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1474, in set_dir_acl setntacl(lp, path, acl, domsid, use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb, service=service) File "/usr/local/samba/lib/python2.7/site-packages/samba/ntacls.py", line 104, in setntacl (owner_id, owner_type) = passdb.sid_to_id(sd.owner_sid) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba I'm getting this exact error when attempting the classicupgrade from v3 to Samba AD. I've attempted to 'cleanup' my Samba 3 domain but I'm not sure to what state I need to 'clean' it as nothing I've done so far has got me past this error. HELP?