Sorry, I'm restarting after which edit? Adding the client/lanman info? I restarted samba, I'll restart winbind now...
I did get that error from the "good" computer, the other computer just says "ACCESS_DENIED."
Sorry, I'm restarting after which edit? Adding the client/lanman info? I restarted samba, I'll restart winbind now...
I did get that error from the "good" computer, the other computer just says "ACCESS_DENIED."
As a check, can you ping a windows machine by name from each of the Linux machines.
As you are on a mixed network is worth doing below
Add wins after dns so that the line looks like
hosts: files mdns4_minimal [NOTFOUND=return] dns wins mdns4
PC
To get a terminal command to put its output into a file use this format
{terminal command} > {filename}
As far as I can tell - and this is somewhat a fuzzy guess - the errors that you are getting are around name resolution. This involves, winbind, nsswitch, and /etc/hosts (which should not be used in a proper setup).
Still thinking - allthough this is a painful process
PC
To get a terminal command to put its output into a file use this format
{terminal command} > {filename}
Hmm, just "ping hostname?"
Pinging a windows computer returns packets in about 40ms. My router's DNS settings are for OpenDNS, and the IP returned is an OpenDNS IP:
Code:nixie@dove:~$ ping bateleur PING bateleur.wavecable.com (208.67.216.132) 56(84) bytes of data. 64 bytes from hit-nxdomain.opendns.com (208.67.216.132): icmp_seq=1 ttl=52 time=42.9 ms 64 bytes from hit-nxdomain.opendns.com (208.67.216.132): icmp_seq=2 ttl=52 time=44.1 ms
This is incorrect. WINS should be before DNS. Some DNS providers (like OpenDNS) forward unknown DNS queries to a "did you mean" search page. To the system, this counts as a resolved host name. So in this situation, if DNS is queried before WINS then you will get a failure when trying to browse networked systems. This is becoming more and more popular by many ISP's because it's one way of avoiding typo-squatting.
Last edited by dmizer; May 11th, 2009 at 09:31 AM. Reason: added link
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Thanks for the correction dmizer
PC
To get a terminal command to put its output into a file use this format
{terminal command} > {filename}
Just noticed the IP of the computer that you pinged
208.67.216.132 - is that an internal IP?
PC
To get a terminal command to put its output into a file use this format
{terminal command} > {filename}
Ok, so putting wins before dns changes the equation on the "good" laptop - pinging a windows machine on the network pings a network address (192.168.0.x).
However, it makes no change on the "bad" laptop, pings there to a hostname on the local network still return an OpenDNS IP address even after adding wins.
I should note that the only WINS server on the network is the Ubuntu Server where I set wins support to be yes in smb.conf.
Have you checked winbind is running on the 'bad' machine.
PC
To get a terminal command to put its output into a file use this format
{terminal command} > {filename}
Can you compare the output of the route command between machines.
Code:route
PC
To get a terminal command to put its output into a file use this format
{terminal command} > {filename}
Bookmarks