Али Рустамов
2009-Dec-09 17:47 UTC
[Samba] Cloning the samba+openldap pdc server for use in another network
Hi! In the office we have an ubuntu 9.04 server which serves as pdc with samba+openldap+Mandriva Diectory Server web interface, as a file server and as a router with squid squidguard and free-sa.The server was set up by the person who is unreacheable at the moment. Now we have a task to clone this server for use in another office with the new domain name. At the time there are two questions we want to ask and would be very thankfull if somebody could help us. 1. Is it possible just to change the domain name of new cloned pdc? If so what is the most convinient way to do this? As I guess a lot of configuration files should be changed for the domain name parameters, but I do not know what files actually should be changed, I edited all the files that contain olddomain name in /etc directory and changed olddomain name to newdomain by using grep and sed. But it did not work. I'm very new to openldap and to ldap itself so I don't know whether I'm on a right way or not. Seached on the internet but could not fond anything usefull. May be I'm using wrong terms. 2.If it's possibleto successfully change the domain name what should be done to preserve all the users and groups and shares that were set up on the old pdc? Thanks in advance!