A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services.

learn more… | top users | synonyms

1
vote
2answers
6k views

How do I install Samba on Red Hat Linux?

I have just downloaded the samba-3.6.1.tar.gz file from the Samba website and want to install Samba on my RedHat Linux machine, I have extracted the contents of the samba-3.6.1.tar.gz folder but ...
1
vote
0answers
185 views

Getting Samba on suse to work with NTFS drives [closed]

For a server with samba. I've just added (to the server, just shoved it in) an ntfs drive with some stuff and I want to access it through win7 (home edition). After a small struggle I've managed to ...
0
votes
2answers
330 views

Why Samba needs the VFS module?

I came across this picture when learning samba. I am confused with the VFS module in this image. Why we need this VFS module in samba server instead of passing directly the intend system call to ...
3
votes
3answers
1k views

How to get list of computers similar to what is shown under “Network” in Windows

In Windows 7 when I click on Network I get a list of computers with the same workgroup of mine. But in Fedora when I click on Network I just get a single item Windows Network and I can't see the ...
4
votes
2answers
1k views

Do CUPS clients need to have drivers installed locally?

If I use CUPS, should clients have drivers installed locally? Example: say we have 1 Networked PC with Linux, 1 Print Server (or CUPS, Samba Print server) If the Linux PC wants to print a document ...
2
votes
4answers
1k views

SAMBA Share - Keep user from deleting a file

I'm creating a hidden "Access Log" .txt file of employees accessing a program I've created and need to know how to make it so this file cannot be deleted. Reason being, this program helps to automate ...
1
vote
0answers
572 views

Hidden directory in samba share

I'm using freenas and have a samba share that I'm accessing from a windows machine. When I browse to the share I can view all directories except one ("ProblemDirectory" below). I can navigate to this ...
3
votes
1answer
3k views

smbpasswd failed for new Samba install on fresh Ubuntu 11.04

I've installed Samba on a fresh Ubuntu install. I run the command sudo smbpasswd -a someuser New SMB password: Retype new SMB password: Failed to add entry for user someuser. I've read that you ...
2
votes
1answer
2k views

Why does iptables still block my samba?

I'm currently fighting with iptables and samba. I read that samba needs ports 137-139 and 445 open on both tcp and udp. Here is the relevant part of my iptables config ... # forward valid incoming ...
5
votes
1answer
738 views

Allow su without password for users in a particular Active Directory group when using pam_winbind

I know on my Gentoo system, the /etc/pam.d/su file comes with the following commented out: auth sufficient pam_wheel.so use_uid trust Which allows a user to su to root without a password as ...
2
votes
0answers
702 views

Automounting not working correctly for CIFS shares; weird results

I followed the guide on this page to get samba shares working via autofs: http://www.howtoforge.com/accessing_windows_or_samba_shares_using_autofs Servers and Configuration My Samba server (remote) ...
1
vote
1answer
626 views

Do special characters in paths pose a problem when mounting network shares?

I am trying to create a permanant access point to a windows share from a CentOS 5.5 machine. I edited the /etc/fstab file to have the following entry: //travellot/ArcGIS Setup's/9.3.1 ...
3
votes
1answer
659 views

Auto mount cd or dvd on CLI based ubuntu server

I am using Ubuntu server as a samba server. The solution I am looking for is whenever the disks are inserted (cd or dvd) they should get auto-mounted to /cdrom directory. Are there any tools for ...
2
votes
1answer
1k views

How to change user on SWAT page (or how to control Samba by nonprivileged user)

I logged into SWAT with my nonprivileged user, since the root account is usually disabled on modern Linux systems. I cannot control any Samba parameters by this user. Once I enable the root account, ...
1
vote
0answers
835 views

Access Share Files on Ubuntu with Win7: error “Path cannot be found”

Yesterday I added a share folder via system-config-samba. I created a new samba user for my Windows 7 64 bit machine. At first it worked fine, the next day, I cannot access from Windows 7. I click ...
1
vote
1answer
1k views

