L.P.H. van Belle
2015-Mar-12 09:41 UTC
[Samba] bug in samba 4.1.17 ? changed CNAME record to other host
Hai, ? Im testing out with some dns things.. And i think i have seen more people about this.. ? Debian 7 ( wheezy )?samba 4.1.17 debian backports. only 1 DC, no member, just 1 DC. ? I have added multiple DNS records and zones with the windows tool. sofare good, works ok... ? in one of my zones changed the CNAME of a record. ? for example. ? websitename1.domain.tld?CNAME to serverhostname.internal.domain.tld i changed websitename1.domain.tld?CNAME to serverhostname2.internal.domain.tld ? ? I did this this morning a few hours ago.. I noticed now few hours later, my changed records is gone.. but when i want to add a new CNAME for this record, the windows tools says it already exists. and a ping?to this cname works fine, so the records is there and works. ? when i run : samba-tool dns query DC.internal.domain.tld domain.tld?websitename1 CNAME ( also tested with : samba-tool dns query DC.internal.domain.tld domain.tld?websitename1.domain.tld CNAME ) result :??Name=, Records=0, Children=0 now i have 2 cnames to the same host..? and samba-tool dns query ADDC.internal.domain.tld domain.tld?websitename2 CNAME result : CNAME: websitename2.internal.domain.tld. (flags=f0, serial=2, ttl=3600) ? Did we hit a bug here? ? ? Greetz, ? Louis ? ?
L.P.H. van Belle
2015-Mar-12 09:52 UTC
[Samba] bug in samba 4.1.17 ? changed CNAME record to other host
In addition. im using the bind9_DLZ. samba-tool dbchecks all ok, reindexed etc, no errors. and trying to delete with : samba-tool dns delete DC.internal.domain.tld domain.tld websitename1 CNAME serverhostname.internal.domain.tld or samba-tool dns delete DC.internal.domain.tld domain.tld websitename1.domain.tld CNAME serverhostname.internal.domain.tld results in : ERROR: Record does not exist anyone any suggestion? Greetz, Louis>-----Oorspronkelijk bericht----- >Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] >Namens L.P.H. van Belle >Verzonden: donderdag 12 maart 2015 10:42 >Aan: samba at lists.samba.org >Onderwerp: [Samba] bug in samba 4.1.17 ? changed CNAME record >to other host > >Hai, >? >Im testing out with some dns things.. >And i think i have seen more people about this.. >? >Debian 7 ( wheezy )?samba 4.1.17 debian backports. >only 1 DC, no member, just 1 DC. >? >I have added multiple DNS records and zones with the windows tool. >sofare good, works ok... >? >in one of my zones changed the CNAME of a record. >? >for example. >? >websitename1.domain.tld?CNAME to serverhostname.internal.domain.tld >i changed >websitename1.domain.tld?CNAME to serverhostname2.internal.domain.tld > >? >? >I did this this morning a few hours ago.. >I noticed now few hours later, my changed records is gone.. >but when i want to add a new CNAME for this record, the >windows tools says it already exists. >and a ping?to this cname works fine, so the records is there >and works. >? >when i run : >samba-tool dns query DC.internal.domain.tld domain.tld? >websitename1 CNAME >( also tested with : samba-tool dns query >DC.internal.domain.tld domain.tld?websitename1.domain.tld CNAME ) >result :??Name=, Records=0, Children=0 > >now i have 2 cnames to the same host..? >and >samba-tool dns query ADDC.internal.domain.tld domain.tld? >websitename2 CNAME > >result : >CNAME: websitename2.internal.domain.tld. (flags=f0, serial=2, ttl=3600) >? >Did we hit a bug here? >? >? >Greetz, >? >Louis >? > >? >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
Peter Serbe
2015-Mar-12 10:09 UTC
[Samba] bug in samba 4.1.17 ? changed CNAME record to other host
Hi Louis, have You noticed my thread "How to get rid of misspelled DNA entry?" a few days ago? You stumbled across exactly the same issue. samba-tool doesn't seem to work on DNS entries other than exactly the same domain (here: domain.tld - and not: internal.domain.tld). I don't know whether this is a bug or just a simple limitation. You can manipulate the entries either by using ldbtools or by using some LDAP tools. Sebastian pointed me at Apache Directory Tool, which solved my issue easily. Nevertheless I do agree, that it was better, if samba-tool could access these entries without some kind of filtering of the data. Best regards Peter L.P.H. van Belle schrieb am 12.03.2015 10:41:> Hai, > > Im testing out with some dns things.. > And i think i have seen more people about this.. > > Debian 7 ( wheezy ) samba 4.1.17 debian backports. > only 1 DC, no member, just 1 DC. > > I have added multiple DNS records and zones with the windows tool. > sofare good, works ok... > > in one of my zones changed the CNAME of a record. > > for example. > > websitename1.domain.tld CNAME to serverhostname.internal.domain.tld > i changed > websitename1.domain.tld CNAME to serverhostname2.internal.domain.tld > > > > I did this this morning a few hours ago.. > I noticed now few hours later, my changed records is gone.. > but when i want to add a new CNAME for this record, the windows tools says it > already exists. > and a ping to this cname works fine, so the records is there and works. > > when i run : > samba-tool dns query DC.internal.domain.tld domain.tld websitename1 CNAME > ( also tested with : samba-tool dns query DC.internal.domain.tld > domain.tld websitename1.domain.tld CNAME ) > result : Name=, Records=0, Children=0 > > now i have 2 cnames to the same host.. > and > samba-tool dns query ADDC.internal.domain.tld domain.tld websitename2 CNAME > > result : > CNAME: websitename2.internal.domain.tld. (flags=f0, serial=2, ttl=3600) > > Did we hit a bug here? > > > Greetz, > > Louis > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
L.P.H. van Belle
2015-Mar-12 10:21 UTC
[Samba] bug in samba 4.1.17 ? changed CNAME record to other host
Hai Peter, I'll look up your thread, thank for pointing me. Louis>-----Oorspronkelijk bericht----- >Van: peter at serbe.ch [mailto:samba-bounces at lists.samba.org] >Namens Peter Serbe >Verzonden: donderdag 12 maart 2015 11:09 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] bug in samba 4.1.17 ? changed CNAME >record to other host > >Hi Louis, > >have You noticed my thread "How to get rid of misspelled DNA entry?" a >few days ago? You stumbled across exactly the same issue. samba-tool >doesn't seem to work on DNS entries other than exactly the same domain >(here: domain.tld - and not: internal.domain.tld). I don't >know whether >this is a bug or just a simple limitation. > >You can manipulate the entries either by using ldbtools or by using >some LDAP tools. Sebastian pointed me at Apache Directory Tool, which >solved my issue easily. > >Nevertheless I do agree, that it was better, if samba-tool >could access >these entries without some kind of filtering of the data. > >Best regards >Peter > > > >L.P.H. van Belle schrieb am 12.03.2015 10:41: > >> Hai, >> >> Im testing out with some dns things.. >> And i think i have seen more people about this.. >> >> Debian 7 ( wheezy ) samba 4.1.17 debian backports. >> only 1 DC, no member, just 1 DC. >> >> I have added multiple DNS records and zones with the windows tool. >> sofare good, works ok... >> >> in one of my zones changed the CNAME of a record. >> >> for example. >> >> websitename1.domain.tld CNAME to serverhostname.internal.domain.tld >> i changed >> websitename1.domain.tld CNAME to serverhostname2.internal.domain.tld >> >> >> >> I did this this morning a few hours ago.. >> I noticed now few hours later, my changed records is gone.. >> but when i want to add a new CNAME for this record, the >windows tools says it >> already exists. >> and a ping to this cname works fine, so the records is there >and works. >> >> when i run : >> samba-tool dns query DC.internal.domain.tld domain.tld >websitename1 CNAME >> ( also tested with : samba-tool dns query DC.internal.domain.tld >> domain.tld websitename1.domain.tld CNAME ) >> result : Name=, Records=0, Children=0 >> >> now i have 2 cnames to the same host.. >> and >> samba-tool dns query ADDC.internal.domain.tld domain.tld >websitename2 CNAME >> >> result : >> CNAME: websitename2.internal.domain.tld. (flags=f0, >serial=2, ttl=3600) >> >> Did we hit a bug here? >> >> >> Greetz, >> >> Louis >> >> >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
L.P.H. van Belle
2015-Mar-12 11:05 UTC
[Samba] bug in samba 4.1.17 ? changed CNAME record to other host( SOLVED )
Thanks Peter, for pointing me to your thread.. (quick reference : http://www.spinics.net/lists/samba/msg124195.html ) I'll did fix it with the steps you explained there. I just deleted the record and recreated it. Now i go try this again.. to see if its really a bug ;-) Greetz, Louis>-----Oorspronkelijk bericht----- >Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] >Namens L.P.H. van Belle >Verzonden: donderdag 12 maart 2015 10:52 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] bug in samba 4.1.17 ? changed CNAME >record to other host > >In addition. > >im using the bind9_DLZ. > >samba-tool dbchecks all ok, reindexed etc, no errors. > >and trying to delete with : >samba-tool dns delete DC.internal.domain.tld domain.tld >websitename1 CNAME serverhostname.internal.domain.tld >or >samba-tool dns delete DC.internal.domain.tld domain.tld >websitename1.domain.tld CNAME serverhostname.internal.domain.tld > >results in : ERROR: Record does not exist > >anyone any suggestion? > >Greetz, > >Louis > > > >>-----Oorspronkelijk bericht----- >>Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] >>Namens L.P.H. van Belle >>Verzonden: donderdag 12 maart 2015 10:42 >>Aan: samba at lists.samba.org >>Onderwerp: [Samba] bug in samba 4.1.17 ? changed CNAME record >>to other host >> >>Hai, >>? >>Im testing out with some dns things.. >>And i think i have seen more people about this.. >>? >>Debian 7 ( wheezy )?samba 4.1.17 debian backports. >>only 1 DC, no member, just 1 DC. >>? >>I have added multiple DNS records and zones with the windows tool. >>sofare good, works ok... >>? >>in one of my zones changed the CNAME of a record. >>? >>for example. >>? >>websitename1.domain.tld?CNAME to serverhostname.internal.domain.tld >>i changed >>websitename1.domain.tld?CNAME to serverhostname2.internal.domain.tld >> >>? >>? >>I did this this morning a few hours ago.. >>I noticed now few hours later, my changed records is gone.. >>but when i want to add a new CNAME for this record, the >>windows tools says it already exists. >>and a ping?to this cname works fine, so the records is there >>and works. >>? >>when i run : >>samba-tool dns query DC.internal.domain.tld domain.tld? >>websitename1 CNAME >>( also tested with : samba-tool dns query >>DC.internal.domain.tld domain.tld?websitename1.domain.tld CNAME ) >>result :??Name=, Records=0, Children=0 >> >>now i have 2 cnames to the same host..? >>and >>samba-tool dns query ADDC.internal.domain.tld domain.tld? >>websitename2 CNAME >> >>result : >>CNAME: websitename2.internal.domain.tld. (flags=f0, serial=2, >ttl=3600) >>? >>Did we hit a bug here? >>? >>? >>Greetz, >>? >>Louis >>? >> >>? >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: https://lists.samba.org/mailman/options/samba >> >> > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
L.P.H. van Belle
2015-Mar-12 11:22 UTC
[Samba] bug in samba 4.1.17 ? changed CNAME record to other host( SOLVED )
.. Ok, no bug i think.. I changed some CNAMEs now multiple times and still all ok.. so.. very strange.. Louis>-----Oorspronkelijk bericht----- >Van: L.P.H. van Belle [mailto:belle at bazuin.nl] >Verzonden: donderdag 12 maart 2015 12:07 >Aan: 'samba at lists.samba.org' >Onderwerp: RE: [Samba] bug in samba 4.1.17 ? changed CNAME >record to other host ( SOLVED ) > >Thanks Peter, > >for pointing me to your thread.. >(quick reference : >http://www.spinics.net/lists/samba/msg124195.html ) > >I'll did fix it with the steps you explained there. > >I just deleted the record and recreated it. > >Now i go try this again.. to see if its really a bug ;-) > >Greetz, > >Louis > > > > > > >>-----Oorspronkelijk bericht----- >>Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] >>Namens L.P.H. van Belle >>Verzonden: donderdag 12 maart 2015 10:52 >>Aan: samba at lists.samba.org >>Onderwerp: Re: [Samba] bug in samba 4.1.17 ? changed CNAME >>record to other host >> >>In addition. >> >>im using the bind9_DLZ. >> >>samba-tool dbchecks all ok, reindexed etc, no errors. >> >>and trying to delete with : >>samba-tool dns delete DC.internal.domain.tld domain.tld >>websitename1 CNAME serverhostname.internal.domain.tld >>or >>samba-tool dns delete DC.internal.domain.tld domain.tld >>websitename1.domain.tld CNAME serverhostname.internal.domain.tld >> >>results in : ERROR: Record does not exist >> >>anyone any suggestion? >> >>Greetz, >> >>Louis >> >> >> >>>-----Oorspronkelijk bericht----- >>>Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org] >>>Namens L.P.H. van Belle >>>Verzonden: donderdag 12 maart 2015 10:42 >>>Aan: samba at lists.samba.org >>>Onderwerp: [Samba] bug in samba 4.1.17 ? changed CNAME record >>>to other host >>> >>>Hai, >>>? >>>Im testing out with some dns things.. >>>And i think i have seen more people about this.. >>>? >>>Debian 7 ( wheezy )?samba 4.1.17 debian backports. >>>only 1 DC, no member, just 1 DC. >>>? >>>I have added multiple DNS records and zones with the windows tool. >>>sofare good, works ok... >>>? >>>in one of my zones changed the CNAME of a record. >>>? >>>for example. >>>? >>>websitename1.domain.tld?CNAME to serverhostname.internal.domain.tld >>>i changed >>>websitename1.domain.tld?CNAME to serverhostname2.internal.domain.tld >>> >>>? >>>? >>>I did this this morning a few hours ago.. >>>I noticed now few hours later, my changed records is gone.. >>>but when i want to add a new CNAME for this record, the >>>windows tools says it already exists. >>>and a ping?to this cname works fine, so the records is there >>>and works. >>>? >>>when i run : >>>samba-tool dns query DC.internal.domain.tld domain.tld? >>>websitename1 CNAME >>>( also tested with : samba-tool dns query >>>DC.internal.domain.tld domain.tld?websitename1.domain.tld CNAME ) >>>result :??Name=, Records=0, Children=0 >>> >>>now i have 2 cnames to the same host..? >>>and >>>samba-tool dns query ADDC.internal.domain.tld domain.tld? >>>websitename2 CNAME >>> >>>result : >>>CNAME: websitename2.internal.domain.tld. (flags=f0, serial=2, >>ttl=3600) >>>? >>>Did we hit a bug here? >>>? >>>? >>>Greetz, >>>? >>>Louis >>>? >>> >>>? >>>-- >>>To unsubscribe from this list go to the following URL and read the >>>instructions: https://lists.samba.org/mailman/options/samba >>> >>> >> >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: https://lists.samba.org/mailman/options/samba >> >> >