Browsing articles tagged with "cifs - Admins Goodies"
Nov 22, 2012
tom

Samba share for user groups with Ubuntu. A user can’t access files created by other users

I have a folder mounted by using NFS on the server. That folder has subdirectories, and I want to share specific folders to specific user groups by using SAMBA. It doesn’t work as expected, because every user can create files, but then they can only access their own files, and not the files from others. The NFS mount on the Samba server: 172.16.54.56:/export/proyectos on /proyectos type nfs (rw,noatime,rsize=131072,wsize=131072,acregmin=10,acl,nfsvers=3,addr=172.16.54.56) There’s only one folder right now: drwsrws—+ [...]

Continue Reading »
Sep 2, 2012
tom

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 mounting. The line in /etc/vfstab looks like: //user:password@192.168.2.1/data – /mount_point smbfs – yes – However, when I try to mount it using mount /mount_point I get an error message: mount: Mount point cannot be determined I’ve scoured the man pages [...]

Continue Reading »
Aug 4, 2012
tom

How efficient is a file move on the same fileshare?

From a windows208r2 client connected to a SMB/CIFS share, I move a file from one directory to another directory on the same network share. Does windows send a “move” command to the share, or does windows copy the bytes locally, write them to the new location on the same share in the new location, and then delete the original file? One would be much more efficient than the other, just don’t know how “smart” the [...]

Continue Reading »
May 31, 2012
tom

openVPN – print to remote client

LAN (192.168.44.x) | | | | openVPN WinXP ws1 (192.168.44.37) Server (192.168.44.90) | | | | VPN1 VPN2 10.8.0.x 10.9.1.x | | remote winXP openVPN GUI client (10.9.1.2) – USB shared printer i would like to print from WinXP ws1 to remote winXP openVPN GUI. I can successfully connect to the VPN from remote winXP box and obtain a tun1 IP. I can also ping from winXP ws1 to remote winXP using: ping 10.9.1.2. I [...]

Continue Reading »
Apr 26, 2012
tom

How to mount a windows administrative share on linux via SMB

I’m currently trying to mount a windows shared drive under linux. The machine is using windows 7 and by default it shares all windows drives if you login as an administrator. I’ve been able to login and list/copy/delete files via my android phone but I’m having a problem with mounting it on a server. The command I’m trying: mount -t smbfs -o username=MyUsername //10.0.0.2/$D /mnt/machine_1_d I think the problem comes from the $ sign in [...]

Continue Reading »
Apr 25, 2012
tom

How to mount a windows administrative share on linux via samba

I’m currently trying to mount a windows shared drive under linux. The machine is using windows 7 and by default it shares all windows drives if you login as an administrator. I’ve been able to login and list/copy/delete files via my android phone but I’m having a problem with mounting it on a server. The command I’m trying: mount -t smbfs -o username=MyUsername //10.0.0.2/$D /mnt/machine_1_d I think the problem comes from the $ sign in [...]

Continue Reading »
Mar 13, 2012
tom

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 -t cifs //Share/public /mnt/ntserver -o username=myuser,password=’password’,domain=sub.domain.com It mounts correctly and I can ls the mount: $ mount //Share/public/ on /mnt/ntserver type cifs (rw,mand) From my research, it seems rsync can’t do this alone, but with the help [...]

Continue Reading »
Mar 9, 2012
tom

How do I pass credential file to mount.cifs?

I’m maintaining a heterogeneous network of mac and linux so I decided to create a little perl script to unify mounting strategies across machines. The current implementation in linux is in /etc/fstab works fine: //myserverhere.com/cifs_share /mnt/cifs_share cifs user,uid=65001,rw,workgroup=DEV,credentials=/root/.cifs 0 0 and /root/.cifs contains username=ouruser password=ourpassword I tried translating that to a non-fstab format as follows: mount.cifs //myserverhere.com/cifs_share /mnt/cifs_share user,uid=65001,rw,workgroup=DEV,credentials=/root/.cifs But it doesn’t seem to work. Can someone point out what I’m doing wrong please? Thanks [...]

Continue Reading »
Mar 4, 2012
tom

ZFS CIFS shares, clients can’t see mount points of other shares in root folder?

I’m in the process of migrating data from a Win2k3 file server to a box running Solaris. All was going well until I started coming across nested shares. An example of this is a share that the photocopiers use to drop scanned documents into, this shared folder is located in the general staff data share. This works fine on the Win2k3 box, but I am having trouble mirroring this structure on Solaris. I checked over [...]

Continue Reading »
Mar 1, 2012
tom

So how CIFS and SMB relates to each other?

So how CIFS and SMB relates to each other? Are they synonyms, or components of a protocol stack? Answers with proof links are welcome. Asked by yarek They’re pretty much the same. According to Wikipedia, they are the same. According to Microsoft, CIFS is a dialect of SMB. Answered by T. Fabre Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about [...]

Continue Reading »
Pages:1234567»