samba is an re-implementation of the smb network sharing protocols, which are used in Windows for file and printer sharing.

learn more… | top users | synonyms

41
votes
1answer
76k views

List Samba users?

So yesterday evening I was pulling my hair out (figuratively -- I'm bald) for over an hour trying to figure out why smbpasswd kept rejecting my attempts to reset the password for one of my Samba ...
20
votes
4answers
85k views

Windows 7, connecting to Samba shares

How can I connect to a Samba share with authentication using Windows 7? We have a bunch of Linux, HP-UX and AIX servers on our network with folders shared using Samba. These are not connected to our ...
20
votes
3answers
28k views

How do I change my windows domain password from Mac OS X?

Macs work well in Windows corporate environments, but a lot of companies require you to change your password after a period of time (3 months for example). How do you change your Windows domain ...
13
votes
3answers
12k views

Ubuntu + latest samba version, symlinks no longer work on share mounted in windows

I just apt-getted (apt-got?) the latest software for my Ubuntu 9.10 linux box, and I noticed that samba was the included in the update. After the install, the symlinks in my home directory no longer ...
11
votes
6answers
15k views

Samba vs. NFS: Performance

I've got a choice of setting up Samba or NFS on my Linux based NAS ( nslu2 running OpenDebian ). Does anyone have performance related stories comparing the two options ? Are there tuneup tricks ...
11
votes
2answers
17k views

How can I connect a Windows 8 PC to a Samba domain

I am using Samba 3, and want to join my Windows 8 PC to the Samba domain. Windows 8 cannot join out of the box, so I added the following registry entries: ...
9
votes
1answer
710 views

Debian - allow user to be root only for specific commands

We have several Linux boxes running Samba that are used 'locally', eg each branch gets their own Samba box to store and share files. The office managers need to be able to add and remove users for ...
9
votes
3answers
12k views

How to make Windows 7 remember credentials for a Samba network drive?

I have a Samba share on my Ubuntu server which I map as a network drive on my Windows 7 Professional computer. After every reboot it shows the drive as disconnected and to access it I have to renter ...
8
votes
5answers
17k views

Samba+Windows: Allow multiple connections by different users?

I have a machine running Ubuntu with Samba that I use to share stuff with my family's Windows machines in our local network. Currently they access a share for movies/music/etc with one user. I want ...
8
votes
3answers
9k views

How do I access a git repository on a samba share?

I have a Samba share set up that I'd like to put a git repository on. I've tried searching google for the best way to use git on a Samba share, but it seems difficult to find anything on doing this ...
8
votes
2answers
6k views

Set proper rights for sshfs mountpoint so it can be shared with samba

I have a domain hoster that provides access via SSH. My platforms are: Gentoo 2.6.36-r5 Windows (XP/Vista/7) I work on my Windows, I use Gentoo to do all the magic Windows can't do. Therefore I ...
8
votes
1answer
10k views

Disconnect from samba share

Sometimes during the same Windows (Vista) session i have to connect to the same (samba) file server in a workgroup (no domain) as another user. It seems Windows has cached the current connection with ...
8
votes
1answer
487 views

Drobo-FS config files exhibiting input/ouput error

I have a Drobo-FS with DropBear installed via DroboApps which allows me SSH access into the linux operating system which powers the Drobo-FS. The Drobo-FS file system has a directory which looks like ...
7
votes
7answers
8k views

How do I get back the default Samba configuration file (Debian-based system)?

I recently installed Samba and I messed up the /etc/samba/smb.conf file. How do I get the original configuration back?
7
votes
2answers
4k views

Windows 7 “Could not reconnect all network drives” on boot

Windows 7 won't reconnect to my network drives on startup. Once it is done booting opening Windows Explorer and clicking each share will mount them. Windows 7 Enterprise N Service Pack 1 I have ...
6
votes
1answer
10k views

Using Samba to share a folder from a Linux guest with a Windows host in VirtualBox

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox. I read in these two links: here and here that it's possible to do this ...
6
votes
1answer
15k views

How do I completely remove and reinstall Samba on Debian?

My Samba installation has become a mess, and now the services won't even start correctly anymore, for some reason. Is there a way to completely remove Samba, as if it was never there, and then ...
6
votes
2answers
8k views

How to open file and printer shares to the internet?

i tried to make file and printer sharing open to the internet on NT3.51 in 1998, but it just refused to actually ever work. Are are the IP ports and protocols that must be port-forwarded to make file ...
6
votes
1answer
5k views

Error mounting samba share, cannot mount block device xxxx read-only

After installing Ubuntu 12.04, I'm trying to mount a samba share from Windows under Linux, using a scripted command that's always worked, and the server hasn't changed. The error is as follows: $ ...
6
votes
6answers
3k views

Best method of transferring files over internet? [closed]

I have a small server(running Ubuntu 9.10) at my (parent's) house and will be leaving it there once I go to college this fall. Currently I'm using samba to transfer files between computers, but I was ...
6
votes
1answer
2k views

Windows 7 - Samba Shares - multiple credentials

My home setup has a Linux server which serves several shares, each with a different user & password. I.e.: public, user1, user2 I can connect to my shares individually via \\server\public with ...
6
votes
2answers
468 views

Why does Windows Media Center make http requests for watched folders on a network drive?

I have a Linux server on my home LAN that has a filesystem shared via Samba (/export), where I store some older recorded TV (under /export/Recorded\ TV). The system is also a web server, running a ...
5
votes
2answers
5k views

Mac OS X automatic network disk mount after boot or login

Every day I need to connect/mount an externel drive from a linux samba machine. How can I setup Mac OS X (10.5.8 on a G5) to let him do this automatically after login or boot?
5
votes
2answers
8k views

mount cifs through fstab non readable/writable

I have FreeNAS server and domain-controller with Windows Server 2008. I use OpenSuse 11.4 and my Windows account have full access to FreeNAS CIFS share. I can connect through any filemanager with smb ...
5
votes
2answers
4k views

Add custom network device icons in Mac OS X Finder?

Mac OS X Finder is smug enough to display any non-Mac device as a picture of a PC with a BSOD, but I'm wondering if it's possible to add other devices, so my Ubuntu machine is detected and has a ...
5
votes
1answer
2k views

Moving files on samba-connected NAS

This might be a stupid question, but when I move files around on my NAS-box (freeNAS), does the data go via my Windows PC? How about when I copy? I have always been afraid to cleanup on my NAS-box ...
5
votes
2answers
8k views

How can I use quotas in samba?

I have a simple set-up with just one public share on my configuration file. How can I restrict its size?
5
votes
2answers
949 views

Check who is accessing my shared folders in Linux?

Is there any utility that shows, who is accessing( has accessed ) my shared folders. I am using samba to share folders with other windows machines.
5
votes
4answers
9k views

Sharing an external hard drive in Ubuntu using Samba

/media/MYDISK is where my hard drive is mounted automatically. I created a symlink using: ln -s /media/MYDISK /home/camilo/MYDISK chmod 777 /home/camilo/MYDISK I'm setting up smb.conf like this: ...
5
votes
2answers
2k views

OS X keeps “losing” my Linux Samba shares

I have a Linux server (Ubuntu 8.10) and a Macbook (10.5.7). The Linux server has some Samba shares which I mount on the Macbook. They are set to mount on boot using the "Open Applications at Startup" ...
5
votes
1answer
5k views

Can't get Raspbmc to browse samba shared folders

I can't get Raspbmc to browse my shared folders on my Windows 7 computer that is in the same network. When trying to add a networklocation, I get 'connection timed out' Things I have tried: I ...
4
votes
2answers
27k views

Mount a SAMBA share and create symbolic link

I develop web-apps using ubuntu (jaunty) but have a need to work on a site that must be hosted on windows. I've setup virtualbox with a winxp32 installation and shared the entire hard disk. My goal is ...
4
votes
2answers
6k views

which Linux command allows to browse all available smb shares in the network?

I want to browse all available smb shares in the network, like clicking the "network" in nautilus then all shares are shown, using command line the closest one I got is smbclient -L SRVNAME, which ...
4
votes
3answers
9k views

iPhone app to play music from samba share

I have a samba server I use as a media center and I was wondering if there was an iPhone app to play music from it over wifi. It can be free or $$.
4
votes
3answers
3k views

How can I automatically mount a network drive in Snow Leopard?

I would like to automatically mount a certain SMB share whenever I log into my account on Snow Leopard. Way back in the Old Days on Mac Classic, all I had to do was Get Info on the drive in question ...
4
votes
1answer
3k views

Files/Folders get weird names and become inaccessible on Samba share

Here is our current setup: Mac OS X 10.5.8 File server using Mac OS Extended (Journaled) file system. There is a share that is shared over AFP (For Mac desktops) and Samba for (Windows desktops). ...
4
votes
3answers
1k views

VMWare Virtual Machines with shared file system resources

I need to share some folders between two different VMWare virtual machines, one running Linux and one running Windows 7. How I can do that in simple way?
4
votes
1answer
5k views

samba sync password with unix password on debian wheezy

I installed samba on my server and I am trying to write a script to spare me the two steps to add user, e.g.: adduser username smbpasswd -a username My smb.conf states: # This boolean parameter ...
4
votes
1answer
6k views

Mount a SMB share's subfolder as a drive in OS X Lion

In Snow Leopard I was able to mount a subfolder of a Samba share directly using a path like the following in the "Connect to Server" Finder dialog: smb://someserver/someshare/where/i/really/want/togo ...
4
votes
1answer
405 views

How to interpret output of nmblookup -A

The command nmblookup -A IP_address returns, according to the man page, a node status query on this address. A typical output is: Looking up status of 192.168.253.101 HPB4B52F0559C2 ...
4
votes
2answers
1k views

Windows 7 can't find Ubuntu computer by hostname

I got a new Windows 7 machine, and was using VNC, SSH etc to connect to my Ubuntu machine, and it worked fine previously connecting to the Ubuntu computer's hostname. Now it doesn't work if I use the ...
4
votes
2answers
739 views

Browser link to Windows share in Ubuntu and OS X

In Windows, I am able to create a bookmark in any browser to a file on a network share, like so: file://network/path/to/file/example.htm This works well in Windows because it avoids needing a ...
4
votes
3answers
2k views

Windows 7 fails to connect connect to samba

I have a local workgroup network. It has one ubuntu 10 LTS machine, two XP boxes and a Windows 7. I everything works great eccept for the Widnows 7 box. I can see it and access it from the other ...
4
votes
3answers
425 views

What are some options for connecting one Linux host's filesystem to the other?

I have two Linux hosts (both running Ubuntu 10.04) and I want one of them to have access to part of the filesystem of the other. I.e. I want remote1 to be able to access the files of ...
4
votes
3answers
2k views

How to keep group-writeable shares on Samba with OSX clients?

I have a FreeNAS server on a network with OSX and Windows clients. When the OSX clients interact with SMB/CIFS shares on the server, they are causing permission problems for all other clients. ...
4
votes
1answer
4k views

Install MC with SMB support

how to install MC (Midnight Commander) with Samba support (smb:// link like ftp). Im unable to install it thou apt-get. Ive got just mc version without smb. And install from sources failed. I try to ...
4
votes
2answers
1k views

Create an alias to a samba share from the command line

I'm currently wanting to deploy a setup to around 300 Macs. I have all of it scripted and ready to deploy, excepting that I'm having trouble creating a working alias to a samba share from the command ...
4
votes
2answers
569 views

Proper Way To Organize File Server

I am setting up a file server using Ubuntu and want to make sure I set up a folder structure that will last. Where should I be placing everything that I am sharing (Music, Pictures, Videos, etc)? In ...
4
votes
2answers
2k views

How can I enable anonymous access to a Samba share under ADS security mode?

I'm trying to enable anonymous access to a single service in my Samba config. Authorized user access is working perfectly, but when I attempt a no-password connection, I get this message: Anonymous ...
4
votes
1answer
957 views

How to mount remote samba share from local host with multiple groups?

I am using mount.cifs to mount a remote samba share (both client and server are Ubuntu server 8.04) like this: mount.cifs //sambaserver/samba /mountpath -o ...