Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:
 
 

Samba on Fedora Core 1 - Part 3:Using Samba

To test the Samba installation, we use the Samba client we installed. The -L netbios name switch tells smbclient to get a list of shares from the server specified by netbios name. I use the -N switch to suppress the prompting for a password because it is not needed to see just the shares that are available.

[root@machinename samba]# /usr/bin/smbclient -L localhost -N
Anonymous login successful

        Sharename      Type      Comment
        ---------      ----      -------
        tmp            Disk      Temporary file space
        IPC$           IPC       IPC Service (Machinename Samba Server)
        ADMIN$         IPC       IPC Service (Machinename Samba Server)
Anonymous login successful

        Server               Comment
        ---------            -------
        Machinename          Machinename Samba Server

        Workgroup            Master
        ---------            -------
        Myworkgroup          Machinename
The information given above may be different depending on your Samba configuration. The above example is based on the configuration file of a test machine. This is provided to give you an idea of what you will get when you try this. Having done this, we will now see how to use different clients to access Samba shares.