On 22/12/14 19:05, Marc Muehlfeld wrote:> Hello Asai, > > Am 22.12.2014 um 19:55 schrieb Rowland Penny: >>> localhost isn't the name of the ad dc, at least that's not what I >>> intended. How do I change it without reprovisioning? Can you provide >>> a link to some documentation? >> I cannot provide a link to any documentation, this is because, I don't >> know of any, I don't think it would be very easy to change it in AD, you >> would have to change every instance of 'LOCALHOST' to your new name and >> probably a lot of other links. It will probably be easier to start again. > > To rename the DC, you can try > source4/scripting/bin/renamedc > It's part of the source package. But I never tried it.Never mind tried it, I had never heard of it :-D It also doesn't seem to come with the Debian packages. Rowland> > If you also have 127.0.0.1 for the DC in your directory, try changing it: > https://wiki.samba.org/index.php/Change_IP_address_of_the_DC > > > > > Regards, > Marc
From what I thought I did, I named the domain avalon.local. That's what the computers will join to. What does the netbios name have to do with the DC? With folder redirection I end up getting a name like \\localhost.avalon.local\Users\blahblah How much chance of messing up things is there if I run the rename script? On 12/22/14 12:22 PM, Rowland Penny wrote:> On 22/12/14 19:05, Marc Muehlfeld wrote: >> Hello Asai, >> >> Am 22.12.2014 um 19:55 schrieb Rowland Penny: >>>> localhost isn't the name of the ad dc, at least that's not what I >>>> intended. How do I change it without reprovisioning? Can you provide >>>> a link to some documentation? >>> I cannot provide a link to any documentation, this is because, I don't >>> know of any, I don't think it would be very easy to change it in AD, >>> you >>> would have to change every instance of 'LOCALHOST' to your new name and >>> probably a lot of other links. It will probably be easier to start >>> again. >> >> To rename the DC, you can try >> source4/scripting/bin/renamedc >> It's part of the source package. But I never tried it. > > Never mind tried it, I had never heard of it :-D > > It also doesn't seem to come with the Debian packages. > > Rowland > >> >> If you also have 127.0.0.1 for the DC in your directory, try changing >> it: >> https://wiki.samba.org/index.php/Change_IP_address_of_the_DC >> >> >> >> >> Regards, >> Marc >-- Asai Lohmann Software Engineer, Sysadmin Global Change Media, Non-Profit Media Company Helping People Bring Their Positive Ideas and Services to the World office: 520.398.2542 cell: 520.260.6887 skype: asaivan1 asai at globalchange.media
On 22/12/14 22:42, Asai wrote:> From what I thought I did, I named the domain avalon.local. That's > what the computers will join to. What does the netbios name have to > do with the DC?Quite a lot, AD relies on DNS, it sounds like the DC cannot find its own records, probably because /etc/hosts isn't setup correctly, you need to have the machines ipaddress and fqdn in there, i.e. if your DC is called 'dc1' and its ipaddress is '192.168.0.2' you need the line: 192.168.0.2 dc1.avalon.local dc1 By the way, I wouldn't use 'local', even microsoft says this is a bad idea, it interferes with avahi.> > How much chance of messing up things is there if I run the rename script?No idea, never ever heard of it until yesterday, but what have you got to lose ? it isn't working now and you are only testing, but fix your DNS first. Rowland> > On 12/22/14 12:22 PM, Rowland Penny wrote: >> On 22/12/14 19:05, Marc Muehlfeld wrote: >>> Hello Asai, >>> >>> Am 22.12.2014 um 19:55 schrieb Rowland Penny: >>>>> localhost isn't the name of the ad dc, at least that's not what I >>>>> intended. How do I change it without reprovisioning? Can you >>>>> provide >>>>> a link to some documentation? >>>> I cannot provide a link to any documentation, this is because, I don't >>>> know of any, I don't think it would be very easy to change it in >>>> AD, you >>>> would have to change every instance of 'LOCALHOST' to your new name >>>> and >>>> probably a lot of other links. It will probably be easier to start >>>> again. >>> >>> To rename the DC, you can try >>> source4/scripting/bin/renamedc >>> It's part of the source package. But I never tried it. >> >> Never mind tried it, I had never heard of it :-D >> >> It also doesn't seem to come with the Debian packages. >> >> Rowland >> >>> >>> If you also have 127.0.0.1 for the DC in your directory, try >>> changing it: >>> https://wiki.samba.org/index.php/Change_IP_address_of_the_DC >>> >>> >>> >>> >>> Regards, >>> Marc >> >
Imagine multiple DCs: When every DC is called localhost it is not a unique name. But every DC needs a unique name like every workstation in your network. Am 22. Dezember 2014 23:42:13 MEZ, schrieb Asai <asai at globalchange.media>:> From what I thought I did, I named the domain avalon.local. That's >what the computers will join to. What does the netbios name have to do > >with the DC? > >With folder redirection I end up getting a name like >\\localhost.avalon.local\Users\blahblah > >How much chance of messing up things is there if I run the rename >script? > >On 12/22/14 12:22 PM, Rowland Penny wrote: >> On 22/12/14 19:05, Marc Muehlfeld wrote: >>> Hello Asai, >>> >>> Am 22.12.2014 um 19:55 schrieb Rowland Penny: >>>>> localhost isn't the name of the ad dc, at least that's not what I >>>>> intended. How do I change it without reprovisioning? Can you >provide >>>>> a link to some documentation? >>>> I cannot provide a link to any documentation, this is because, I >don't >>>> know of any, I don't think it would be very easy to change it in >AD, >>>> you >>>> would have to change every instance of 'LOCALHOST' to your new name >and >>>> probably a lot of other links. It will probably be easier to start >>>> again. >>> >>> To rename the DC, you can try >>> source4/scripting/bin/renamedc >>> It's part of the source package. But I never tried it. >> >> Never mind tried it, I had never heard of it :-D >> >> It also doesn't seem to come with the Debian packages. >> >> Rowland >> >>> >>> If you also have 127.0.0.1 for the DC in your directory, try >changing >>> it: >>> https://wiki.samba.org/index.php/Change_IP_address_of_the_DC >>> >>> >>> >>> >>> Regards, >>> Marc >> > >-- >Asai Lohmann >Software Engineer, Sysadmin >Global Change Media, Non-Profit Media Company >Helping People Bring Their Positive Ideas and Services to the World >office: 520.398.2542 >cell: 520.260.6887 >skype: asaivan1 >asai at globalchange.media > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba