[Samba] samba and bind9 problem
Michael Wood
esiotrot at gmail.com
Sat May 22 07:23:02 MDT 2010
On 22 May 2010 03:38, Aleksandar Nasuovski <aleksandarn at sbb.rs> wrote:
>
> Here is output when i start the samba4 :
> ../dsdb/dns/dns_update.c:249: Failed DNS update - NT_STATUS_IO_TIMEOUT
> ../dsdb/dns/dns_update.c:278: Failed SPN update - NT_STATUS_IO_TIMEOUT
Do you get any more useful information if you start Samba with higher
debugging level (e.g. -d4)?
Does bind9 log anything about it? e.g. in /var/log/daemon.log or
/var/log/messages?
> Here is output of command on the client :
> What in the first lookup tell me Server UnKnown?
That's because the reverse DNS is not configured. nslookup tries to
resolve the IP address of the name server to a name.
I set up the reverse DNS to avoid this sort of thing, although it's
not strictly necessary for Samba to work.
I am also having trouble getting the dynamic DNS updates to work. The
HOWTO seems to lack something in that section, but Samba still works
fine and I can join a Windows machine to the domain etc.
>> set type=srv
>> _ldap._tcp.test.com
> Server: UnKnown
> Address: 192.168.100.1
> _ldap._tcp.test.com SRV service location:
> priority = 0
> weight = 100
> port = 389
> svr hostname = dc.test.com
> test.com nameserver = dc.test.com
> dc.test.com internet address = 192.168.100.1
>> _ldap._udp.test.com
> Server: UnKnown
> Address: 192.168.100.1
> etc...
> C:\Documents and Settings\Administrator>nslookup dc.test.com
> *** Can't find server name for address 192.168.100.1: Non-existent domain
> *** Default servers are not available
> Server: UnKnown
> Address: 192.168.100.1
> Name: dc.test.com
> Address: 192.168.100.1
>
> C:\Documents and Settings\Administrator>
>
> On Fri, May 21, 2010 at 5:12 PM, Michael Wood <esiotrot at gmail.com> wrote:
>>
>> On 21 May 2010 12:12, Aleksandar Nasuovski <aleksandarn at sbb.rs> wrote:
>> > It's samba4 12 last test release.
>> > It's Ubuntu server last release.
>> > There is no firewall on the Ubuntu.
>> > I seen that when i try to do nslookup from the joined pc, there is no
>> > replay.
>>
>> So, do the tests in step 8 of the Samba4 HOWTO all pass?
>>
>> http://wiki.samba.org/index.php/Samba4/HOWTO#Step_8_Configure_DNS
>>
>> They should also work from the Windows PC (but you will have to use
>> nslookup instead.)
>>
>> Something like:
>>
>> C:\> nslookup
>> set type=srv
>> _ldap._tcp.your.domain
>>
>> etc.
>>
>> If the DNS tests do not work, check that you have bind9 correctly
>> configured and running.
>>
>> > On Fri, May 21, 2010 at 11:58 AM, Michael Wood <mwood at bluebird.co.za>
>> > wrote:
>> >>
>> >> On 21 May 2010 00:16, Aleksandar Nasuovski <aleksandarn at sbb.rs> wrote:
>> >> > I followed the manual and got 3 problems
>> >>
>> >> Is this with Samba4?
>> >>
>> >> > 1. When i start samba i got error:
>> >> >
>> >> > ../dsdb/dns/dns_update.c:249: Failed DNS update -
>> >> > NT_STATUS_IO_TIMEOUT
>> >>
>> >> Maybe you have firewall issues?
>> >>
>> >> > 2. When i join some computer bind9 doesent update the host in DNS.
>> >> >
>> >> > 3. When i start command /usr/local/samba/sbin/samba_dnsupdate
>> >> > --verbose
>> >> > shell sometimes back result sometimes not.''
>> >>
>> >> Do you get any useful error messages when running that?
--
Michael Wood <esiotrot at gmail.com>
More information about the samba
mailing list