Originally Posted by
Sidrabs
Attached is the console output, it's too big to be politely inserted in the message body.
Keep in mind that I'm no Samba expert, but the system call trace you posted makes it look like it's not even trying to resolve the name. Note these lines:
Code:
open("/etc/nsswitch.conf", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=513, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffc87ff4000
read(3, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 513
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7ffc87ff4000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
It opens nsswitch.conf, closes it, but never bothers to go to DNS. Either Samba isn't supposed to support what you want to do, or something's going on with name resolution. What does your nsswitch.conf look like?
EDIT: I found this also, which may help:
7.3.4.4 dns proxy
If you want the domain name service (DNS) to be used if a name isn't found in WINS, you can set the following option:
[global]
dns proxy = yes
This will cause nmbd to query for machine names using the server's standard domain name service. You may wish to deactivate this option if you do not have a permanent connection to your DNS server. Despite this option, we recommend using a WINS server. If you don't already have any WINS servers on your network, make one Samba machine a WINS server. Do not, however, make two Samba machines WINS servers (one primary and one backup) as they currently cannot exchange WINS databases.
Is dns proxy set up in your smb.conf? Source: http://oreilly.com/openbook/samba/book/ch07_03.html
Bookmarks