Tag Info

Hot answers tagged

13

SAMBA was originally SMB Server - but the name had to be changed due to SMB Server being an actual product. SMB was the predecessor to CIFS. SMB "server message block" and CIFS "common internet file system" are protocols. Samba implements CIFS network protocol. This is what allows Samba to communicate with (newer) MS Windows systems. Typically you will see ...


11

Does this help? man mkfs.ext3 -m reserved-blocks-percentage Specify the percentage of the filesystem blocks reserved for the super-user. This avoids fragmentation, and allows root-owned daemons, such as syslogd(8), to continue to function correctly after non-privileged processes are prevented from writing to the filesystem. The default ...


10

You should try rsync instead of cp: rsync -avz linux_path /mnt/windows_share/ and crontab instead of the perl loop: crontab -e and add the following line to it: * * * * * rsync -avz linux_path /mnt/windows_share/ It's going to be executed every minute, and if that's an option in your case, it's more robust than the while loop.


9

After seeing the dmseg and Googling, the problem is solved: one has to add -sec=ntlm option. The problem (feature?) is introduced in recent kernels (I use 3.8.4). I just didn't realize, that the problem is kernel-related. So the correct way of mounting is: sudo mount -t cifs //netgear.local/public /media/mountY -o ...


8

It's nothing to do with smbfs, cp always requires the -r (recursive) flag to copy a directory. You should get the same if you try to cp .vim /tmp/: $ cp .vim /tmp/ cp: omitting directory `.vim' zsh: exit 1 cp .vim /tmp/ $ cp -r .vim /tmp/ $


8

While technically using Samba, Nautilus uses gvfs, which uses FUSE to mount the SMB share using libsmbclient, you aren't actually mounting the filesystem as you would with the mount command. When you use Nautilus with SMB mounts, a background process gvfsd-smb is started. You can access the mountpoint in ~/.gvfs/, where there's a directory in there with a ...


8

I'm not familiar with a GUI to accomplish this but the steps to do this manually from a terminal aren't too bad. You just need to do the following: Install Samba & required packages sudo apt-get install smbfs samba Edit the conf file /etc/samba/smb.conf Make sure you have the following line in this file and that it's uncommented. It might be set to ...


8

You can use the touch command along with the -r switch to apply another file's attributes to a file. NOTE: There is no such thing as creation date in Unix, there are only access, modify, and change. See this U&L Q&A titled: get age of given file for further details. $ touch -r goldenfile newfile Example For example purposes here's a goldenfile ...


7

What you're looking for is AutoFS. Install the RPM, then make sure that it's running at start(RH/etc: chkconfig autofs on). Edit the file /etc/auto.master and add the following line: /media/ /etc/auto.media. If I were you, I would change "media" in both places to be the name of your root-level directory. Then edit the file /etc/auto.media and add ...


7

Try nmblookup <wins-hostname>.


7

If your hardware is from a big vendor, say HP, Dell and so, they might have specific tools for what you're looking. I use to work with HP and they already have tools for reporting bad hardware. If that's not the case, then it'll be trickier (based on my experience), you already started well testing memory as it uses to be a usual failing point. Now if you ...


7

//megaboxy/inetpub /mnt/megabo cifs username=admin, password=passwd 0 0 ^ this is a problem You can't put spaces between the options. Remove that and that error should go avay.


7

Each mount point is actually a folder that sits on a windows machine. If those folders are all on the same filesystem, df will be reporting that same filesystem's stats for each mount because that's what windows (and I expect any network filesystem) will report.


7

It depends on some aspects of the protocols and implementations. NetBIOS/NetBEUI is not routable at all and it works sending broadcasts. Workgroups, domain joining, browsing, hostname update and other features of the SMB suite will be restricted to your network due those limitations. It shall work in a local network environment but not over TCP/IP. However, ...


6

