[Samba] syntax of samba-tool to deal with SRV DNS record
Hleb Valoshka
375gnu at gmail.com
Wed Sep 12 12:06:38 MDT 2012
On 9/11/12, Alain Foucher <a.foucher at cht.nc> wrote:
> 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
I suppose you use them incorrectly :)
Compare with my yesterday's experiments:
samba-tool dns add pdc-srv.my.domain. my.domain _kerberos-adm._tcp SRV
'pdc-srv.my.domain. 88 100 0'
samba-tool dns update pdc-srv.my.domain. my.domain _kerberos-adm._tcp
SRV 'pdc-srv.my.domain. 88 100 0' 'pdc-srv.my.domain. 88 0 100'
samba-tool dns update pdc-srv.my.domain. my.domain _kerberos-adm._tcp
SRV 'pdc-srv.my.domain. 88 0 100' 'pdc-srv.my.domain. 749 0 100'
samba-tool dns delete pdc-srv.my.domain. my.domain _kerberos-adm._tcp
SRV 'pdc-srv.my.domain. 749 0 100'
More information about the samba
mailing list