The Common Internet File System (previously known as SMB) is a layer 7 networking protocol providing file and device sharing across local networks. It was originally designed and implemented by Microsoft as part of the Windows operating system.

learn more… | top users | synonyms

1
vote
1answer
866 views

How to set a password via environment variables for a cifs mount in Ubuntu?

I've been trying to set the PASSWD environment variable like it says you can in the mount.cifs manual, but it still prompts me for a password and ignores the environment variable I set before it. ...
1
vote
1answer
2k views

cp from Linux to CIFS (windows) share mount is very slow

I am wondering why cp command of 72GB data from linux server to a mounted CIFS (windows) share works too slow? It takes more then 3 hours already. Is the any way to see where the gap, bottleneck? P....
1
vote
3answers
3k views

How can I set up disk quotas on a remote server in a Samba environment?

I've been working with an install of Ubuntu 8.04 and Samba. I'm trying to set up user disk space quotas for our shared drive. That is, each user will have their own folder on our Network Attached ...
1
vote
1answer
1k views

Mount Return Code for CIFS mount

When I run the following command (as root or via sudo) from a bash script I get an exit status (or return code in mount man page parlance) of 1: mount -v -t cifs //nasbox/volume /tmpdir/ --verbose -o ...
1
vote
2answers
865 views

mounted a symlink on a mountpoint

I have a samba share called A on a machined named aaron. Inside that share is a smylink called Audio-CD_WAVs which points to a machine local directory. When this share is accessed by a windows machine,...
1
vote
0answers
10 views

Access CIFS share through another server [duplicate]

I have CIFS-share on NAS-server and that share is accessible to one server. That share is mounted to my server \NAS-server\share -> U:\ The server to which the NAS-share is mounted is sharing its ...
1
vote
0answers
76 views

Cifs mount hanging

I have a problem with a mount between a windows server and a linux machine. The share is on the windows machine. From time to time, the windows machine goes nuts and some services fail on it. After a ...
1
vote
0answers
26 views

Difference between Level 1 Oplock and Filter Oplock

As I know, there are 4 types of Opportunistic Locks: Level 1, Level 2, Filter, and Batch. For me, Level 1, Level 2 and Batch Oplock are not so difficult to understand, but I still don't understand ...
1
vote
1answer
33 views

Identifying files being actively written to CIFS share

Is there a way to identify files that are actively being written to a CIFS mount in Linux? I am interested in skipping those files. My first thought would be to fine tune the find command with mmin....
1
vote
0answers
117 views

How do audit file permissions changes over CIFS?

I have a few windows file servers but am slowly changing to Freenas/ZFS boxes which are working much better however I can't figure out how to audit when people change permissions to critical folders. ...
1
vote
0answers
22 views

io error on no-match glob within cifs OSX -> debian jessie mount

Using a wildcard/glob (at least * and ?) in bash causes an input/output error when there are no matches on a samaba cifs mount in Debain Jessie 8.2. On other filesystems, the expected No such file ...
1
vote
0answers
124 views

One slow SMB/CIFS share causes slow and laggy network performance to or from fast ones in Windows 7

Windows 7 SP1+ (Ultimate), connected to both local network Samba (latest stable versions) over Gigabit Ethernet, as well as a VPN'ed Samba share that goes out over my ISP link (1200 kbps uplink). All ...
1
vote
0answers
381 views

Powerbroker Open : Cannot automount CIFS share, where is the kerberos ticket?

I am using Powerbroker Open (formerly Likewise Open) to join CentOS 7 machines to a Windows 2012 R2 domain. Login etc. works fine. Now I am trying to use the automatic mount of home directories via ...
1
vote
0answers
84 views

Samba shares don't work when mounted via host names from /etc/hosts

I have /etc/hosts file with this line 10.1.17.123 SAMBAWINSERVER I am trying to mount samba shares referencing server by name in the hosts file. I tried to mount it via regular mount command or /...
1
vote
0answers
337 views

mounting subdirectory with mount.cifs gives permission denied, but gvfs works

