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
1k views

How can I improve performance over SMB/CIFS for an application that has poor write speeds?

I have a third party application that reads several large files and generates a third large file. Its performance is quite good when the generated file is stored on "local storage", i.e. either a ...
4
votes
1answer
1k views

GlusterFS with CIFS, quotas and LDAP

Has anyone had experience plugging GlusterFS and Openfiler together or something similar? Here is the motivation: Disk space on multiple server regrouped using GlusterFS Centralized access using ...
0
votes
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
1answer
745 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. ...
0
votes
1answer
668 views

Mount.cifs not supported during pxe install, but working after reboot. Why?

I'm having trouble adding to AD on pxe-unattended install. The problem is on mount.cifs, a script wich gives me the following error on pxe boot install, works 2 minutes later, after the reboot. ...
0
votes
1answer
2k views

Share a folder with no authentication request

i'm running Windows XP SP3 , in a workgroup. I need to share a folder on volume C: (FAT32 formatted) and i need this to be available in R/W to everybody, without asking for a login. I mean i dont want ...
3
votes
3answers
14k views

Mount NTFS (read/write capability) on Ubuntu

I'm trying to mount Windows 2000 shared folder on Ubuntu in an effort to get Read/Write capabilities. Any advice? I've verified that the user credentials have writable permissions from a windows ...
0
votes
1answer
331 views

Mounting 200 cifs mount points eats all the CPU. Is it correct?

Abstract: I need a way to monitor cifs mountpoints and I don't know how. Hello, I have a virtual machine with 2 CPU and 1Gb RAM running debian 5. It mounts some of our users cifs shared folders, ...
3
votes
1answer
1k views

Migrating Windows shares to a Samba Linux based Share

We are looking at migrating all of of shared folders and files to one server. Currently it's spread out over a few severs which has been the method for the past years but now we want to upgrade and ...
0
votes
1answer
92 views

making the share read only

I 'm sorry to come over again, I was thinking of making the share read only from celerra manager( CIFS only) by R clicking on file system. "the NAS share (\nas12\termemployee$) to read-only to ...
4
votes
2answers
3k views

Can't create or follow symlinks from linux client with a cifs mounted Windows Server 2008 R2 share

Windows Server 2008 R2 NTFS supports symlinks. If I log into the server as Administrator I can create symlinks with mklink, so I know the Admin user has the permissions to do this. If I mount a share ...
0
votes
2answers
1k views

using windows startup script to copy files/folders from network share

I'm having an issue running xcopy as part of a startup script. The server operating system is Windows 2008 R2 and the client operating system is Windows XP SP3. File server hostname: filesrv1 ...
2
votes
1answer
2k views

What ports are needed for a Windows XP client to acces a folder on a SAMBA server?

Wikipedia mentions only TCP port 445 (while as far as I can remember ports 137-139 used to be used actively by Windows file sharing). If I map the 445th TCP port on gateway host "A" to a 445th TCP ...
1
vote
3answers
1k views

Sync Large File Shares

What is the best way to sync large sets of files between to geographically separate locations so that both locations have the same file? We have a constantly changing 500gig file share in Location1 ...
2
votes
1answer
1k views

CIFS(Samba) + ACL = not working

I have two servers with Debian 5.0. server1: samba 2:3.2.5-4lenny9 smbfs 2:3.2.5-4lenny9 smb.conf: [test] comment = test path = /var/www/_test/ browseable = no only guest = yes ...
2
votes
2answers
943 views

Monitor and copy file changes on Windows Server 2003 over NFS or CIFS to *nix

Machine A, Windows Server 2003. Machine B, Ubuntu 9.04. Aim is to copy new and updated files only automatically as fast as possible from A to B. B can mount A either as CIFS or NFS (Services for Unix ...
1
vote
1answer
851 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
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. ...
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 ...
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 ...
2
votes
2answers
567 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
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

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 ...
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 ...
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 ...
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
714 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
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 ...
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
875 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
2answers
947 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
718 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, ...
0
votes
1answer
919 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 ...
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
693 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
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
744 views

Recursively traverse a directory?

On Linux, how would I recursively traverse a variable number of shares?
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 ...
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 ...