“Mounting cifs URL not implemented yet” when I try to mount a samba share

1

Since as the error message says CIFS URLs (starting with smb://) are not supported, you have to use the "classic" syntax to identify the server and share. Furthermore, you cannot mount a folder within a share as though it is a share--you should mount the share and then access the folder within it. You can make a symbolic link to the folder inside the share, if necessary. Finally, when you run smbmount, mount -t smbfs, or similar remote mount commands as root (for example, with sudo), you need to specify the username on the server (unless it's actually root, which is unlikely and, if the server runs a Unix-like system, not recommended).

So first, you'll create a folder (mount point) for the share:

sudo mkdir /mnt/projects

(This is assuming you want to create it in /mnt. It's become more common to create all globally accessible mount points that aren't part of your Ubuntu system itself in /media instead of /mnt but it's fine to use /mnt if you like.)

Then...

0 0
2

What I am proposing here is replacing - for often used shares - the current process of File Manager > Browse Network > Windows Network > Host Name > Share > Connect which uses gvfs to a File Manager > Host Name Link > Connect using cifs not gvfs.

The current gvfs / libsmbclient process works more or less but there are advantages to using cifs instead and I want to make this as seamless to the end user as possible.

The best way to get started with this is to do a manual temporary mount first to make sure you can connect and then to automate this so using the terminal is not required. I will present this as a series of templates using these variables:

server = the host name, the mDNS host name, or the ip address of the host that contains the desired share.
share = the name of the share that you want to access
uid=1000 = The "1000" is your user id number. You should run the following command to find the uid number for you:

Preliminaries:

** Make...

0 0
3


Sorry, since I don't know much about Cent O/S, I misguided you.

I just ran this below on Cent5.7 and could successfully mount samba share(192.168.0.1/Docs) with cifs.


Code:

#yum install samba samba-common samba-client

then I ran


Code:

#mount -t cifs //192.168.0.1/Docs /mnt #df -h Filesystem Size Used Avail Use% Mounted on /dev/md1 15G 4.5G 9.1G 33% / /dev/md0 487M 36M 426M 8% /boot tmpfs 328M 0 328M 0% /dev/shm /dev/md3 1.4G 35M 1.3G 3% /backup //192.168.0.1/Docs 541G 105G 409G 21% /mnt

Since my samba share is not password protected I added an entry as below to the /etc/fstab file for permanent mount


//192.168.0.1/Docs /mnt cifs uid=500,gid=501 0 0

The permanent mount also is working fine for me.

You make sure the host "nas01" is pinging from your cent machine, if not add that machine IP address to /etc/hosts file.
IP_address_of_server nas01.something.com...

0 0
4

First off, I apologize if this issue has already been covered. I could not find any references on the forums that worked for my situation.

When trying to mount a Samba share on my Archlinux host, I receive the following error:

mount error: cifs filesystem not supported by the system mount error(19): No such device Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Now, some back story... My laptop runs Archlinux and I am trying to connect to a Samba share on my Raspberry Pi (running Archlinux ARM). Here is the Raspberry Pi's 'smb.conf' settings for the share in question:

security = user ... [shares] comment = Network Shares path = /path/to/share browsable = yes writable = yes guest ok = yes guest user = guest only = yes

exists in the 'smbpasswd' database as well as the Raspberry Pi's '/etc/passwd' file. The folder on the Raspberry Pi has the following permissions: drwxrwxrwx. It is a folder located on an external USB harddrive formatted in NTFS....

0 0
5

I am trying to mount a password protected samba share.

When I access the share via smb://server/share in nautilus there is no password/user promt, it seems I am logged in as a guest and I can browse folders but I cannot access my files (which are in a subfolder that appears to be empty).

When I use nautilus GUI "connect to Server" prompt, I get back "Please verify your user details" although I am absolutely certain they are correct.

Note that I can access the share and my files without problem via

smbclient -U user //server/share

Also, using a MacOS machine I can also mount the shares without any problems.

So I try to mount the share via the commandline:

sudo mount -t cifs -o user=user //server/share /mnt/sth

which produces

mount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

This seems to be a Kernel related bug: https://bugzilla.redhat.com/show_bug.cgi?id=832741.

So my question is:...

0 0
6
We recently moved to a new home and I am trying to get my home file/print server set up again. Thanks to swerdna's excellent website, I got my server box (just upgraded from 11.0 to 11.2) running Samba and serving my shares over the network, and my "client" machines can access them without a problem.

However, I'm not having much luck setting up CIFS mounts on my Linux desktop. I have my all-purpose user added to the Samba auth list (via smbpasswd), and configured my client as swerdna's howto's specify, and I can access the files just find. However, when I try to mount the shares with this command:

Code:

mount -t cifs -o username=klein,password=klein //192.168.1.70/sharedmedia /home/zak/SharedMedia/I get the following error:

Code:

mount error(12): Cannot allocate memory Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)I Google'd for this a bit, and found quite a few others with similar problems, but all of them where mounting shares on Windows...
0 0
7

well for now I restored the sudoers to operate normally by selecting recovery mode when the system is booting up

Then visudo command

And comment out the lines which Smb4k has added for some reason

# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# Allow members of group sudo to execute any command
# (Note that later entries override this, so you might need to move
# it further down)
#%sudo ALL=(ALL) ALL

#includedir /etc/sudoers.d

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Entries for Smb4K users.
# Generated by Smb4K. Please do not modify!
#User_Alias ...

0 0
8

I am trying to mount a file server directory on a client machine. I tried using NFS, but could not mount the share on the client. Several respobses were given to a post on this problem. The help is much appreciated, but I still was not able mount the NFS share. I decided to try instead to mount the directory as a Samba share because I can already access it using Samba from windows, or from KDE or Gnome using

smb://fileserver

as a desktop location icon URL. When I try to mount the Samba share I get error messages that nearly identical those that occurred with NFS. .

Here are some of the setup parameters

.................................................................................................................................................
CentOS 5.4 on client and server behind a D-Link router
server IP: 192.168.0.44 (can ping it client)
client IP: 192.168.0.101 (can ping from server)

smb.conf on server:
[global]
...

0 0
9

Hello, I have a server running Debian that has a Samba share configured. When I try to connect to that share from my Windows 10 PC by entering "\\192.168.2.1\share_name" where "192.168.2.1" is the IP address of the Debian server and "share_name" is the name of the share, I am prompted for my credentials with a red message at the bottom of the prompt saying "Access is denied." I then enter just my username "sean" as the username and then my password and I get the same prompt for credentials with a message in red at the bottom that says: "The username or password is incorrect." I then try adding the workgroup ("WORKGROUP") to my username (i.e "WORKGROUP\sean") and I get the same message. I tried making it all lower case ("workgroup\sean") and that doesn't help.

I am able to mount this share on another Debian server both by specifying just my username in the mount command's options and by specifying the username and password. Both work.

On my Windows 10 PC, I do have...

0 0
10

I have a samba share on my Fedora 13 machine. The problem is that on my system if I try to mount the share it failed every time, on all other windows and Linux machines there is no problem.

I used the following command to mount the share:

mount -t cifs //192.168.1.200/myconfig /tmp/ -o guest

share configurations in /etc/samba/smb.conf are:

[myconfig] comment = Configuration Files path = /var/lib/config browseable = yes guest ok = yes writable = no printable = no

security level in /etc/samba/smb.conf is:

security = share

error returned by mount command is:

mount error(110): Connection timed out Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

kernel log message is:

kernel: CIFS VFS: Error connecting to socket. Aborting operation kernel: CIFS VFS: cifs_mount failed w/return code = -110

what is the issue?

Any...

0 0
11
...
0 0
12

Frank wrote:

[quote]Hi,

I would like to use a samba share on a remote windows machine as storage

location to write backups of a linux server to.

It's basically a nas with only smb interface. The problem is that this

device is turned on manually when backup is launched, then turned off

after it is finished, so I need to mount the samba share on the server's

filesystem before starting backup, then unmount it.

I was thinking at using "Mount Command" etc directives, but they seem to

be focused for use with dvd's.

Is there a way?

[/quote]You can use the RunScript directive in the Job resource to run a script
before the job runs to
mount the Samba share, and then another RunScript to run a script after
the job runs to unmount
the share.

An alternative method that has worked for me is to use autofs to
mount/unmount Samba
shares when they are...

0 0
13
Linux COBOL errors to cifs mount on Windows

location: linuxquestions.com - date: July 11, 2012
Created a cifs mount on our Linux RHEL 4 jobsub server to a Windows server 8 SP2 on the SAN. We want all COBOL jobs to output to the mount location. Some COBOL jobs now give an error when executing: I/O error : file 'PRNTR02' error code: 4/8 (ANS85), pc=0, call=1, seg=0 148 Wrong open mode or access mode for write lpr: error - unable to print file: client-error-bad-request If the job runs and ouputs to a local directory (/home/user) on the Linux server, it runs without issue. My syntax for the mount is: mount.cifs //winserv/jobsubs$ /mnt/jobsubs -o user=winmount,pass=********,uid=user,gid=users,file_mode=0775,dir_mode= 0775,iocharset=utf8 We are using Micor Focus Server Express: V5.1 revision 000 Anyone seen this and know of a solution to allow COBOL to run on a cifs mount?

Mount windows NFS share on Linux

location: ubuntuforums.com - date: April 17, 2010
I'm...

0 0
14

Answers

You should add it to /etc/fstab. I don't have a SMB server available at the moment but I think the fstab entry should look something like:

//server/share /mountpoint smbfs

man fstab and man mount are your friends here.

Here is a very detailed set of instructions on how to do this permanently from an Ubuntu point of view.

https://help.ubuntu.com/community/MountWindowsSharesPermanently

better choice than

mount -t smbfs //servername/sharename /mountdirectory -o username=mywindowsusername,password=mywindowspassword

sould be

sudo mount -t smbfs //servername/sharename /mountdirectory -o credentials=/root/.credMywindowsAccount

and in /root/.credMyWindowsAccount

username=mywindowsusername password=mywindowspassword

If you ask about permanent mount, you should use configuraion via fstab.

Edit file //etc/fstab with root priviledges (for example sudo leafpad //etc/fstab)

and add a line which could look like...

0 0
15

Question

I have a server for development (Ubuntu 12.04). On that machine, I have a shared folder named “projects”. I tried

sudo mount -t smbfs smb://192.168.2.28/projects/myProject /mnt/myProject

on my Ubuntu 11.10 and got the error:

Mounting cifs URL not implemented yet. Attempt to mount smb://192.168.2.28/projects/myProject.

How can I do to solve it? I need to mount the folder to use it with NetBeans.

Answer

Since as the error message says CIFS URLs (starting with smb://) are not supported, you have to use the “classic” syntax to identify the server and share. Furthermore, you cannot mount a folder within a share as though it is a share–you should mount the share and then access the folder within it. You can make a symbolic link to the folder inside the share, if necessary. Finally, when you run smbmount, mount -t smbfs, or similar remote mount commands as root (for example, with sudo), you need to specify the username on the server...

0 0
16

(Not Samba username and password) Here sharing is accessed, You can write/delete/modify whatever you want to do (It's up to your permission implementations). I am trying to mount a SharePoint ... WebDAV MiniRedir reports PROPFIND not implemented. Mounting a Sharepoint filesystem on Linux using davfs2. Mount Network Storage. Mounting cifs URL not implemented yet. Trying to follow this guide to add a network drive to plex but when i go to run mount-a i get Mounting cifs URL not implemented yet. Creating CIFS ISO Library SR fails. Mounting the DFS root for a particular server not implemented yet. Welcome to the Linux Mint forums! Mount Network Storage. Attempt to mount %s \n ",unc_name); Linux Mint Forums. ... may not ... ** Host folder sharing is not implemented in the KVM and Hyper-V driver yet. For help, knowledge, and fellowship. Attempt to mount smb://192.168.2.28/projects/myProject. Default is cifs but also mounting with vers=1.0 also forces using smb/cifs ... (char *...

0 0
17

On 01/19/2017 08:16 AM, George from the tribe wrote:

> On 01/18/2017 04:53 PM, Per Jessen wrote:

>> //yourserver/yourdir /where/to/mount cifs user=user,password=passwd 0 0
>>
>>
>>
> Ok, great, I will try that. Thanks!
>
So, here is what happens.

I am able to connect in dolphin, with the path entered in the file
navigation line at the top of dolphin. At first there was a problem with
my network access, but that is fixed now.

However, I still need to mount this network drive in fstab, and it isn't
working. I tried cifs and nfs, and I am never able to mount the drive. I
tried 6 different formats for the line in fstab to mount the network
drive, using either cifs or nfs, and here they are (with my password x'd
out):

1 -
//faith%5Cgeorge.olson@vstorage1:/Faculty-Staff%20Data/fsCampusDevFacilities$/Drawings/
/mounters/faithnetmnt/ cifs
...

0 0