[Samba] Samba Domain Rename
sandeep.kumar at arborfs.com
Tue Jul 2 04:53:50 MDT 2013
Thanks for your quick response
@ developers - I am using samba 4 domain on centos 6 but for some reason i
have to rename the domain
Is it possible?, if yes then can you please provide steps to accomplish this
Second, do i need to unjoin and rejoin the existing domain client machines
Looking forward to your quick response.......
*From:* Michael Wood [mailto:esiotrot at gmail.com]
*Sent:* 02 July 2013 14:22
*Cc:* Sandeep Kumar; samba at lists.samba.org
*Subject:* Re: [Samba] Samba Domain Rename
If Sandeep is running Samba 4 as an Active Directory domain controller,
then I very much doubt that just editing the workgroup setting in smb.conf
will fix it. There are e.g. files in the samba private directory named
after the domain and also containing the name of the domain.
I don't know if there's a straightforward way of renaming the domain. I
suspect there isn't.
Sandeep, if you don't get a good answer here, you could try getting the
attention of one of the Samba developers on the IRC channel, perhaps.
On 2 July 2013 07:49, Frostyfrog <frostyfrog2 at gmail.com> wrote:
I'm not sure which distro you are using (I use Archlinux), but these steps
should work if you have command line access (press the key surrounded in <>
when there is one, don't type the <> or the stuff inside):
1. Login to the server
2. type: vim /etc/samba/smb.conf<enter>
3. type: /workgroup =<enter>
(If that doesn't work, try it without the equals)
4. press the arrow keys until it is placed just after the equals
5. type c$
6. type in what you want the new domain name to be
7. press <esc>
8. type: :wq
9. restart samba
Disclaimer: These steps are not for those who have no idea what they are
doing (although it may seem that way), please proceed with caution.
>From a friendly web page developer.
On Mon, Jul 1, 2013 at 11:24 PM, Sandeep Kumar <sandeep.kumar at arborfs.com
> Hi Team,
> I am using samba 4 Domain in my production environment and everything is
> working fine but now for some reason I have to rename the domain
> Can you please help on this, I need to do this asap
> Waiting for your response………
> Many Thanks,
> Sandeep Kumar
> *Arbor Financial Systems Ltd*
> Direct: +91 172 400 6144
> Support: +44 (0) 203 070 9650
Michael Wood <esiotrot at gmail.com>
This e-mail and any attachment are confidential and contain proprietary
information, some or all of which may be legally privileged.
It is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient, please notify the
author immediately by telephone or by replying to this e-mail, and then
delete all copies of the e-mail on your system. If you are not the
intended recipient, you must not use, disclose, distribute, copy, print or
rely on this e-mail.
Whilst we have taken reasonable precautions to ensure that this e-mail and
any attachment has been checked for viruses, we cannot guarantee that they
are virus free and we cannot accept liability for any damage sustained as a
result of software viruses. We would advise that you carry out your own
virus checks, especially before opening an attachment.
More information about the samba-technical