Thank you. This is useful. I did eventually resolve the problem.
After a night of sleep and and a fresh perspective from a friend who
was not too close to the issue, the problem turned out that the
changes I was making to the configs were not taking place... the
daemons were not dying when I told them to with /etc/init.d/samba
stop. Once I killed them with kill -9 and restarted them, everything
worked they way they were supposed to.
Ahhh.. the things you miss when you're tired.
At 03:34 AM 9/29/2006, you wrote:
Michael J McCafferty wrote:
Given the number of IP addresses and DNS changes in the move,
I wonder if there is anything in the configs that I am missing.
The smb.conf file has the correct socket address. Are there other
config files ? Where are samba authentication errors or failures logged ?
Thanks,
Mike
I don't know if you've got this all sorted out by now (this message
just showed up in my Inbox today) but:
Logs for samba are in /var/log/samba, note that there are two
daemons, smbd and nmbd. Check both log files.
Two (related) things I would check in the smb.conf:
interfaces = eth0 lo <--Make sure it's set to the proper NIC
bind interfaces only = yes <--- If set to yes, nmbd will
ignore broadcasts that don't come from the "interfaces =" line and
smbd will bind only to interfaces listed in "interfaces ="
You can set them both "interfaces = " and "bind interfaces only =
no" and nmbd/smbd will answer on any interface they can find.
If you've check that the services are running:
# netstat -pant | grep smbd, you should see it bound to 139 and 445,
then you can use "smbclient" to connect from the samba machine itself.
# smbclient -L //1.2.3.4 -U%
Another thing to check would be to if you can connect to the share
(from the XP machines) by IP. If you can connect by IP but not by
name, your name lookups might not be working.
# netstat -pan | grep nmbd, you should see it bound to 137 and 138.
then you can test your lookups with
# nmblookup -B 1.2.3.255 mybrokenserver
Hope some of that helps.
-ajb
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list