[Samba] mark-records-dynamic-regex in Samba 4.15

Christian Naumer cn at brain-biotech.de
Mon Jan 10 08:56:06 UTC 2022


Hello all,
upgraded our DCs to 4.15 and so far everything is ok. Now I wanted to 
try the new feature mark-records-dynamic-regex in samba-tool.
I tried with a forward zone like this:

samba-tool dns zoneoptions dcname hq.domain.de 
--mark-records-dynamic-regex='computername' -n -P
would make 1/1 records dynamic on computername.hq.domain.de.


samba-tool dns zoneoptions dcname hq.domain.de 
--mark-records-dynamic-regex='computername' -P
made 1/1 records dynamic on computername.hq.domain.de.

This works as expected.

Nor I wanted to do this with a reverse zone:

samba-tool dns zoneoptions dcname 8.0.10.in-addr.arpa 
--mark-records-dynamic-regex='10.0.8.11' -n -P

this just returns nothing and does not change the record. I also tried 
these:

--mark-records-dynamic-regex='11'
--mark-records-dynamic-regex='/d+'
--mark-records-dynamic-regex='/w+'
--mark-records-dynamic-regex='10.0.8.\d+'
--mark-records-dynamic-regex='10.0.8.\d{1,3}'

all of them did not work.

Has anybody tried this before?


Regards

Christian

-- 
Dr. Christian Naumer
Vice President
Unit Head Bioprocess Development

BRAIN Biotech AG
Darmstaedter Str. 34-36, D-64673 Zwingenberg
e-mail cn at brain-biotech.com, homepage www.brain-biotech.com
phone +49-6251-9331-30 / fax +49-6251-9331-11

Sitz der Gesellschaft: Zwingenberg/Bergstrasse
Registergericht AG Darmstadt, HRB 24758
Vorstand: Adriaan Moelker (Vorstandsvorsitzender), 
Lukas Linnig
Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen


More information about the samba mailing list