[Samba] syntax of samba-tool to deal with SRV DNS record

Alain Foucher a.foucher at cht.nc
Mon Sep 10 20:30:47 MDT 2012


Hello Hleb,

I  tried to use the quotes around the data but i got another error message :

ERROR: Data requires 4 elements - server, port, priority, weight

any Idea

thanks

Alain

----- Original Message ----- 
From: "Hleb Valoshka" <375gnu at gmail.com>
To: "Alain Foucher" <a.foucher at cht.nc>
Cc: <samba at lists.samba.org>
Sent: Friday, August 31, 2012 5:44 AM
Subject: Re: [Samba] syntax of samba-tool to deal with SRV DNS record


> On 8/30/12, Alain Foucher <a.foucher at cht.nc> wrote:
>> i try to use something like :
>> samba-tool  dns  add   smb4   domain.local    _http._tcp.domain.local 
>> SRV
>> tx4.domain.local  80   1   5
>> but i get this message
>> Usage: samba-tool dns add <server> <zone> <name>
>> <A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data>
>
> You've forgot quotes around data:
>
> samba-tool  dns  add   smb4   domain.local    _http._tcp.domain.local
> SRV "tx4.domain.local  80   1   5"
>
>
> __________ Information provenant d'ESET NOD32 Antivirus, version de la 
> base des signatures de virus 7431 (20120830) __________
>
> Le message a t vrifi par ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> 



More information about the samba mailing list