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

2
votes
0answers
294 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
646 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
3k 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
42k 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
799 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
3k 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
871 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
645 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
655 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
889 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
7k 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
649 views

Recursively traverse a directory?

On Linux, how would I recursively traverse a variable number of shares?
2
votes
3answers
18k 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
2k 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 ...
3
votes
5answers
21k 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 ...