Map SMB and CIFS Shares

SMB or CIFS shares are commonly used under Windows to access network resources, i.e., files on a server or networked printers. The share is defined by a server name and a share or resource name. The typical notation for a share is written as \\server\share.


Open the Map Network Drive window:

  • For Windows 7 select Map Network Drive… in the context menu (right click) over My Computer
  • For Windows 8 and 10 open an Explorer, select This PC or Computer in the navigation on the left and click on the Map network drive icon in the toolbar.

Select a free drive letter and enter the SMB/CIFS path as:


Tick Reconnect at logon if you intend to use this share regularly.

For windows computers that are not joined to the Active Directory you also want to click on Connect using a different user name and make sure that you use D\ followed by your IAM login and your mail service password for authentication.

Click on Finish to complete the operation.


To connect to a SMB-Share you need to open the Connect To Server window. This Dialog can be reached in the Finder menu > Go > Connect To Server…, or by pressing the + K.

In the Connect To Server Dialog enter the share you like to access as follows:


Please use D\<your ETH user name> as Name and your IAM mail service password for Password. Tick Remember this password in my keychain if you want to use this share regularly before clicking Connect.


Graphical (Gnome)

When using the Gnome desktop open the Browse Network window in the Places menu and click on Connect to Server in the left side navigation. Enter the share you like to access as follows:


When asked for authentication use D\<your ETH user name> and your IAM mail service password.


On the command line (root required)

The following example is for localuser mo with local group mo, nethz user baumanmo, for isg-project share on server Please note that there is no remote group and the primary gid of the remote user will be used on the remote side.

mount -t cifs // /mnt -o domain=d,username=baumanmo,uid=mo,gid=mo,file_mode=0660,dir_mode=0770

Page URL:
© 2024 Eidgenössische Technische Hochschule Zürich