On a windows file share we have a user "drone" who is given read write permissions to ONLY access a subfolder "child": /SHARE/parent/child But is not given read/write access to "parent" (however is ...
1
vote
0answers
103 views

Issue with executing net use command through telnet session

When executing net use command for mapping cifs share to windows drive. The drive is available only for that telnet session. But when i am doing it manually the drive is available permanent. ...
1
vote
0answers
128 views

Windows 8.1 with CIFS Share Freezes File Explorer

We have recently migrated all of our network files over to a CIFS share. We have remapped the drives on our computers, but are encountering a very specific problem with several users who have Surface ...
1
vote
0answers
56 views

404 Not Found. File exists (mounted)

First off, I will update this post with any information you may need, but since I have no idea where to begin, I will try to summarize the issue. Please just ask if you want to see something. I'm ...
1
vote
0answers
85 views

Is it safe to delete chunks.chk file while using SDFS?

I setup a temporary storage NAS using various hard drives and random components lying about my workshop. It is running CentOS 7, with a software RAID of 8 500 GB SATA drives connected as spare drives ...
1
vote
0answers
465 views

Is it possible to configure windows 7 x64 machine as a NFS server? [closed]

Aim: I want to mount a windows directory with read only permissions on linux machine without typing in windows credentials. I know it's risky but I am not concerned about the security here since both ...
1
vote
2answers
3k views

default NTFS permissions on NetApp CIFS share

Basic premise is that I've created a share and permissioned it up and I can't then change permissions, or even create a folder in it. Volume: /vol/ProjectData Share /vol/ProjectData as \...
1
vote
0answers
2k views

How to setup/overcome file size limitation/“file too large” error in samba/cifs 2.1 on Synology DS214 with DSM 5

I'm mounting a samba share with some sparse files over cifs with -o username=user,gid=999,uid=999,rw,vers=1.0. The NAS has 3TB capacity and 500 GB free disk space, creating a 4TB sparse file with ...
1
vote
0answers
2k views

Why is my OSX client having so much trouble connecting to our SMB server?

I'm asking this here because I think I'm more likely to find SMB/kerberos experts here than in Ask Different, which seems to be mostly related to OSX client issues. When I first connect to our SMB ...
1
vote
2answers
3k views

mounting windows shares on linux while keeping windows permissions

I have a windows share on a windows2003 server (WINJOE) which I want to back up to a Linux machine (LINUXJOE) that is properly joined to the domain. My goal is to backup shared folders of WINJOE to ...
1
vote
0answers
539 views

Synology cifs mount wont allow execution

I have a synology NAS. I am able to mount a cifs directory fine on linux (tried both centos 6 and Ubuntu 12). I can do everything fine except I can't execute anything on it. If I try tab to complete, ...
1
vote
0answers
414 views

correct samba configuration for write access to group?

I'm trying to reconfigure Samba/CIFS on a CentOS client machine specifically because the current setup requires any users logged into the machine to sudo writes to the samba share. I want to take ...
1
vote
0answers
494 views

CHMOD permission denied on SMB share

I'm mounting an SMB/CIFS share on my CentOS 6.4 server using /etc/fstab as follows: Mount windows share to /mnt/mywebsite //10.1.1.4/mywebsite /mnt/mywebsite cifs username=httpd,password=...
1
vote
0answers
603 views

Unable to mount samba share

I'm using CentOS 5 and I'm trying to mount a share, but I continuously receive the same error. mount error: cifs filesystem not supported by the system mount error(19): No such device I have samba ...
1
vote
0answers
255 views

CIFS slashes changed to backslashes after upgrade

I am working on linux server which does its backup via rsync to a cifs-mounted share on an external NAS (D-Link DNS-320). Everything worked fine on opensuse 11.4. After upgrade to opensuse 12.2, the ...
1
vote
0answers
76 views

Permit any user to mount any CIFS share

Essentially, I want the Ubuntu pre-10.10 behaviour back. The setuid method (see notes) does not work anymore. I search a lot on the Internet, but I haven't found a satisfying solution. I have read a ...
1
vote
0answers
230 views

Apache serving Samba share leads to poor performance?

This is a question about a problematic interaction between Apache and Samba. Our Linux server (on a private intranet) mounts a Windows share, which is physically thousands of miles away, and serves ...
1
vote
1answer
89 views

Replace file share server with a new one

I have a server, used for applications, with the path: \\cifs_server\folder I have to move it to a new server : \\cifs_server_new\folder (both folders has been synced). What's the best method for ...
1
vote
0answers
537 views

FTP from mounted CIFS - Download never ends (continues after 100%)

I have the following situation: I have two servers, one sharing files over CIFS, the other shares files by FTP. The FTP-Server has the CIFS Share mounted, and FTP users can download from this mount. ...
1
vote
1answer
1k views

Mounting CIFS filesystems: error -1 opening credential file

I'm trying to permanently mount a windows server share via fstab and netfs on a CentOS 5.x box. I can successfully mount and access the share via the following command: mount.cifs //winserver....
1
vote
1answer
41 views

Is there any way to view the internal mount point of a samba cifs from windows?

Example: To be accesed from windows, I have a samba cIFs called \data\cnd\video it points to this path of the server: 10.50.2.80/vol/conten_delivery_network/videos is the any way to view this path ...
1
vote
1answer
4k views

mount error 5 = Input/output error

I am running out of ideas. After a long period of testing this morning, I cannot seem to get this to work, and I have no idea why. I want to mount a Windows SMB/CIFS share with a Debian 5.0.4 VM, ...
1
vote
1answer
757 views

VSS Copies from Network SMB/CIFS File Share on Mac OS X Client

We have a file share we want to roll out at work, and someone asked if there is a way OS X clients can see VSS copies on the network share they mount (to restate: a SMB/CIFS share on a server on the ...
1
vote
1answer
899 views

Virtual Lan on the Cloud — Help Confirm my understanding?

[Note: Tried to post this over at ServerFault, but I don't have enough 'points' for more than one link. Powers that be, move this question over there.] Please give this a quick read and let me know ...
1
vote
2answers
1k views

add jcifs jar to tomcat classpath

I have the following issus : In my web app, one of the jar must be in the tomcat5.5 $CLASSPATH , and not like the other in WEBAPP/lib. i put it in the tomcatdir/server/lib. ( and then in tomcatdir/...
1
vote
2answers
3k views

cifs: mount error(66): Object is remote

I'm trying to mount a remote Windows share directory on a Linux server. I can access the Windows share from other Windows boxes without any difficulty - but I need to be able to access it from the ...
0
votes
3answers
5k views

Maximum Size Limit for CIFS Share Accessed by Windows Server 2003 (32 bit) Client?

We have a CIFS share being served out by a NETAPP appliance. The CIFS share has grown to over 2 TB in size. A Windows Server 2003 32 bit-client accesses the share. Lets say, for example, the ...
0
votes
4answers
4k views

Mounting a CIFS share through vfstab in OpenSolaris

I'm trying to set up a CIFS share that will mount automatically on my OpenSolaris server. It seems like it would be simple enough, but there's something wrong in my syntax that's preventing it from ...
0
votes
2answers
913 views

Is it better to use rsync over SSHFS or over CIFS as remote repository, having no option for rsyncd?

I have a NAS that is only capable of CIFS, AFS, SSH (no rsyncd capabilities, no NFS). I have to backup very large files (vm images) and I usually set a rsync server on the backup device then I do a ...
0
votes
1answer
2k views

automount a windows share

I have this line and it works mount -t cifs -o myuser //192.168.0.12/Public/Docs /mnt/cifs_shares/Docs But then I try with autofs and it doesn't In /etc/auto.master: /mnt/cifs_shares/Docs /...
0
votes
1answer
60 views

Robocopy permission denied as I cannot traverse folders

I am in the process of migrating few NAS shares from one storage to other. I am using robocopy to do the migration. Let me try to explain the issue. Sorry in case if its lengthy. I have cifs share ...
0
votes
1answer
70 views

how can I mount a windows share with rw access?

The question is in the title. Here is what I tried but the folder is read only. sudo mount -t cifs -o username=maazza,domain=MYDOMAIN //192.168.123.2/company-files /mnt/test I am on debian jessie. ...
0
votes
3answers
5k views

Can't access SMB shares on Windows but can on Linux

I've been having some problems with a Samba share that I recently set up. The share's configuration is as follows: [data] path = /media/data available = yes valid users = admin read only = no ...
0
votes
1answer
8k views

How to set permissions for a CIFS mount with autofs?

I've set up a CIFS mount on my CentOS 6.4 server with autofs : File /etc/auto.mnt : Photos -fstype=cifs,perm,rw,uid=505,forceuid,gid=505,forcegid,file_mode=0770,dir_mode=0770,credentials=/root/...
0
votes
1answer
2k views

On startup cifs mounts with wrong uid, gid

I have a server running a samba instance which I access with cifs. When the system boots the folder is mounted but with wrong uid and gid. When I umuont and mount again manually, uid and gid are set ...
0
votes
1answer
578 views

rsync files created or modified from windows share on cifs mount

I want to rsync the files to my local linux box, but I only want files that have been created or modified within the past 30 days. I'm mounting a windows share from linux using this command: mount -...