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

Hleb Valoshka 375gnu at gmail.com
Thu Aug 30 12:44:15 MDT 2012


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"


More information about the samba mailing list