Chapter 8. Accessing Network Resources

Contents

8.1. General Notes on File Sharing and Network Browsing
8.2. Accessing Network Shares
8.3. Sharing Folders
8.4. Managing Windows Files
8.5. Configuring and Accessing a Windows Network Printer

From your desktop, you can access files and directories or certain services on remote hosts or make your own files and directories available to other users in your network. SUSE Linux Enterprise® offers the following ways of accessing and creating network shared resources.

8.1. General Notes on File Sharing and Network Browsing

Whether and to which extent you can use file sharing and network browsing on your machine and in your network highly depends on the network structure and on the configuration of your machine. Before setting up either of them, contact your system administrator to make sure that your network structure supports this feature and to check whether your company's security policies permit it.

Network browsing, be it SMB browsing for Windows shares or SLP browsing for remote services, relies heavily on the machine's ability to send broadcast messages to all clients in the network. These messages and the clients' replies to them enable your machine to detect any available shares or services. For broadcasts to work effectively, your machine must be part of the same subnet as all other machines it is querying. If network browsing does not work on your machine or the detected shares and services do not match with what you expected, contact your system administrator to make sure that you are connected to the appropriate subnet.

To allow network browsing, your machine needs to keep several network ports open to send and receive network messages that provide details on the network and the availability of shares and services. The standard SUSE Linux Enterprise is configured for tight security and has a firewall up and running that protects your machine against the Internet. To adjust the firewall configuration, you would either need to ask your system administrator to open a certain set of ports to the network or to tear down the firewall entirely according to your company's security policy. If you try to browse a network with a restrictive firewall running on your machine, Nautilus warns you about your security restrictions not allowing it to query the network.

8.2. Accessing Network Shares

Networking workstations can be set up to share folders. Typically, files and folders are marked to let remote users access them. These are called network shares. If your system is configured to access network shares, you can use your file manager to access these shares and browse them just as easily as if they were located on your local machine. Whether you have only read access or also write access to the shared folders depends on the permissions granted to you by the owner of the shares.

To access network shares, open Nautilus and click Network Servers. Nautilus displays the networks that you can access. Click a network, then click the server. You might be required to authenticate to the server by providing a username and password.

Figure 8.1. Network File Browser

Network File Browser

8.3. Sharing Folders

Sharing and exchanging documents is a must-have in corporate environments. Nautilus offers you file sharing, which makes your files and folders available to both Linux and Windows users.

8.3.1. Enabling Sharing on the Computer

Before you can share a folder, you must enable sharing on your computer. To enable sharing:

  1. Click Computer+More Applications+System+YaST.

  2. Enter the root password.

  3. Click Network Services.

  4. Click Windows Domain Membership.

  5. Click Allow Users to Share Their Directories, then click Finish.

8.3.2. Enabling Sharing for a Folder

To configure file sharing for a folder:

  1. Open Nautilus.

  2. Right-click the window background or a folder, then select Sharing Options from the context menu.

  3. Select Share this folder.

  4. (Optional) If you want other people to be able to write to the folder, select Allow other people to write in this folder.

  5. (Conditional) If the folder does not already have the permissions that are required for sharing, click Add the permissions automatically.

The folder icon changes to indicate that the folder is now shared.

[Important]Samba Domain Browsing

Samba domain browsing only works if your system's firewall is configured accordingly. Either disable the firewall entirely or assign the browsing interface to the internal firewall zone. Ask your system administrator about how to proceed.

8.4. Managing Windows Files

With your SUSE Linux Enterprise machine being an Active Directory client, you can browse, view, and manipulate data located on Windows servers. The following examples are just the most prominent ones:

Browsing Windows Files with Nautilus

Use Nautilus's network browsing features to browse your Windows data.

Viewing Windows Data with Nautilus

Use Nautilus to display the contents of your Windows user folder just as you would for displaying a Linux directory. Create new files and folders on the Windows server.

Manipulating Windows Data with GNOME Applications

Many GNOME applications allow you to open files on the Windows server, manipulate them, and save them back to the Windows server.

Single-Sign-On

GNOME applications, including Nautilus, support Single-Sign-On, which means that to access other Windows resources, such as Web servers, proxy servers, or groupware servers like MS Exchange, you do not need to reauthenticate. Authentication against all these is handled silently in the background once you provided your username and password on login.

To access your Windows data using Nautilus, proceed as follows:

  1. Open Nautilus and click Network Servers.

  2. Click Windows Network.

  3. Click the icon of the workgroup containing the computer you want to access.

  4. Click the computer’s icon (and authenticate, if prompted to do so), then navigate to the shared folder on that computer.

To create folders in your Windows user folder using Nautilus, proceed as you would when creating a Linux folder.

8.5. Configuring and Accessing a Windows Network Printer

Being part of a corporate network and authenticating against a Windows Active Directory server, you can access corporate resources, such as printers. GNOME allows you to configure printing from your Linux client to a Windows network printer.

To configure a Windows network printer for use through your Linux workstation, proceed as follows:

  1. Start the GNOME Control Center from the main menu.

  2. Select Hardware+Printers.

  3. Select New Printer.

    Adding a printer requires root privileges, so you must enter the root password to continue.

  4. Select Network Printer, then select Windows Printer (SMB) from the drop-down menu.

  5. Enter or select the Windows host, the printer, and the username and password required to access the Windows computer, then click Forward.

  6. Select the driver that most closely matches the printer, then click Forward.

  7. Click Apply.

    The printer is ready for use.

To print to the Windows network printer configured above, select it from the list of available printers.


SUSE Linux Enterprise Desktop GNOME User Guide 10 SP4