[Samba] Migration Problem

Cezary Przywuski cez at cez.waw.pl
Tue Feb 4 04:22:42 MST 2014


I know maybe is trivial but i don't have idea how to resolve this.

I try to migrate Samba 3 to Samba 4  , domain After ->#samba-tool domain 
classicupgrade --dbdir=/root/tdb --use-xattrs=yes  --realm=mymymy.local 
/root/smb.conf

i start samba and get this :

i need help (maybe i should clean up old domain files but i don't know how)
or try remap this groups to something


lpcfg_load: refreshing parameters from /usr/local/samba/etc/smb.conf
samba version 4.1.4 started.
Copyright Andrew Tridgell and the Samba Team 1992-2013
samba: using 'standard' process model
/usr/local/samba/sbin/smbd: smbd version 4.1.4 started.
/usr/local/samba/sbin/smbd: Copyright Andrew Tridgell and the Samba Team 
1992-2013
/usr/local/samba/sbin/smbd: Registered MSG_REQ_POOL_USAGE
/usr/local/samba/sbin/smbd: Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
/usr/local/samba/sbin/smbd: lp_load_ex: refreshing parameters
/usr/local/samba/sbin/smbd: Initialising global parameters
/usr/local/samba/sbin/smbd: rlimit_max: increasing rlimit_max (1024) to 
minimum Windows limit (16384)
/usr/local/samba/sbin/smbd: params.c:pm_process() - Processing 
configuration file "/usr/local/samba/etc/smb.conf"
/usr/local/samba/sbin/smbd: Processing section "[global]"
/usr/local/samba/sbin/smbd: Processing section "[netlogon]"
/usr/local/samba/sbin/smbd: Processing section "[sysvol]"
/usr/local/samba/sbin/smbd: adding IPC service
/usr/local/samba/sbin/smbd: added interface eth0 ip=192.168.100.xxx 
bcast=192.168.100.255 netmask=255.255.255.0
/usr/local/samba/sbin/smbd: loaded services
/usr/local/samba/sbin/smbd: Becoming a daemon.
dreplsrv_partition[CN=Configuration,DC=mymymy,DC=local] loaded
dreplsrv_partition[CN=Schema,CN=Configuration,DC=mymymy,DC=local] loaded
dreplsrv_partition[DC=mymymy,DC=local] loaded
dreplsrv_partition[DC=ForestDnsZones,DC=mymymy,DC=local] loaded
dreplsrv_partition[DC=DomainDnsZones,DC=mymymy,DC=local] loaded
kccsrv_partition[DC=mymymy,DC=local] loaded
kccsrv_partition[CN=Configuration,DC=mymymy,DC=local] loaded
kccsrv_partition[CN=Schema,CN=Configuration,DC=mymymy,DC=local] loaded
kccsrv_partition[DC=DomainDnsZones,DC=mymymy,DC=local] loaded
kccsrv_partition[DC=ForestDnsZones,DC=mymymy,DC=local] loaded
Loading new DNS update grant rules
/usr/local/samba/sbin/smbd: ldb_wrap open of idmap.ldb
Out of xids to allocate.
idmapping sid_to_xid failed for id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-5-32-544: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: pdb_create_builtin_alias: Could not get a 
gid out of winbind
/usr/local/samba/sbin/smbd: WARNING: Failed to create 
BUILTIN\Administrators group!  Can Winbind allocate gids?
Out of xids to allocate.
idmapping sid_to_xid failed for 
id[0]=S-1-5-21-655130883-496241469-2377768284-501: NT_STATUS_NONE_MAPPED
Out of xids to allocate.
idmapping sid_to_xid failed for 
id[1]=S-1-5-21-655130883-496241469-2377768284-514: NT_STATUS_NONE_MAPPED
Out of xids to allocate.
idmapping sid_to_xid failed for id[2]=S-1-1-0: NT_STATUS_NONE_MAPPED
Out of xids to allocate.
idmapping sid_to_xid failed for id[3]=S-1-5-2: NT_STATUS_NONE_MAPPED
Out of xids to allocate.
idmapping sid_to_xid failed for id[4]=S-1-5-32-546: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-5-21-655130883-496241469-2377768284-501: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-5-21-655130883-496241469-2377768284-501: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-5-21-655130883-496241469-2377768284-514: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-5-21-655130883-496241469-2377768284-514: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-1-0: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-1-0: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-5-2: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-5-2: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-5-32-546: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Out of xids to allocate.
/usr/local/samba/sbin/smbd: idmapping sid_to_xid failed for 
id[0]=S-1-5-32-546: NT_STATUS_NONE_MAPPED
/usr/local/samba/sbin/smbd: Initialise the svcctl registry keys if needed.
/usr/local/samba/sbin/smbd: Initialise the eventlog registry keys if needed.
/usr/local/samba/sbin/smbd: start_background_queue: Starting background 
LPQ thread
/usr/local/samba/sbin/smbd: Failed to fetch record!
/usr/local/samba/sbin/smbd: waiting for connections
/usr/local/samba/sbin/smbd: reloading printcap cache
/usr/local/samba/sbin/smbd: reload status: ok
/usr/local/samba/sbin/smbd: Could not find child 27081 -- ignoring
/usr/local/samba/sbin/smbd: Printcap cache time expired.
/usr/local/samba/sbin/smbd: reloading printcap cache
/usr/local/samba/sbin/smbd: reload status: ok



smb.conf contains :

# Global parameters
[global]
     workgroup = mymy-mymy
     realm = mymymy.local
     netbios name = office
     server role = active directory domain controller
     idmap_ldb:use rfc2307 = yes
         dns forwarder = xxx.xxx.xxx.xxx
         log level = 3
         log file = /var/log/samba/%m.log

[netlogon]
     path = /usr/local/samba/var/locks/sysvol/mymymy.local/scripts
     read only = No

[sysvol]
     path = /usr/local/samba/var/locks/sysvol
     read only = No




More information about the samba mailing list