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

16
votes
1answer
22k views
4
votes
5answers
5k views

Multiple logins with pam_mount means multiple (redundant) mounts

I've configured pam_mount.so to automagically mount a cifs share when users login; the problem is if a user logs into multiple times simultaneously, the mount command is repeated multiple times. ...
4
votes
1answer
2k views

Mounting windows shares with Active Directory permissions

I've managed to get my Ubuntu (server 10.04 beta 2) box to accept logins from users with Active Directory credentials, now I'd like those users to access their permissible windows shares on a W2003 R2 ...
1
vote
3answers
4k views

Auto-mounting a windows share on Linux AD login

I've managed to configure my test Ubuntu 10.04 Beta 2 Server VM to accept logins (via ssh) from users who have domain accounts in active directory via Kerberos, nsswitch.conf and PAM configurations. ...
2
votes
2answers
561 views

network endpoint accessible via hostname only, not address?

someone told me that this piece of network hardware (netapp NAS) has a security setting such that it can only be accessed by hostname, not by IP address. I don't understand, as I thought DNS resolved ...
0
votes
1answer
1k views

How can I connect to a CIFS/SMB share on a non-default port?

I'm trying to get a contractor connected to a CIFS share (port 445). He's not a big shop (so no go on using VPN). His ISP blocks outgoing connections on port 445. I've been doing some rsync to ftp ...
1
vote
2answers
140 views

Windows shared printers: Process job on server machine, not the client

While working with Linux clients to Windows SMB/CIFS filesharing servers, from time to time I find myself having to print to a printer with no drivers available under Linux. For some reason, the ...
4
votes
4answers
1k views

Apache has a 2GB file limit on a CIFS network drive?

Setup: A Windows and a Ubuntu Server are hosted in VMware ESXi I have a a 6GB file on a Windows share The Windows share is mount on Ubuntu with smbmount A symlink pointing to the 6GB file is created ...
3
votes
1answer
16k views

Does enabling SMB2 on a NetApp filer require a cifs restart?

I would like to enable SMB2 on a FAS 2050 running Data ONTAP 7.3.2 as by default it is disabled. I have discovered that to enable SMB2 the following option must be set: options cifs.smb2.enable on ...
0
votes
1answer
993 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 ...
2
votes
1answer
5k views

CIFS mounted drive setting “stick-bit” on all files, cannot change permissions or modify files

I have a folder mounted on an Ubuntu 8.10 sever through cifs that I simply cannot change the permissions on once mounted. Here is a breakdown of what's going on: All files within the mounted ...
1
vote
0answers
2k views

Windows Server 2008 R2 Shared folders are very slow when uploading files

I have a little problem, I have a server with Windows Server 2008 R2 Enterprise edition with the File Service installed, and a client with Windows 7 Pro. Everything works fine but the file transfert ...
1
vote
2answers
2k views

Open NetApp CIFS Share

I have a CIFS share on a NetApp device. I want this share to be completely open to any user/computer on the same network. I don't want any authentication (domain, workgroup, etc) required; no ...
3
votes
1answer
662 views

Active Directory profile storage on ZFS

I'm considering storing Active Directory profiles on a ZFS file server. I ran across these instructions for using ZFS and the native Solaris CIFS protocol to integrate with Active Directory. It ...
29
votes
3answers
92k views

Mount Remote CIFS/SMB Share as a Folder not a Drive Letter

Is there any way to mount a remote CIFS/SMB/SAMBA share as a folder/directory and not as a drive letter. For example, I want this map: \\Server\ShareName -> C:\Folder\ShareName Instead of the usual ...
2
votes
0answers
301 views

Why do I have to remount an smb share if I want to recreate a directory?

Suppose I have an SMB share mounted somewhere in a Linux filesystem. If I do this (from within the mounted share): rm -rf some-directory mkdir some-directory ls -a some-directory some-directory is ...
1
vote
2answers
706 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 ...
0
votes
5answers
4k views

Clearing Windows file share “memory”

I'm currently upgrading a Samba file server (from 3.0.23d to 3.4.3). I have a problem on the Windows client side: if the client was accessing a UNC path or mapped drive from the Samba server before ...
0
votes
1answer
1k views

Authenticate with Kerberos to a CIFS share provided by OpenSolaris

I have an OpenSolaris server (running snv_128a) which I have (a) joined to an Active Directory domain and (b) configured to export some filesystems via CIFS: # sharemgr show -vp default nfs=() zfs ...
4
votes
4answers
47k views

Anonymous file sharing without login window, from Windows 7 server to XP clients

I'm trying to provide machines on a small LAN with read-only, anonymous access to files shared from a Windows 7 workstation (let's call it WIN7SVR). In particular, I don't want clients to have to ...
0
votes
2answers
1k views

MySQL “SELECT INTO OUTFILE” fails with CIFS-mounted volume

