[Samba] Samba 3.0.31 stills fails to read and write to socket.

Jeremy Allison jra at samba.org
Fri Aug 1 17:59:10 GMT 2008


On Fri, Aug 01, 2008 at 12:50:48PM -0500, Jose Santiago Oyervides wrote:
> Hi Jeremy,
> 
> I think i could be DNS resolution like you say, since this problem only
> happens with accounts from other domains. I have had troubles in the past in
> order to get DNS resolution to work, because this server also has a public
> postfix server, so If I configured the internal DNS the external resolution
> didn't work and viceversa, in order to cope with this issue I configured and
> internal DNS server with both internal and external resolution and that
> seemed to work.
> 
> If I ping the domain controllers from any another domain it responds very
> fast, since I have all DC's in /etc/hosts and /etc/samba/lmhosts and in my
> nsswitch.conf I have configured this:   hosts: files wins dns winbind and in
> /etc/samba/smb.conf I have name resolve order=lmhosts wins bcast.

Try taking wins out of the /etc/nsswitch.conf hosts line. It may be
recursing into winbindd. Alternatively ensure that dns is second after
files.

> Would it help if I configured the Ip address in my krb5.conf for all domains
> instead of their name? Why in /var/lib/samba/smb_krb5 is only created
> krb5.conf.MYDOMAIN and not the file for the others domains? May be this has
> somethng to do...

Yes, an explicit IP address would help, but if DNS is working
correctly you shouldn't need that.

Jeremy.


More information about the samba mailing list