reading cifs share fails with permission denied - cifs samba directory permission denied

I'm trying to setup a samba server to share data among clients via cifs. As a test, I mounted the samba share on the same machine and tried to access the contents of the directory. The mount command ...
1
vote
1answer
468 views

How to access shared locations on a windows machine from a linux machine via terminal?

I’ve setup a Virtual CentOS machine and set up a bridged network and static IP so that it can communicate with other Windows machines in the network. Currently, to access any shared directory, I ...
1
vote
0answers
361 views

W2K3 DC: Samba file sharing access permission problem

I want to access SAMBA shares from a Windows Server 2003 domain controller without a password. But, I am receiving a permission error each time. I'm using RedHat 5.5. # ls -l total 96 -rw------- 1 ...
0
votes
2answers
765 views

Changing owner of NAS drive

I have setup a Freenas system that I would like to mount on my Ubuntu Desktop. Freenas is configured with cifs service. When I open the freenas server in nautilus smb://freenas/homenas/ I can create ...
1
vote
1answer
380 views

Excessive Samba messages in logs, how to mediate?

Samba is constantly spewing messages into the logs that are of no use. How can I mitigate these messages so that log reporting softwere (logcheck) does not have to report them. The cause of the ...
1
vote
0answers
223 views

Printing to a SAMBA-share HP: Multiple copies appear

I have a Windows machine (W7.Ultimate) with a shared HP LaserJet CP1215. I have set this up via SAMBA as a shared printer on my laptop, running Fedora Core 15, using Foomatic/foo2hp. My problem ...
-1
votes
1answer
437 views

File sharing solutions for LAN network?

If I want to share my Films/Videos on LAN, what should I choose? My solution would be Samba. Q: what else is there? ( NFS is very bad - security (?) + in many cases it could freeze the clients.. ) ...
0
votes
2answers
65 views

Where can I find a list and documentation for samba share definitions?

I'm looking for a reference for what goes under the share name... I feel like there are about 6 dozen different options but I can't find a good reference anywhere... someone help me out? [myshare] ...
1
vote
2answers
164 views

Setting up Samba to use AD server for authentication?

I am looking for howtos or instructions on setting up Samba to use an AD server for authentication instead of using a Samba password file. Pointers to documentation helpful, especially the right ...
2
votes
1answer
1k views

mount.cifs is slow

Using mount.cifs on openSUSE 11.3, I'm getting very slow performance on a gigabit network, usually around 4-5MB/s. The following mount command has yielded me the best performance so far: mount.cifs ...
4
votes
1answer
405 views

Why is my CIFS share showing the same files multiple times?

I asked this on ServerFault but received no response, so I figured I'd give it a try over here instead! I have a Debian backup server running the FreeBSD kernel and a ZFS filesystem on which I store ...
2
votes
2answers
3k views

Samba reporting not enough free space

After having some problems with my NAS, I switched to Debian/Lenny. I've managed to install and configure most of the software I need, but I've hit a brick wall with Samba. I can access the shares ...
5
votes
2answers
867 views

Copy from linux to windows every minute

I currently quickly setup a way to copy files from my linux machine to a windows share that multiple people can access, but I'm looking for a better way. In Windows 7, I made a folder accessible to ...
5
votes
3answers
4k views

How to cd to a Windows file share?

At work, I spend a lot of time manipulating files on a networked computer that's running SME Server (but that's set up for Windows filesharing, if that somehow makes a difference). I have been ...
2
votes
1answer
906 views

Windows Domain Server on FreeBSD

Is it possible (and if it is, could you point me in the proper direction) to set up a Windows Domain server (active directory and all that stuff) on a FreeBSD machine? I do understand that I need to ...
4
votes
1answer
222 views

How can I find out what my domain is for connecting with samba?

I am attempting to mount a password protected network share from a NAS unit that works by appearing as a windows share. On Windows, I just Map Network Drive, and enter in \\x.x.x.x\ShareName, then ...
3
votes
1answer
1k views

How can I log samba events?

