Hello Everyone: Hope you all had a nice Christmas! I am facing a situation that I have never faced before. I have a the latest version of Samba running on a RH Linux 6.2 and a Windows 2000 Domain Controller that authenticates users and provide share drives for the internal network, As the economy here in the US is downgrading, I am forced to add more Linux server (as a replacement to Windows for all my servers)which will be at a very low cost for us and also for the good things Linux offers. So I need to migrate all my users (about 200 of them)and groups to a Samba Server, including their permissions and the share drives, so I was wondering if any guru out there have a suggestion, or a link to a tool utility that will perform the migration for me, without running through the hassle of creating individual account which is a pain (only to think about it!) on that samba server. I have ran a test pilot for Samba as a Domain controller and it worked fine so far with about 40 users, but as I said earlier I have never done a migration from Windows 2000 to Linux. Way back, I have done Windows to Novell using a Novell tool, but never from Windows to Linux. One of my friend told me about such tool, but don't know where it is, I tried google.com, but got no chance. That's why I'm turning to my Linux guru from this list, may be I'm lucky with all the good answers to questions being asked since I joined the list. Regards, Serge P.S.: Remember that I want "migrate" users, groups and shares -------------- next part -------------- HTML attachment scrubbed and removed
Gerald (Jerry) Carter
2001-Dec-29 08:48 UTC
Users and Share Drives migration from NT to Linux
On Fri, 28 Dec 2001, Serge Bianda wrote:> Hello Everyone: > Hope you all had a nice Christmas! > I am facing a situation that I have never faced before. I have a the latest > version of Samba running on a RH Linux 6.2 and a Windows 2000 Domain > Controller that authenticates users and provide share drives for the > internal network, As the economy here in the US is downgrading, I am forced > to add more Linux server (as a replacement to Windows for all my > servers)which will be at a very low cost for us and also for the good things > Linux offers. So I need to migrate all my users (about 200 of them)and > groups to a Samba Server, including their permissions and the share drives, > so I was wondering if any guru out there have a suggestion, or a link to a > tool utility that will perform the migration for me, without running through > the hassle of creating individual account which is a pain (only to think > about it!) on that samba server.You'll need to compile Samba and you Linux kernel to include acl support. Then use the Win2k xcopy.exe command (check the correct flag for copying permissions as well) to copy the files. One problem is that there is not way to migrate a user's RID from the Win2k DC to a Samba PDC. At least not with an smbpasswd file (we don't store this field). You could specify a RID in Samba's LDAP backend. I'm fixing some of this code right now so it will be better in 2.2.3. For passwords you could look at pwdump perhaps. Hmm...You could initially setup the Samba box as a domain member and use winbind to get the list of users and group membership. After copying this informaiton, you could turn winbind off.... Just some rambling thoughts... chau, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Marcel de Riedmatten
2001-Dec-29 09:31 UTC
Users and Share Drives migration from NT to Linux
On Fri, Dec 28, 2001 at 10:43:23AM -0500, Serge Bianda wrote:> Hello Everyone: > Hope you all had a nice Christmas! > I am facing a situation that I have never faced before. I have a the latest > version of Samba running on a RH Linux 6.2 and a Windows 2000 Domain > Controller that authenticates users and provide share drives for the > internal network, As the economy here in the US is downgrading, I am forced > to add more Linux server (as a replacement to Windows for all my > servers)which will be at a very low cost for us and also for the good things > Linux offers. So I need to migrate all my users (about 200 of them)and > groups to a Samba Server, including their permissions and the share drives, > so I was wondering if any guru out there have a suggestion, or a link to a > tool utility that will perform the migration for me, without running through > the hassle of creating individual account which is a pain (only to think > about it!) on that samba server.Off the top of my head you have a migration toolkit at http://www.solucorp.qc.ca/nt2linux -- Marcel de Riedmatten pgp key: CFE703CA http://ftp.dotforge.ch/pub/users/mdr/mdr.gpg.asc Empreinte: 4687 F9CB D8E2 AC1A B806 F812 C048 0875 CFE7 03CA