learning sth. new every day

You sure noticed that this is not a diary, more a monthly(?) if at all. But now I decided to move my irregular braindumps to this place, so I and you can find even more (un)interesting stuff. Today: samba! Having used samba since 1.9.18 or so, I thought I've come across every configuration option mentioned in the ever growing smb.conf. Of course I was wrong:

  • With socket address I can finally restrict nmbd to a single IP address, so it does not listen on every freaking interface.
  • Using load printers = no printing = bsd printcap name = /dev/null disable spoolss = yes gets rid of the annoying Unable to open printcap file /etc/printcap messages in the syslog when printing NOT via smb.
  • And finally I found some time to play around with socket options, I guess I'll go with

    socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_SNDBUF=8192 SO_RCVBUF=8192

    for a while and see what it gives.
  • When mount.cifs is missing, cifs.ko might complain: CIFS VFS: cifs_mount failed w/return code = -22. See this irclog why this might be OR use an IP address for the hostname when mounting the share OR just install smbfs and be done with it.