This early morning I tried to figure out, why my customer can’t browse their samba server on SLES 10SP1 by using server hostname (\\samba01\share). They don’t have any problem if they use IP address (\\192.168.x.x\share). The server already with correct hostname & fqdn hosting on WIN2K3.
All major step, guide already been taken :
- wins support = no (don’t want to let the machine become wins server)
- edit /etc/nsswitch.conf -> hosts wins dns
- restart the server = few times but still same
- view samba log file
Every time I run the command $smbclient -L localhost & $findsmb, I can’t see the samba server in the list even I run it from the samba server itself. $nmblookup samba01 also return “query failed samba01….”. Then I try looking into nmbd.log and noticed the error message “samba failed to send packet trying to release name”. Then I try with the command $nmbd -H to load netbios hosts file and finally user can browse the samba server via hostname. $smbclient and $findsmb also now showing samba01 in the lists. Weird, cause I never had such problem before but maybe it’s bug on samba-3.0.24 on SLES10 SP1 that caused nmd didn’t load netbios hosts file even after you restart your samba services.
athlon_crazy, 5th September 2008, 10:21am
Leave a comment