I went back to trying to get the classicupgrade to work:
/usr/local/samba/bin/samba-tool domain classicupgrade \
--dbdir=/var/lib/samba/ --dbdir=/var/lib/samba/ --realm=a.b \
/etc/samba/smb.conf --use-xattrs=yes
For the realm, I used a subdomain of one of the two existing dns domains
in the LAN. It appears to be processing the information from the old
domain tdb files, although I see some errors:
Cannot open idmap database, Ignoring: [Errno 2] No such file or directory
Importing groups
Could not add group name=Remote Desktop Users ((68, "samldb: Account name
(sAMAccountName) 'Remote Desktop Users' already in use!"))
Could not modify AD idmap entry for
sid=S-1-5-21-4254857281-3346836279-4152649156-555, id=5077,
type=ID_TYPE_GID ((32, "Base-DN
'<SID=S-1-5-21-4254857281-3346836279-4152649156-555>' not found"))
Could not add posix attrs for AD entry for
sid=S-1-5-21-4254857281-3346836279-4152649156-555, ((32, "Base-DN
'<SID=S-1-5-21-4254857281-3346836279-4152649156-555>' not found"))
Group already exists sid=S-1-5-21-4254857281-3346836279-4152649156-512,
groupname=Domain Admins existing_groupname=Domain Admins, Ignoring.
However, after this, all I get from pdbedit -L is:
# pdbedit -L
RAIDSERVER$:4294967295:
Administrator:4294967295:
[root@samba ~]# pdbedit -L
RAIDSERVER$:4294967295:
Administrator:4294967295:
krbtgt:4294967295:--dbdir=/var/lib/samba/ --realm=a.b
/etc/samba/smb.confnobody:99:Nobody
Any ideas? What information might help debug this?
Simon