Bram Matthys
2014-Apr-03 10:16 UTC
[Samba] add Samba 4 to existing classic NT4 domain (and upgrade to AD)
Hi, We currently have this setup (inherited from my predecessor): Samba 3.2.x domain with custom (mysql) passdb backend. This means the passdb *.tdb files are not being updated and all is retrieved & stored in MySQL. I would like to migrate this to a 'regular' Samba 4.x setup with AD Since the *.tdb files are not updated, I cannot copy the *.tdb files and go the classicupgrade route (from the wiki) And it seems all other 'joining a domain' howto's in the wiki describe joining an AD domain, not an (old/classic) NT4 domain. Ignoring the custom backend story, I guess my question is: can I join a Samba 4 to an existing (classic) NT4 domain and upgrade it to use AD? One solution would be to first join the domain with a samba 3.6.x server, and then later migrate that one to 4.x Is that the only solution or is there a direct way? Regards, Bram Matthys.
Bram Matthys
2014-Apr-03 15:04 UTC
[Samba] add Samba 4 to existing classic NT4 domain (and upgrade to AD)
Hi, Bram Matthys schreef op 2014-04-03 12:16:> We currently have this setup (inherited from my predecessor): > Samba 3.2.x domain with custom (mysql) passdb backend. This means the > passdb *.tdb files are not being updated and all is retrieved & > stored > in MySQL. > > I would like to migrate this to a 'regular' Samba 4.x setup with AD > > Since the *.tdb files are not updated, I cannot copy the *.tdb files > and go the classicupgrade route (from the wiki)I just received a reply from Jelmer Vernooij. Just sharing in case others need this: You can use "pdbedit -i mysql:passdb -e tdbsam:passdb" etc. to convert between the backends (or at least in 3.2.x). Haven't tested it fully, but it seems to work, so then my original question about Samba 4 joining a classic NT4 domain no longer applies. (Though it may still be useful to others, I suppose) Regards, Bram.
Possibly Parallel Threads
- Samba3 on multiple networks, how to make it hand out the correct IP?
- how to remove an (offline) DC from Samba 4 ?
- 'document has been locked for editing by another user' - medium latency / limited bw connection issues?
- biometric device or smartcard with Samba 4.x
- Multiple network cards on same subnet problem (arp_filter=1)