[Samba] dns.keytab

Ibrahim Hamouda ihamouda at itcanint.net
Fri Jun 11 07:41:56 MDT 2010

Hi guys
	I setup my samba4 server with provision. (pdc1)
	Then I setup a DC using net vampire after rolling back to commit 62e0a74 to bypass mdw updates that broke net vampire. (pdc2)
	I had to manually add to the zone in pdc1 the follwoing records to get replication to work:

	I made all the modifications in named.txt to bind
	pdc2	IN	A
	<PDC2-GUID>._msdsc	IN CNAME	pdc2
	scp the dns.keytab file from pdc1 to pdc2

	modified smb.conf on pdc2 as follows

	nsupdate command = /usr/bin/nsupdate -v -k /usr/local/samba/private/dns.keytab

	The dns update doesn't happen:

	on pdc2 i get the following message:

	11-Jun-2010 07:30:16.956 /usr/local/samba/private/dns.keytab:1: unknown option '...'
	11-Jun-2010 07:30:16.956 /usr/local/samba/private/dns.keytab:1: unknown option '(...'
	11-Jun-2010 07:30:16.956 /usr/local/samba/private/dns.keytab:1: unexpected token near end of file
	could not read key from /usr/local/samba/private/dns.keytab: unexpected token

	Any ideas what am I doing wrong?

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the samba mailing list