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

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 ...
1
vote
2answers
527 views

Duplicity Errno 2 - no such file or directory

I am trying to setup a script for backing up a linux box to a CIFS share. I manually mounted the CIFS share and created a few test folders - OK I then ran duplicity manually with a rather simple ...
1
vote
1answer
1k 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? ...
0
votes
1answer
93 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
4k 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 ...
3
votes
1answer
491 views

How to display windows group membership and Permission access in a CIFS mount

I have a CIFS mount point to a Windows Server from my Debian Linux box: mount -t cifs //192.168.0.10/users /mnt/users -o credentials=/etc/demo.smbpass It mounts properly but all the permissions of ...
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
4answers
2k 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
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
1k 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
876 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 ...
16
votes
1answer
23k views
4
votes
5answers
6k 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
572 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
17k 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
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 ...
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
3answers
3k 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
672 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 ...
32
votes
3answers
106k 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
314 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
753 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
5k 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 ...
5
votes
5answers
51k 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
929 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
983 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
753 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
716 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
934 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
2answers
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
10k 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
775 views

Recursively traverse a directory?

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