Via
Hipoxia. If you want to connect to an NFS or Samba drive (or probably even FTP or AFS) when you login to Mac OS X, connect to the drive you want, then drag the file '~username/Library/RecentServers' (created after mapping the drive) to your start-up items in System Preferences. If the username and password for the drive are stored in your keychain, then a connection will be made to the drive behind the scene, otherwise you will be prompted for your credentials.

A nice tip...