Questions tagged [smb]

smb is an abbreviation for Server Message Block, a network protocol for sharing files and printers implemented by Windows, Samba and others.

212 questions
99
votes
9 answers

List samba shares and current users

Looking for a simple way to do this from the command line. List samba shares and the users who can access each of them. List samba shares and the users currently connected to them. List samba shares and every connection (log, including user) that…
komputes
  • 3,303
96
votes
2 answers

Proper fstab entry to mount a samba share on boot?

I am a little confused on the proper fstab entry for a samba share in Ubuntu 12.04 I can get the drive to mount manually by using: sudo mount -t cifs //192.168.2.2/raid_drive /mnt/homeserver -o username=jon,password=password So I tried putting…
jpetersen
  • 5,629
31
votes
3 answers

How do I connect to an SMB share requiring a user name and password?

I have a samba share on my LAN that requires a username and password to obtain write access (otherwise it defaults to read-only). I can't figure out where in the Unity desktop I can connect to the share and be prompted for my login credentials. I…
21
votes
1 answer

How to connect to smb://...?

I would like to connect from Ubuntu 14.04 to a file server (e.g., "smb://files.myuni.ca"). I opened Files and then chose "Connect to Server". A minimalistic menu pops up. If I provide the server address and hit "Connect", the window disappears, but…
mathlete
  • 1,709
13
votes
2 answers

Mount SMB share with gvfs from command line

There are many ways to mount an SMB share in Ubuntu. For example: as root, you can use mount.cifs: mount -t cifs -o user=username //servername/sharename/ /mnt you can use smbnetfs as described here However, I would like to use gvfs. When logging…
January
  • 37,208
13
votes
2 answers

How do I access a password protected share from nautilus?

I can access the server and non password protected shares by using the following commands: ctrl + l smb://server/share I can connect to the share using smbclient //server/share -U I can connect using the command line using the following…
11
votes
4 answers

Mounted cifs share but no write permissions

Have reinstalled Ubuntu on my web dev server. On the old one I had an smbfs share setup to access a share over the local network to other Ubuntu boxes. It was setup using the following and worked fine -…
Horse
  • 253
9
votes
4 answers

Can't connect to smb share after upgrade to Ubuntu Gnome 16.04

After upgrade to Ubuntu Gnome 16.04, I can no longer access my networked media tank's smb share. It's an old (2009) Popcorn Hour A-110. When I connect to server smb://192.168.0.5 in nautilus, I get in an endless loop prompted for login resulting in…
9
votes
1 answer

How can I mount cifs shares in (k)ubuntu 13.04?

In (k)ubuntu 12.10, I could mount a cifs drive (from my Apple Airport Extreme) with sudo mount -t cifs -o user=foobar,password=foobar,rw,hard,nosetuids,noperm //192.168.1.2/Drive ~/mnt/mount_point This no longer works after my upgrade to 13.04…
Sparhawk
  • 6,969
9
votes
4 answers

Unable to mount smb share. "Please select another viewer and try again"

This don't think this is the typical, "I can't mount a windows share" post. I am using stock Ubuntu 12.04. I am pretty sure this is a Nautilus issue, but I have reached a dead end. I have one share that I can't mount using smb://server/share via…
oznah
  • 151
9
votes
3 answers

How to access a Windows share from Ubuntu?

In Ubuntu 12.04 and previous versions, I can easily install smbfs and running smb://server/share from Nautilus works! But, in 12.10, I can't install smbfs. Trying to install it from the terminal, I see this that the package is obsolete: Reading…
Cyberscooty
  • 111
  • 1
  • 2
  • 5
9
votes
3 answers

Authentication issue with CUPS 5.3.1 on SMB Printer

I am trying to print to a samba printer via CUPS. I have configured the printer allright, but there seems to be a problem with authentication. The error message I get is Session setup failed: NT_STATUS_LOGON_FAILURE The GUI also tells me: Idle -…
Julius
  • 131
  • 1
  • 1
  • 4
8
votes
1 answer

Checking SMB Version

Is there a command like Get-SmbConnection in Windows to check what version of smb protocol I'm currently using on my share points?
Dante
  • 121
8
votes
2 answers

Ubuntu 16 Samba server with Windows 10 client - Tutorial/Howto

I had some problems with connecting my Windows 10 computer to my Ubuntu 16.04.1's samba server. Finally I got it. So how to share files on the Ubuntu 16 server with Windows 10 computers?
user3069376
  • 289
  • 1
  • 2
  • 5
8
votes
1 answer

Why is CIFS-mounted share faster than SMB?

To start with, this question isn't really a problem I have but rather a "why is it like this". I'm trying to return to Linux after several years in the Windows world, but I have lost so much... So here's to learning anew. :) I have a Windows 10 x64…
1
2 3
14 15