SELECT INTO OUTFILE fails for a CIFS-mounted directory (/mnt/backup/test) but works for a normal directory (/tmp/tests). mysql> select * from mytable into outfile '/tmp/tests/mytable.txt'; Query ...
1
vote
2answers
866 views

What is the safest way to give anonymous read/write access to Windows file shares?

I need to create a Windows file share and configure it so that the files can be modified over the network without the user needing to authenticate. In some cases this will be an interactive user ...
1
vote
3answers
4k views

Allowing a user to mount a samba share from fstab

I am unable to get mount.cifs to respect the user flag passed to mount. The entry in /etc/fstab is //10.0.1.205/rm /home/robert/remote/rm cifs ...
3
votes
5answers
3k views

Samba by CIFS, problems with copying directory tree

I have server with samba share, which is mounted by CIFS on my client machine under /media/photos. /media/photos ownership is root:samba, and my user also is member of group samba. In smb.conf on ...
1
vote
2answers
940 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 ...
1
vote
4answers
1k views

Backing up Linux server to Windows server?

I need to back up a (virtual) Ubuntu server. The backup media (an external USB disk) is mounted on the Windows (Hyper-V Server) host. The Windows servers on the same host can simply back up using ...
0
votes
2answers
701 views

Can “fast fail” of SMB/CIFS hosts be tuned?

We have a Windows 2008 file server that's going off-line intermittently. When it's down, the Windows 2003 web servers pile up requests with pending file operations. I ran some tests using ColdFusion, ...
2
votes
1answer
3k views

Using same drive for iSCSI and SMB share under FreeNAS

I'm setting up a new FreeNAS server this weekend with pretty good success, but I am stuck on one last issue. Right now I have 2x 1.5 TB drives that I want mirrored (I was planning Software RAID 1) ...
0
votes
2answers
1k views

Mounting CIFS on 60 RHEL5 computers, fstab or autofs

I need to mount a Windows share on a large number of computers (nodes in a supercomputer). The share will rarely be used, but it should be there when needed. It seems like a good case for some type ...
0
votes
1answer
687 views

Problem accessing Windows shares when using a domain

I've had the following problems on multiple Windows networks (using domains) which have a password expiration policy: After a while the user can't access network resources. This seems to be caused ...
0
votes
1answer
912 views

CIFS volume not mounting automatically

My CIFS volume is not mounting automatically while boot (like other partitions). This is relevant part of my /etc/fstab: //leonidas/files /media/photos cifs ...
0
votes
1answer
1k views

Samba, CIFS and Deleting Files

So I've got a Samba share located on server A. I have that share mounted to two other servers, B and C. The idea is that B and C need to write temporary files to a single location so that multiple ...
4
votes
3answers
9k views

How to setup samba share to be mounted as specific user?

I want to create samba share to which users can connect as specific samba user. I created user, let's say henry, and I want to make storage in his home. So I have in my /etc/samba/smb.conf: ...
2
votes
1answer
736 views

Recursively traverse a directory?

On Linux, how would I recursively traverse a variable number of shares?
2
votes
3answers
19k views

Disable Windows 2003 File Sharing

What's the best way to temporarily disable the Windows 2003 File Sharing service(s)? Sorta like the equivalent to shutting down Samba on a Linux box.
3
votes
5answers
6k views

server 2008 to 2003 slow filetransfer using cifs

I just tried copying a file over cifs (windows file sharing) between a server 2003 R2 and a new server 2008 SP1 and I'm getting horrible speed. it's a 300MB file that is taking around 30 minutes to ...
0
votes
3answers
4k views

Why do I get duplicate network name errors on my VMware NAT network?

I am trying to create hidden "mini-LANs" for use in testing application deployment and using VMware workstation on Vista x64 to create the machines. Two instances of Windows XP are running. They ...
0
votes
4answers
3k 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 ...
2
votes
6answers
1k views

Bash shell snippet to check if mounted Samba share is not busy

#!/bin/sh mount -t cifs //192.168.5.90/share -o password='' /mnt/tera_nas rsync -av --super --delete --recursive /home/ /mnt/tera_nas/home/ # sleep 5m (i want to avoid using this) # Bash shell ...
0
votes
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 ...
1
vote
1answer
1k views

How can I script a download from Windows File Sharing?

Given a set of XML files available on a Windows Share \\server\share contains spaces\direcory\, I need a bash command to download one specific file from that share. Neither wget nor curl support any ...
6
votes
3answers
3k views

Mounting Linux user home directories on CIFS server

I was wondering about peoples experiences with mounting users home directories from an Active Directory authenticated CIFS server under Linux. Preferably the mount would be accomplished upon login ...
4
votes
5answers
25k views

Windows networking performance (SMB/CIFS)

Are there registry settings or other settings available to tune Windows networking (SMB/CIFS) performance? I'm trying to get maximum throughput for large file copy operations but any settings would ...