The "source port" means the port the remote machine sent the packet to your server from. Rarely, if ever, are client-to-server packets sent from the same remote port that they arrive on. This is due to the restriction in most OSes that dictate that normal users cannot open ports below a certain limit (in Linux it's any port below 1024). Hence, the source ...


6

From the command line you can use the smbtree tool: $ smbtree Password: WORKGROUP \\WOLEVER wolever \\WOLEVER\IPC$ IPC Service (wolever) \\WOLEVER\Downloads Downloads \\MACBOOK-D397E8 Some MacBook \\MACBOOK-D397E8\IPC$ IPC Service (Some MacBook) ...


6

If your question is meant as "what is the difference between the smbfs and cifs file system type of the mount command on Linux?" then I have an answer for you. The file system smbfs is an older FS, originating form the Samba project, that was heavily coupled with the Samba tools (smb.conf, smbmount, etc.). This file system has been deprecated though not yet ...


6

The elegant way would be using richacls. But that is not an official part of the kernel yet and thus may be difficult to use for you. An easy workaround would be to use the samba parameters directory mask and force directory security mode to render newly created directories useless (inaccessible) to the users so that they learn not to create directories. ...


5

You have to configure CUPS. Open the CUPS web interface at https://localhost:631 and click on "Add Printer" (don't be scared if it takes a while, it's scanning the network for network printers). If it does not automatically list your printer you can choose "Windows Printer via SAMBA". As URL enter: smb://[workgroup/]server[:port]/printer (workgroup and ...


5

Greetings, I've tried putting this into configuration to fix symlinks for windows for my setup , but I am not sure if it will affect windows client, otherwise it follows symlinks when I connect to this box. [global] unix extensions = no


5

For OS X look for your share name under /Volumes (it may have a "-digit" at the end if you have many mounts with the same name). The same goes for mounted CD/DVDs and disk images.


5

An easy way is to mount the share using SAMBA. After installing samba you can mount the share as follow: mount -t cifs -o username=user,password=secret //server.com/share /mount/point There is a guide for openSUSE that appears via Google. See man mount.cifs for more options.


5

I guess that you have users that each time they start an application, this application keeps track of who started it by writing some information in a file located in the samba share accessible by all workstations. Since you're referring to "Access Log", I also guess that you only need to append to the file and not modify its contents. If the file is on an ...


5

The print server running CUPS is the only machine that needs to have the drivers. Read about CUPS on Wikipedia for example - in Overview section it states this quite clearly : CUPS allows printer manufacturers and printer-driver developers to more easily create drivers that work natively on the print server. Processing occurs on the server, allowing for ...


5

An SSH server with SFTP service (which comes standard in most SSHD installs), it's also a platform independent solution. The setup is easy: sudo apt-get install ssh should fill in any of the server-side gaps you'd need. On your router, you'd want to map port 22 to the hosting machine, or you could reconfigure SSHD to listen on a different or additional ...


5

Problem In the client sudo mount -t cifs -o uid=user,gid=user,username=user,password=password //192.168.0.100/shared /mnt/smb mount: Cannot allocate memory smbclient -L pc -U user%password protocol negotiation failed: NT_STATUS_INSUFFICIENT_RESOURCES dmesg | tail … [49474.230547] CIFS VFS: cifs_mount failed w/return code = -12 Solution Restarting ...


5

This depends on which desktop environment you are using. In GNOME, KDE, Unity and Xfce the default keyboard shortcut for the run prompt is Alt + F2. As jofel pointed out, xdg-open is a desktop-independent tool for opening a file or URL in a preferred application. Inside a desktop environment, xdg-open simply passes the arguments to a desktop environment ...


4

It sounds like you downloaded the Samba source, and that's not what you want right now. Use yum install samba. That will find the correct RPM for your machine on a RedHat (or other trusted) server, download it, and install it for you. If yum gives you a message about not having permissions, use sudo yum install samba. If that says sudo: command not ...


4

Have you verified that the backups are being created with all the correct contents? There are several reasons you could be seeing the errors. You maybe seeing purely informational errors related to file attribute setting at creation time (during the tar and mv commands). the NTFS or FAT filesystem underlying the CIFS mount may not actually support some ...


4

Ok I've found the solution : mount the directory using cifs rather than smbfs, and it works ! I added the following line to fstab : //windows-computer/share /home/jj/smbShare cifs username=jj,password=***,perm,iocharset=utf8,uid=jj,gid=users,nounix,noserverino 0 0 To avoid putting your Windows password in the fstab file, you may use a credential ...



Only top voted, non community-wiki answers of a minimum length are eligible