[Samba] Samba Domain Rename

Frostyfrog frostyfrog2 at gmail.com
Wed Jul 3 15:25:27 MDT 2013


Yeah, I've never fully set up a samba *checks samba version* 4 domain. What
I suggested was what I thought might work. I guess it's time for me to
completely set things up and see how it works.

~Frostyfrog
>From a friendly web page developer.
^.^


On Tue, Jul 2, 2013 at 2:52 AM, Michael Wood <esiotrot at gmail.com> wrote:

> 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.
>>
>> ~Frostyfrog
>> From a friendly web page developer.
>> ^.^
>>
>> On Mon, Jul 1, 2013 at 11:24 PM, Sandeep Kumar <sandeep.kumar at arborfs.com
>> >wrote:
>>
>> > 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
>> > www.arborfs.com
>>
>
> --
> Michael Wood <esiotrot at gmail.com>


More information about the samba mailing list