Stefan G. Weichinger
2019-Jul-31 09:39 UTC
[Samba] GPO issues - getting SYSVOL cleaned up again
Am 31.07.19 um 11:25 schrieb Stefan G. Weichinger via samba:> So to me it seems obvious to get rid of that "dc.mydomain.at" ... at > least as a next step.Went through DNS on the windows server and rm-ed all containing "dc.mydomain.at" There was a SRV-record below "_msdcs.mydomain.at" "pdc" "_tcp" pointing to "dc.mydomain.at" tried to edit, didn't work, rm-ed it ... now there is only one SRV-entry there pointing to my "pre01svdeb02.mydomain.at" I assume I have to create a second one again?
Stefan G. Weichinger
2019-Jul-31 09:46 UTC
[Samba] GPO issues - getting SYSVOL cleaned up again
Am 31.07.19 um 11:39 schrieb Stefan G. Weichinger via samba:> Am 31.07.19 um 11:25 schrieb Stefan G. Weichinger via samba: > >> So to me it seems obvious to get rid of that "dc.mydomain.at" ... at >> least as a next step. > > Went through DNS on the windows server and rm-ed all containing > "dc.mydomain.at" > > There was a SRV-record below > > "_msdcs.mydomain.at" "pdc" "_tcp" pointing to "dc.mydomain.at" > > tried to edit, didn't work, rm-ed it ... > > now there is only one SRV-entry there pointing to my > "pre01svdeb02.mydomain.at" > > I assume I have to create a second one again? >checked wiki.samba.org/index.php/Verifying_and_Creating_a_DC_DNS_Record I don't like this: # ldbsearch -H /var/lib/samba/private/sam.ldb '(invocationId=*)' --cross-ncs objectguid # record 1 dn: CN=NTDS Settings,CN=PRE01SVDEB03,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=mydomain,DC=at objectGUID: a60fbb5f-926b-484d-992c-c1ef5cc0936d # record 2 dn: CN=NTDS Settings,CN=DC,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=mydomain,DC=at objectGUID: e5922d4b-9bf0-4c79-b256-ff5f75a3e4f4 # returned 2 records # 2 entries # 0 referrals Here the CN=DC ... pls advise how to fully get rid of that "DC" hostname. thanks a lot
On 31/07/2019 10:39, Stefan G. Weichinger via samba wrote:> Am 31.07.19 um 11:25 schrieb Stefan G. Weichinger via samba: > >> So to me it seems obvious to get rid of that "dc.mydomain.at" ... at >> least as a next step. > Went through DNS on the windows server and rm-ed all containing > "dc.mydomain.at" > > There was a SRV-record below > > "_msdcs.mydomain.at" "pdc" "_tcp" pointing to "dc.mydomain.at" > > tried to edit, didn't work, rm-ed it ... > > now there is only one SRV-entry there pointing to my > "pre01svdeb02.mydomain.at" > > I assume I have to create a second one again? > > > >Try restarting Samba, if it is the record I think it is, it should get created for you. Rowland
Stefan G. Weichinger
2019-Jul-31 09:56 UTC
[Samba] GPO issues - getting SYSVOL cleaned up again
Am 31.07.19 um 11:51 schrieb Rowland penny via samba:>> now there is only one SRV-entry there pointing to my >> "pre01svdeb02.mydomain.at" >> >> I assume I have to create a second one again? >> >> >> >> > Try restarting Samba, if it is the record I think it is, it should get > created for you.restarted samba-ad-dc on both DCs ... refreshed/restarted DNS-manager on win-server no only one: _ldap SRV pre01svdeb02.mydomain.at (which might be OK? that was the former PDC anyway ... ?)
L.P.H. van Belle
2019-Jul-31 09:58 UTC
[Samba] GPO issues - getting SYSVOL cleaned up again
Restarted or stop-start, because there is a difference between these. You MUST use stop/start> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Stefan G. Weichinger via samba > Verzonden: woensdag 31 juli 2019 11:57 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] GPO issues - getting SYSVOL cleaned up again > > Am 31.07.19 um 11:51 schrieb Rowland penny via samba: > > >> now there is only one SRV-entry there pointing to my > >> "pre01svdeb02.mydomain.at" > >> > >> I assume I have to create a second one again? > >> > >> > >> > >> > > Try restarting Samba, if it is the record I think it is, it > should get > > created for you. > > restarted samba-ad-dc on both DCs ... refreshed/restarted > DNS-manager on > win-server > > no > > only one: > > _ldap SRV pre01svdeb02.mydomain.at > > (which might be OK? that was the former PDC anyway ... ?) > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: lists.samba.org/mailman/options/samba > >