How can I log samba events? I have samba-shared directories and I want to know what exactly someone have download from it. Actually, I can watch iftop to figured out WHO have downloaded, but not ...
3
votes
1answer
2k views

unable to mount smb share in fedora 14 through nautilus connect to server

I'm unable to mount smb share on my university network. Trying through the nautilus connect to server dialog just brings the password dialog up repeatedly. I'm able to mount the share using mount.cifs ...
3
votes
1answer
657 views

Change default for Nautilus (file_manager) from “Forget password immediately”?

When opening a tab which needs to mount a Samba share, Nautilus 2.30.1 displays a window: Password required for share xxx on localhost Password: [ ] (*) Forget password immediately ( ) ...
4
votes
5answers
4k views

What sudoer spec allows users to mount cifs shares?

I'm trying create a line in /etc/sudoers that allows members of group "users" to mount cifs shares anywhere inside their own home directory. In my first attempt I tried: %users ALL=/bin/mount -t cifs ...
5
votes
1answer
6k views

Make samba follow symlink outside share

This is ubuntu server 10.04 64 and samba 3.4.7 I have a shared directory /home/mit/share and another one /home/temp that I link into the shared one: ln -s /home/temp /home/mit/share/temp But on ...
3
votes
1answer
5k views

Mount samba filesystem into RHEL 5.5

I have a trial RHEL version for a proof of concept where I was asked to mount a windows filesystem into linux. I tried mount -t smbfs -o username=samba,password=samba //Desktop/Public /mnt/public ...
3
votes
1answer
1k views

From Ubuntu 10.10, how do you connect to a Windows 7 share without a password setup?

I have: Ubuntu 10.10 Windows 7 in virtual box (let's call this vbox) Then another Windows 7 machine (let's call this remote) in the network When I'm on vbox and browse (\ip.of.remote) I'm able to ...
3
votes
1answer
875 views

How can I enforce quotas on roaming user profiles using samba?

I am using a custom configuration of webmin from www.turnkeylinux.org to run a domain controller (basically Ubuntu Server 8.04/Hardy with Samba installed from the repositories). I've set things up so ...
0
votes
1answer
535 views

Why can I not copy a direcotry from *nix to a mounted smbfs share on Windows 7?

I've mounted a Windows 7 directory on my FreeBSD box via smbfs: mount ... //ROOT@BARYONYX/GVKV on /usr/home/gvkv/win (smbfs) but for some reason when I try to copy a directory: cp .vim /win I ...
3
votes
1answer
1k views

Connect Windows printer to Linux machine via samba

How can I connect my Windows printer to a Linux (RHEL5) box via samba? I'm looking for a clear configuration file
1
vote
1answer
312 views

samba does not work when offline

I have recently set up a virtual machine and I want to share files between the host and the guest. Samba seems to be a perfect solution, and indeed it does all that I expect it to. However, if the ...
3
votes
3answers
385 views

File sharing with Windows

I have a small home network consisting of two computers. One is running Windows 7 and the other Ubuntu 10.04. Neither computer is permanently on. I am trying to set up file sharing between the two. ...
10
votes
1answer
819 views

Permission bits not being enforced on samba share

I have a problem where permission bits are not being enforced on a samba share using a Linux client. I have samba configured on the server to force a certain user, group and permission bits and this ...
2
votes
1answer
175 views

Which steps I have to follow to configure Ubuntu server with Mac and Windows workstations?

I've recently installed Ubuntu Server 10.04. I already have configured the basics and now I want to associate Windows and Mac OSX machines with the users created on Ubuntu so that when I login in one ...
5
votes
1answer
1k views

Automatically mount network drive when available

I have a NAT drive, that is accessible via SMB. I have an entry in fstab to mount it at boot. But if the drive is not switched on it is not mounted during boot and I have to manually mount later. (The ...
3
votes
1answer
1k views

Default username for Samba share that is not the user name on the client system

When mounting a Samba share the user name is defaulting to the user name from the client machine rather than the "User Name" field from the earlier "Connect to Server" dialogue. Accessing a Samba ...