[Samba] howto test ddns

shadrock uhuru niyalevi at gmail.com
Wed Aug 6 09:45:39 MDT 2014


hi everyone
the ddns is now working correctly

my '/etc/netctl/network' file
------------------------------
Description='Tissisat ethernet connection'
Interface=enp1s12
Connection=ethernet
IP=static
Address=('10.2.1.6/24')
Gateway='10.2.1.1'


$ kinit administrator
Password for administrator at TISSISAT.CO.UK:

$ nsupdate -g -d -D
setup_system()
reset_system()
user_interaction()
> server 10.2.1.6
do_next_command()
> realm TISSISAT.CO.UK
do_next_command()
> update delete testserver.tissisat.co.uk in A
do_next_command()
evaluate_update()
update_addordelete()
> update delete testserver.tissisat.co.uk in AAAA
do_next_command()
evaluate_update()
update_addordelete()
> update add  testserver.tissisat.co.uk 3600 in A 10.2.1.50
do_next_command()
evaluate_update()
update_addordelete()
> send
do_next_command()
start_update()
recvsoa()
About to create rcvmsg
show_message()
Reply from SOA query:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:  52701
;; flags: qr aa ra; QUESTION: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;testserver.tissisat.co.uk.    IN    SOA

Out of recvsoa
recvsoa()
About to create rcvmsg
show_message()
Reply from SOA query:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:  15048
;; flags: qr aa ra; QUESTION: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;tissisat.co.uk.            IN    SOA

;; ANSWER SECTION:
tissisat.co.uk.        3600    IN    SOA    ashanti.tissisat.co.uk.
hostmaster.tissisat.co.uk. 13 900 600 86400 0

Found zone name: tissisat.co.uk
The master is: ashanti.tissisat.co.uk
start_gssrequest
send_gssrequest
show_message()
Outgoing update query:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:  11396
;; flags:; QUESTION: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;236215532.sig-ashanti.tissisat.co.uk. ANY TKEY

;; ADDITIONAL SECTION:
236215532.sig-ashanti.tissisat.co.uk. 0    ANY TKEY gss-tsig. 1407122309
1407122309 3 NOERROR 1370
YIIFVgYGKwYBBQUCoIIFSjCCBUagDTALBgkqhkiG9xIBAgKiggUzBIIF
L2CCBSsGCSqGSIb3EgECAgEAboIFGjCCBRagAwIBBaEDAgEOogcDBQAg

[snip]

jCALbYJx44ltNtjptOcOe0noGZuiSZAgmC5YyBlysE/5iMrqeA
4PuoXyFp07UORcSHJhiSGfbJUottUTyJcQTSimQ4JyjEVc78IHrGlX0M
BTGZwmPNBuMviVc02g1RE3iy4bfQEkmFpf1IICYpFtoQeuPNgkklcEL3
yAY93bH8ctJAUT41M9OZxvtWhbKZ/elnJBM= 0

Out of recvsoa
recvgss()
recvgss creating rcvmsg
show_message()
recvmsg reply from GSS-TSIG query
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:  11396
;; flags: qr ra; QUESTION: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;236215532.sig-ashanti.tissisat.co.uk. ANY TKEY

;; ANSWER SECTION:
236215532.sig-ashanti.tissisat.co.uk. 0    ANY TKEY gss-tsig. 1407122309
1407122309 3 NOERROR 181
oYGyMIGvoAMKAQChCwYJKoZIhvcSAQICooGaBIGXYIGUBgkqhkiG9xIB
AgICAG+BhDCBgaADAgEFoQMCAQ+idTBzoAMCAReibARq3CdqV3Aggr/3
5i6Loe4empyXnVu4ezCxM1jUoMqPei9WJiZSYWviRwqoSeBcU8v0BMcl
wUTE6E/o/xZnwO/q7CxeYoiHfzTowOe691wPA/tdALwN0MPuMkuBNhHX
JRwRUFtdnzVRwtUURA== 0

;; TSIG PSEUDOSECTION:
236215532.sig-ashanti.tissisat.co.uk. 0    ANY TSIG gss-tsig. 1407122309
300 28 BAQF//////8AAAAAOTqxyl2QMp3e1oDr9EP0CQ== 11396 NOERROR 0

send_update()
Sending update to 10.2.1.6#53
show_message()
Outgoing update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:  31895
;; flags:; ZONE: 1, PREREQ: 0, UPDATE: 3, ADDITIONAL: 1
;; UPDATE SECTION:
testserver.tissisat.co.uk. 0    ANY    A    
testserver.tissisat.co.uk. 0    ANY    AAAA    
testserver.tissisat.co.uk. 3600    IN    A    10.2.1.50

;; TSIG PSEUDOSECTION:
236215532.sig-ashanti.tissisat.co.uk. 0    ANY TSIG gss-tsig. 1407122309
300 28 BAQE//////8AAAAAOUkO6FOWz+qUEYiL+I5qPA== 31895 NOERROR 0

Out of recvgss
update_completed()
; TSIG error with server: tsig verify failure
show_message()

Reply from update query:
;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id:  31895
;; flags: qr ra; ZONE: 1, PREREQ: 0, UPDATE: 3, ADDITIONAL: 1
;; ZONE SECTION:
;tissisat.co.uk.            IN    SOA

;; UPDATE SECTION:
testserver.tissisat.co.uk. 0    ANY    A    
testserver.tissisat.co.uk. 0    ANY    AAAA    
testserver.tissisat.co.uk. 3600    IN    A    10.2.1.50

;; TSIG PSEUDOSECTION:
236215532.sig-ashanti.tissisat.co.uk. 0    ANY TSIG gss-tsig. 1407122309
300 28 BAQF//////8AAAAAOTqxy0evYpKTnvFTkNZCzQ== 31895 NOERROR 0

done_update()
reset_system()
user_interaction()
> quit

$ host testserver
testserver.tissisat.co.uk has address 10.2.1.50
---------------------------------------------------------------------------------

> On Sun, 2014-08-03 at 17:29 -0500, Rob Townley wrote:
> > I assume you mean client machines can still use ddns but the servers
> need
> > hardcoded IP and dns entries.
>
> We'd add DCs to the hardcoded list too.

i have joined my linux mint laptop to the domain and the join went
without a problem
and i tested the join using the test from this page
https://www.samba.org/samba/docs/man/Samba-Guide/unixclients.html

> I would think
> that being unable to register control with rootdse is pretty critical.

this page
https://docs.fedoraproject.org/en-US/Fedora/17/html-single/System_Administrators_Guide/
states
    You can ignore the "Unable to register control with rootdse!"
message, as it is erroneous.
----------------------

again many thanks for the help
Shadrock


More information about the samba mailing list