Samba is the standard Windows interoperability suite of programs for Ubuntu and is also the default file server for Ubuntu.

learn more… | top users | synonyms

12
votes
3answers
34k views

How do I access a mounted Windows share from the command line?

I use Places > Connect to Server... to connect to a Windows share in my work environment (requires Kerberos authentication). When I do so, I can access the Windows share via Nautilus, but I can't ...
3
votes
4answers
1k views

How can I run samba?

I have server running Ubuntu 10.10. Never used samba before, as I never had windows machines, but now I need it. So I did: apt-get install samba smbfs smbclient. Packages are installed, but I have ...
2
votes
2answers
7k views

How can I use smbclient to connect to Windows shares by hostname when a firewall is enabled?

I can't connect to file shares on Windows computers using smbclient -L //hostname when the firewall is enabled. This occurs whether I'm using ufw (which allows outgoing traffic and replies back in ...
2
votes
7answers
3k views

How do I open up firewall while keeping it safe?

Since I've installed Firestarter I have encountered connectivity issues that are all resolved by disabling the firewall. I'd prefer to have the firewall running and allow all the traffic I normally ...
1
vote
1answer
1k views

Nautilus file share for multiple users is not working. Only owner gets access

I have always had trouble setting up samba shares with ubuntu. In the past I've tried getting it to work by configuring /etc/samba/smb.conf but never achieved what I wanted. Last time I managed to get ...
2
votes
1answer
1k views

How to make gvfs-smb always use UTF8

The problem is that if I make an entry in /etc/fstab to mount a samba share I can give the option iocharset=utf8 and this then mounts the share correctly and in the right encoding with special ...
4
votes
3answers
454 views

Why Gnome/Ubuntu use SAMBA as default sharing service?

and not NFS? click on a folder and select proprieties, tab "share".
3
votes
2answers
7k views

How to create a shared folder using command line on a server

After following the tutorial here I ran into a problem. Here is what I did. On my server I installed nfs-kernel-server and edited the /etc/exports file to include the folder I want to share: ...
3
votes
1answer
7k views

Sharing samba-folder with root access

I have a staging server in my network running Ubuntu server 10.10, being my main development area. As I need to access the files in the Apache root from other computers in the network, I have setup ...
4
votes
1answer
5k views

Sharing a mounted Truecrypt volume via Samba

Been banging my head against the wall on this one for a while. I have an encrypted (via truecrypt) partition on a drive. In windows, I mount it locally and share it on my local network. I'm trying to ...
3
votes
4answers
8k views

How do I install Samba 4?

Does anyone have a good installation manual to install samba 4 on ubuntu 10.10. I found a lot of articles to install samba 4 but all are different and most will not work with my ubuntu version. So ...
5
votes
1answer
1k views

How to move multiple files over network from terminal

I am using this command gvfs-move file smb://server/directory/file to move files over a samba share I would like to transfer multiple files by piping the results of a gvfs-ls to the same command ...
1
vote
1answer
1k views

How to disable samba shared folder password prompt

I have shared a samba folder on ubuntu desktop. Is there a way to disable ubuntu shared folder password prompt when accessed from windows?.
1
vote
1answer
1k views

How to move files over samba share with gnomevfs cli

Ok I am in the process of backing up my film collection to a NAS and I wanted to automate this as much as possible as I have to work at the same time. I am trying to setup a daily dump of ISO's ready ...
5
votes
1answer
6k views

How can I increase the maximum number of simultaneous users to log in to a server?

I use ubuntu server 10.04 on a fairly good machine, with 2.40 dual-core processor and 2GB RAM. My users login with ssh or samba. I have setup LDAP with PAM to sync user accounts between unix and ...
1
vote
3answers
631 views

Trying to configure samba share with office server

i'm trying to set up fstab to automatically connect to my office shared server. I'm undoubtedly doing something silly here as the username and password and server name work fine in the first code ...
2
votes
4answers
1k views

How can I stop Ubuntu from automatically unmounting Samba shares?

I have some music files I'd like to listen to sitting on a Samba share. I added this share via the Ubuntu GUI (Places -> Connect to server...), and everything worked just fine. However, despite the ...
11
votes
3answers
26k views

How do I mount Samba share as non-root user

Is there a step-by-step tutorial that instructs in detailed step-by-step how to smbmount a Samba share to be used by a non-root user on a Ubuntu 10.04 desktop? Note: there are numerous threads on ...
0
votes
1answer
736 views

Nautilus bookmarks and smb shares work with non-root user

I'm having a problem with Nautilus in Ubuntu 10.10 When I open Nautilus as common user, it shows bookmarks and the bookmarks that point to smb windows shares work fine. However, if I start Nautilus ...
0
votes
1answer
983 views

How to test samba/afp configuration remote server?

I am using Ubuntu as desktop and server OS. When I am logged in to the server via SSH on the terminal to change the smb/afp configuration, I can only test the configuration from the server over ...
7
votes
2answers
1k views

Samba fails to install

I am running XBMC, which is built around Ubuntu 10.04. It does not come with samba pre-installed, and I need to share some media with a couple other boxes. I followed the Think Geek directions found ...
5
votes
1answer
423 views

How do I see all of the directories shared using Nautilus Sharing Options?

When you share a directory using samba, you can do this system-wide by editing the /etc/samba/smb.conf file (the advanced way) or by right-clicking a directory using Nautilus and selecting 'Sharing ...
3
votes
1answer
4k views

How do I list samba user accounts that need synchronizing?

From searching, I have found a lot of suggestions for synchronizing the unix account and the samba account using smbpasswd, but how do I tell which accounts need synchronizing, and which accounts are ...
0
votes
2answers
1k views

Ubuntu user credentials, file permissions

I am using Ubuntu 10.10 for web development by using the symfony framework. Normally I install Ubuntu Lamp (Turnkey edition), log in as root and configure all the necessary software in the server ...
3
votes
1answer
3k views

Where does the Samba workgroup come from when Samba is not running?

Using findsmb on my home network gives me this: IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION --------------------------------------------------------------------- 192.168.1.3 MINI ...
5
votes
1answer
1k views

How can I access Windows shares after changing DNS servers (e.g. switching to OpenDNS)?

I'm on Maverick trying to access shared folders hosted on Windows machines across a home network. Mysteriously I stopped being able to see them through Nautilus (I couldn't even open Windows network ...
3
votes
1answer
1k views

“Folder sharing” says “Share name is too long”… for what?

Most of the time when I share a folder from Ubuntu, the name field is made yellow and it says "Share name too long". But even if I keep this name, it works fine. So what is it too long for? What is ...
7
votes
3answers
4k views

Tips for debugging Samba performance?

Samba gives me 24 MB/s read and 44 MB/s write, while ftp gives 97 and 112 MB/s under the same circumstances. The documentation says that Generally, you should find that Samba performs ...
4
votes
1answer
11k views

How do I completely reset Samba to the shipped defaults?

Since no one can help me with sharing files from Samba, how can I reset it to the defaults and delete any residual configurations from previous releases? Then, presumably, the GUI sharing would work ...
2
votes
3answers
1k views

Eclipse won't let me select a Windows share as Workspace

Environment: Ubuntu 10.04 (64-bit), Eclipse Helios 3.6 (64-bit), Android 2.3 SDK + ADT. All works great, but I can only select a workspace that's on the local system. Eclipse won't let me select ...
16
votes
3answers
11k views

How to enable user sharing per instructions?

I have this entry in .xsession-errors log "Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory ...
1
vote
1answer
317 views

Hide .desktop files from shares in VirtualBox

I share my desktop with VirtualBox. It allows me to work on current files in a nice easy way. I have quite a few utility launchers on my desktop. It's only a dozen or so at peak time but it makes ...
3
votes
1answer
985 views

Fast file copier with Samba support?

I'm looking for a fast file manager for Ubuntu. I need to copy a lot of files to Windows machine via Samba. Nautilus is so slow, that when I click on the directory I need to copy the screen just dims ...
13
votes
10answers
76k views

Can't access Ubuntu's shared folders from Windows 7

In Ubuntu Maverick, I've shared some folders using the Nautilus "Sharing Options" GUI. I can see them from Windows 7, but when I try to access them (from Windows) it asks for a username and ...
7
votes
2answers
1k views

Is the copy speed from ext4 to NTFS the same as from NTFS to NTFS?

I've created a file sharing server with Ubuntu server and samba, the drive for sharing is on ext4, but all the users are on windows 7/XP Would the copy speed be faster if the drive would be on NTFS?
2
votes
1answer
2k views

Restrict access to specific folder on samba

I have network server on ubuntu server with Samba. I want to set a password to a specific folder. Does anybody know how to do this?
1
vote
3answers
3k views

smbmount returns “operation not permitted”

I use the smbfs tools package to mount my SMB shares. I wrote a quick script to mount the share: #!/bin/sh /usr/bin/smbmount "\\\\somehost.local\\hostshare" /media/hostshare -o ...
0
votes
1answer
987 views

Synchronising samba and unix user accounts

Is there an easy way to have a samba user automatically created whenever a unix user is created? Currently I'm using LDAP. But it is not that easy, and also very difficult to setup. I'm looking for a ...
3
votes
6answers
9k views

What made “smbd” stop running on boot-up?

Recently I was faced with a weird problem on my samba server (Ubuntu 10.04 LTS am64) when all shares were "suddenly" inaccessible to the clients. Tracking down the error revealed that smbd was not ...
15
votes
5answers
8k views

Share between Ubuntu machines

I'm sure it might be a very easy way to do this, but I haven't found how... I have two machines with Ubuntu 10.10 on the same network (just workgroup, no domain involved). On one of them I have shared ...
23
votes
5answers
47k views

How do I share a folder with another Linux machine on the same home network?

I'm trying to share a folder on one Ubuntu machine with another Ubuntu machine on the same home network. When I right click on the folder and choose Sharing Options, it tells me I need to install ...
0
votes
1answer
744 views

Ubuntu Samba Server Problems

I'm currently setting up a samba server on an old school computer for my photo class but I tried to setup samba and it didn't allow me to install the necessary things to get samba rioting. I was ...
7
votes
3answers
10k views

Simple way to consistently access a SMB mount?

Is there any simple GUI way to make an SMB share persistent? I don't quite remember the steps, but on Windows, once you've mapped a share to a drive, you're given the option to 'reconnect on boot' (or ...
10
votes
1answer
1k views

Why won't Samba let me delete a file

I'm not an expert at Linux--I'd say 6 on a scale of 1-10 I just set up Samba on my linux ubuntu server (no GUI, cli only). I created the smb account and connected from my mac and mounted my home ...
3
votes
3answers
756 views

Unable to browse Windows 7 Notebook from Ubuntu

I can see and connect to Ubuntu box from Windows 7 Laptop, but the Ubuntu box keeps telling me failed to retriever share list from server. The laptop shows up in the list of computers in the ...
6
votes
2answers
5k views

How do I blacklist certain directories in Samba?

I am exporting a directory via Samba to my home theater PC. Unfortunately XBMC is also displaying some working directories that I happen to be sharing inside that directory. I would like to find a ...
2
votes
3answers
2k views

How to setup a passwordless samba share on KDE?

I want to setup samba and have a folder share that is not protected by passwords, but open for anyone, read-only. what do i need to write on smb.conf?
0
votes
3answers
584 views

accesing windows 7 shares - numerous issues

The long and short of my problem is that i am unable to access the shared folder of a windows 7 machine on the same network. I click on the network icon in places, then i can see the Windows Network ...
3
votes
3answers
1k views

How to view Windows PC connected to LAN?

In my LAN, there are 4 PCS. My PC is Ubuntu, others are Windows XP SP2. To share files between us, I installed Samba. In the network places, i can see others PC as well as mine. But when i click on ...
3
votes
1answer
178 views

Getting access to network server

I logon to my server successfully and can transfer files off the server to my desktop. But I can't put any files back. I get a "permission denied" error. I know I have full access to the network ...