For getpeername failed error; you can mention smb port nos in your smb.conf, e.g.
for "Unable to sync browse lists" you got to mention
Code:
domain master = yes
in your smb.conf
overall with the below mentioned code; you can solve most of ya problems;
Code:
os level = 35
preferred master = yes
local master = yes
domain master = yes
But the above code depends on ya requirements; you should only persist with them if you want your local samba box to be a domain master(PDC) & a master browser for your workgroup. With os level 35; its always gonna win browsing election. So thereafter you should not worry about the logs empahsizing election details.