Rik Tindall wrote on 26/05/15 15:20:
Samba newbie question please.
I have set up an Ubuntu 15.04 Server box with samba configured, and am trying to connect my Ubuntu 12.04 desktop to view the share files set up on the server.

Have followed the goguda55techtutorials youtube video posts to get this far.

Progress thus: the boxes can ping each other and their gateway; "# service smbd restart" on server works ok.

- What does client need to do to see server?
- Where is client WORKGROUP set? ...

Client should be able to run smbclient, like this.


criggie@caffeine:~$ smbclient -L \\\\caffeine
Enter criggie's password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.6-Debian]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (caffeine server (Samba))
        www             Disk      Web page root
        shared          Disk      Shared stuff - RAID1 Backed up nightly

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.6-Debian]

        Server               Comment
        ---------            -------
        CAFFEINE             caffeine server (Samba)

        Workgroup            Master
        ---------            -------
        WORKGROUP            CAFFEINE




Note the double-double backslash.

You can access a SMB share like

All the config is set in the smb.conf file.




Personally, I use NFS between machines where its supported. The same mountpoints are shared via SMB for the odd windows client, but realistically, file permissions and ownership gets a bit chopped up. At least NFS does what its told, and as a bonus runs faster too.


--
CF
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users

Reply via email to