Re: Using bind 9.5.0 with Active directory

2009-01-10 Thread Danny Mayer
Nico De Ranter wrote: > Found some time to work on it again and it seams I did something wrong > last time as ms-subdomain now works! > > Thanks for your help!! > > I did notice one strange thing when turning on trace mode of named: > > Whenever an update request occurs I see a lot of messages

Re: Using bind 9.5.0 with Active directory

2009-01-09 Thread Nico De Ranter
Found some time to work on it again and it seams I did something wrong last time as ms-subdomain now works! Thanks for your help!! I did notice one strange thing when turning on trace mode of named: Whenever an update request occurs I see a lot of messages like: -

Re: Using bind 9.5.0 with Active directory

2009-01-06 Thread Rob Austein
No obvious reason why it shouldn't work with ms-subdomain. Next step is probably a protocol trace to see what's happening on the wire. wireshark/tshark is pretty good for this kind of analysis. Probably best to run named with -g while you're doing the trace and capture the output as well (if you

Re: Using bind 9.5.0 with Active directory

2009-01-05 Thread Nico De Ranter
I already tried ms-self and ms-subdomain. Unfortunately that doesn't seem to make any difference. Nico On Tue, 2008-12-30 at 13:44 -0500, Rob Austein wrote: > At Tue, 30 Dec 2008 16:05:10 +0100, Nico De Ranter wrote: > > > > update-policy { > > grant TEST.NET krb

Re: Using bind 9.5.0 with Active directory

2008-12-30 Thread Rob Austein
At Tue, 30 Dec 2008 16:05:10 +0100, Nico De Ranter wrote: > > update-policy { > grant TEST.NET krb5-subdomain * A; > }; Microsoft invented their own naming scheme for host principals ("machi...@realm" instead of "host/mach...@realm"). Try "ms-subdomain

Re: Using bind 9.5.0 with Active directory

2008-12-30 Thread Nico De Ranter
On second thought I think it must be: named.conf options { [...] tkey-gssapi-credential "DNS/dns.test.net"; tkey-domain "TEST.NET"; }; view "internal" { [...] zone "test.net" { type master; file "test.net.zone

Re: Using bind 9.5.0 with Active directory

2008-12-30 Thread Admin
On second thought I think it must be: named.conf options { [...] tkey-gssapi-credential "DNS/dns.test.net"; tkey-domain "TEST.NET"; }; view "internal" { [...] zone "test.net" { type master; file "test.net.zone

Re: Using bind 9.5.0 with Active directory

2008-12-30 Thread Nico De Ranter
You were correct (of course). I had my versions mixed up and was starting an older version without GSSAPI support. The kerberos authentication seems to be working now but I still can't the updates working. If I understand the output in named.run correctly, I believe the kerberos authentication

Re: Using bind 9.5.0 with Active directory

2008-12-26 Thread Rob Austein
At Fri, 26 Dec 2008 14:28:13 +0100, Nico De Ranter wrote: > > Dec 26 13:55:33 dns named[8546]: configuring TKEY: not implemented The error suggests that you don't really have GSSAPI enabled (dst_gssapi_acquirecred() returns that error when called with GSSAPI support disabled). Check your build l

Re: Using bind 9.5.0 with Active directory

2008-12-26 Thread Nico De Ranter
Unfortunately I can't get it to work. When I add tkey-gssapi-credential "DNS/"; tkey-domain "..."; to my named.conf file, named doesn't want to start anymore. I get the following message in /var/log/messages: Dec 26 13:55:33 dns named[8546]: configuring TKEY: not implemented Dec 26 13

Re: Using bind 9.5.0 with Active directory

2008-12-24 Thread Nico De Ranter
Thank you very much for your very detailed instructions. I'm going to try it right away. Nico On Tue, 2008-12-23 at 17:41 -0500, Rob Austein wrote: > Four things must be done to allow Bind 9 to support GSS-TKEY: > > * kinit must work on the host which will run BIND 9. This means > kr

Re: Using bind 9.5.0 with Active directory

2008-12-23 Thread Danny Mayer
Rob Austein wrote: > Four things must be done to allow Bind 9 to support GSS-TKEY: > > * kinit must work on the host which will run BIND 9. This means > krb5.conf must be properly configured with the realm and > locations of the Kerberos servers. > * Bind 9 must be compiled wit

Re: Using bind 9.5.0 with Active directory

2008-12-23 Thread Rob Austein
Four things must be done to allow Bind 9 to support GSS-TKEY: * kinit must work on the host which will run BIND 9. This means krb5.conf must be properly configured with the realm and locations of the Kerberos servers. * Bind 9 must be compiled with GSSAPI enabled. * Bind 9

Using bind 9.5.0 with Active directory

2008-12-23 Thread Nico De Ranter
Hi, I need to create a new Windows 2008 domain in a network with an existing Bind setup. I know I need dynamic DNS for the Windows domain. I also know I need GSS support to get secure dynamic updates and this is supported in Bind 9.5.0. However I can't figure out how to configure everything prop