Tag: smb

  • How to auto mount samba or cifs shares in OS X Mavericks

    After mounting your shares using Command+K in Finder, go to:

     

    Settings -> Users and Groups -> Click on the lock to allow changes

     

    how-to-automount-samba-shares-os-x-mavericks-01

    Select “Login items” at the top, click on the plus symbol, then find your server on the left pane:

     

    how-to-automount-samba-shares-os-x-mavericks-02

    Click on the samba/CIFS share you wish to automount, then select “Add”; you should now see it in the list:

     

    how-to-automount-samba-shares-os-x-mavericks-03

    In theory, to hide the Finder window which opens when it is mounted you select the “Hide” tickbox on the left side of the share name. This doesn’t seem to work, however! Click on the lock to prevent further changes, restart and you should see your shares automount on boot.

  • Debian 7 (Wheezy) – no smbpasswd command

     

    If you have installed samba/cifs-utils/etc. and are trying to set your users up on a Debian 7 system, you might be surprised to find that the smbpasswd command seems to be missing. It’s actually part of the samba-common-bin package, which you can install via:

     

    sudo apt-get install samba-common-bin

     

    …and you should have your command.