[Samba] [MASSMAIL]Re: samba-tool dns delete

mathias dufresne infractory at gmail.com
Tue Nov 17 10:46:48 UTC 2015


Hi Karel,

In this error message there is:
*ERROR: Record does not exist*

I expect there is no NS record for:
_msdcs\010CNF:946b89d3-b07b-4f43-a6b9-0de3bf3f3a10.dtoe.etecsa.cu.
as this is not an AD DNS zone.

In your case you have two zones:
dtoe.etecsa.cu and _msdcs.dtoe.etecsa.cu

Anyway you can delete DNS entries using ADUC tool if you have issues with
samba-tool.

2015-11-17 5:44 GMT+01:00 Karel González Herrera <karel.gonzalez at etecsa.cu>:

> I could delete all records of this server that no longer exists no problem
> even record type NS I only have these two that there has been no way to
> erase any other ideas thanks
>
>
> samba-tool dns delete zdtoe-02.dtoe.etecsa.cu dtoe.etecsa.cu
> _msdcs\010CNF:946b89d3-b07b-4f43-a6b9-0de3bf3f3a10.dtoe.etecsa.cu. NS
> zdtoe-01.dtoe.etecsa.cu -U administrator
> GENSEC backend 'gssapi_spnego' registered
> GENSEC backend 'gssapi_krb5' registered
> GENSEC backend 'gssapi_krb5_sasl' registered
> GENSEC backend 'spnego' registered
> GENSEC backend 'schannel' registered
> GENSEC backend 'naclrpc_as_system' registered
> GENSEC backend 'sasl-EXTERNAL' registered
> GENSEC backend 'ntlmssp' registered
> GENSEC backend 'http_basic' registered
> GENSEC backend 'http_ntlm' registered
> GENSEC backend 'krb5' registered
> GENSEC backend 'fake_gssapi_krb5' registered
> Using binding ncacn_ip_tcp:zdtoe-02.dtoe.etecsa.cu[,sign]
> resolve_lmhosts: Attempting lmhosts lookup for name
> zdtoe-02.dtoe.etecsa.cu<0x20>
> resolve_lmhosts: Attempting lmhosts lookup for name
> zdtoe-02.dtoe.etecsa.cu<0x20>
> Password for [DTOE\administrator]:
> *ERROR: Record does not exist*
>
>
>
> El 13/11/15 a las 03:26, mathias dufresne escribió:
>
> Hi,
>>
>> As the error message said "Cannot do GSSAPI to an IP address" perhaps you
>> should try to replace DC IP address by its FQDN:
>> samba-tool dns delete <DC_FQDN> dtoe.etecsa.cu _msdcs\010CNF:
>> 946b89d3-b07b-4f43-a6b9-0de3bf3f3a10.dtoe.etecsa.cu NS *
>> zdtoe-01.dtoe.etecsa.cu -U administrator
>>
>> Cheers,
>>
>> mathias
>>
>> 2015-11-12 20:20 GMT+01:00 Karel González Herrera <
>> karel.gonzalez at etecsa.cu>
>> :
>>
>> I need to delete the DNS record and I could not have any idea something
>>> that is going bad
>>>
>>> root at zdtoe-02:~# dig axfr dtoe.etecsa.cu |grep zdtoe-01
>>> *_msdcs\010CNF:946b89d3-b07b-4f43-a6b9-0de3bf3f3a10.dtoe.etecsa.cu. 900
>>> IN NS zdtoe-01.dtoe.etecsa.cu.*
>>> *_msdcs\010CNF:4b642bd5-765f-4b16-93ce-3921b46ce220.dtoe.etecsa.cu. 900
>>> IN NS zdtoe-01.dtoe.etecsa.cu.
>>>
>>> *root at zdtoe-02:~#*samba-tool dns delete 192.168.157.84 dtoe.etecsa.cu
>>> _msdcs\010CNF:946b89d3-b07b-4f43-a6b9-0de3bf3f3a10.dtoe.etecsa.cu NS *
>>> zdtoe-01.dtoe.etecsa.cu -U administrator
>>> GENSEC backend 'gssapi_spnego' registered
>>> GENSEC backend 'gssapi_krb5' registered
>>> GENSEC backend 'gssapi_krb5_sasl' registered
>>> GENSEC backend 'spnego' registered
>>> GENSEC backend 'schannel' registered
>>> GENSEC backend 'naclrpc_as_system' registered
>>> GENSEC backend 'sasl-EXTERNAL' registered
>>> GENSEC backend 'ntlmssp' registered
>>> GENSEC backend 'http_basic' registered
>>> GENSEC backend 'http_ntlm' registered
>>> GENSEC backend 'krb5' registered
>>> GENSEC backend 'fake_gssapi_krb5' registered
>>> Using binding ncacn_ip_tcp:192.168.157.84[,sign]
>>> Cannot do GSSAPI to an IP address
>>> Got challenge flags:
>>> Got NTLMSSP neg_flags=0x60898215
>>> Password for [DTOE\administrator]:
>>> NTLMSSP: Set final flags:
>>> Got NTLMSSP neg_flags=0x60088215
>>> NTLMSSP Sign/Seal - Initialising with flags:
>>> Got NTLMSSP neg_flags=0x60088215
>>> ERROR: *Record does not exist*
>>> root at zdtoe-02:~#
>>>
>>>
>>>
>>> --
>>> Ing. Karel González Herrera
>>> Administrador de Red
>>> Etecsa: Dirección Territorial Norte
>>> e-mail: karel.gonzalez at etecsa.cu
>>> Tel: 8344973 8607483
>>> Mov: 52182690
>>>
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>
>>>
> --
> Ing. Karel González Herrera
> Administrador de Red
> Etecsa: Dirección Territorial Norte
> e-mail: karel.gonzalez at etecsa.cu
> Tel: 8344973 8607483
> Mov: 52182690
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list