Questions tagged [samba]

Concerning the sharing of files between computers using the Samba protocol.

Filter by
Sorted by
Tagged with
75
votes
7answers
281k views

How can I mount an SMB share from the command line?

I would like to mount an SMB network share from the command line (terminal); how would I go about that? I am using Mac OS X 10.6.4.
18
votes
3answers
7k views

Mac mini can't connect to my corporate SMB server. Was working some days ago

I'm at work, and my Mac mini has stopped being able to connect to the corporate SMB server shared folders. If I try Finder > Connect to Server (using the URL stored there from previous successful ...
12
votes
2answers
36k views

finding the remote IP address used by a mounted SMB share

Using Finder, I have mounted an SMB share which resides on my NAS . When I use the mount command, the NAS is listed with the name it advertises (nas-smb). mbp:~ me$ mount /dev/disk0s2 on / (hfs, ...
10
votes
4answers
3k views

How can I backup my system to a remote server (AFP, Samba, or NFS share)?

Here's the goal: I have a backup server with a ZFS filesystem with built in compression and snapshots. All our machines backup there nightly with rsync, and then a ZFS snapshot is taken, so we have ...
8
votes
4answers
6k views

Dot-files and other meta data on non-Mac network shares

Is there a way to tell Finder to not use (or worry about) the ._* files and other meta-data files it normally tries to use when it's on a network share? Currently when I'm in Finder and I try to copy ...
6
votes
1answer
5k views

Mounting Samba shares under /Volumes without GUI fluff

I know I can mount Samba share using either mount or open command from the terminal shell. See this related question: How can I mount an SMB share from the command line?. I prefer using open because ...
6
votes
4answers
18k views

Why won't OS X Mountain Lion remember smb password on login?

After mounting an smb shared drive and putting in my username and password, OS X will ask me if I want to save password to keychain. I can say yes but it will not save it. The drive has also been ...
6
votes
1answer
3k views

Adding SMB share to sidebar in OSX Mountain Lion

Is there a way to add an SMB share to the sidebar in Finder, such that when I click on the alias, it mounts the share and opens it up like a regular folder? You can do this in Linux and Windows, and ...
6
votes
2answers
2k views

How can I get Snow Leopard to properly reconnect to my Windows network drives after it goes to sleep?

My mac goes to sleep. It wakes up. The volumes mounted to a Windows server in my house all work. I can see pictures and listen to music. Until I can't. After two or three sleep/wake cycles, I can't ...
6
votes
1answer
4k views

Samba issues (deadlocks and instability) in OSX 10.10.1?

I'm trying to narrow down the cause of a problem that I'm having with OSX 10.10.1 and wanted to see if anyone on here could help weigh in. I have a Linux-based Samba server running the latest version ...
5
votes
4answers
19k views

OS X Samba file sharing continuously asks for password

I'm trying to share my MacBook's files via Samba sharing. I've set it up in Settings, but can't connect to the machine from another computer! On the other computer I set up the connection with the ...
5
votes
2answers
7k views

How to disable ._ AppleDouble files for SMB?

I have a small problem. I don't want that our Macs here create the ._ files to the network drive. For example when you copy an image over the finder to the SMB storage. Is there a way to disable this ...
5
votes
1answer
7k views

Missing ntlm_auth when running app with Wine

I installed Wine using the .pkg from their website (installing the necessary dependencies like XQuartz beforehand). I was able to run the installer of the Windows app with no problem, but when I try ...
4
votes
3answers
67k views

How to access Windows share from an iPad?

I didn't find any iPad app that's supporting samba. What is the best way to access Windows shares from an iPad?
4
votes
1answer
4k views

Connect to Server as guest from command line

I have a SAMBA share I mount on my Mac from time to time. I do this in Finder with Go > Connect to Server..., typing smb://192.168.1.1 into the Server Address field and pressing Connect. On the ...
4
votes
1answer
843 views

How to add smbutil as a lookup mechanism for hostnames

There are a bunch of computers on my network that are not on the DNS server. They broadcast their name using Samba or are Windows Workgroup machines. When I run either ping or try to access them over ...
4
votes
2answers
6k views

Samba share on Mountain Lion freezes

I'm using a Mac Mini (Mid 2010) with Mountain Lion on (OS X 10.8 12A269 – not OS X Server) as a file server at my home network. The Mac is equipped with an external 2TB USB disk (Western Digital). ...
4
votes
3answers
2k views

I'm getting lots of Samba “too many open files” errors. How can I troubleshoot? [duplicate]

I'm using Mac OS X Snow Leapord. My iMac's hard drive has been getting unexpectedly full, and I finally tracked the problem down to a huge file: private/var/log/samba/log.smbd.old, weighing in at ...
4
votes
1answer
2k views

Mac OS binding to Samba PDC

Does anyone join a Mac OS to Samba PDC? My point is to build a single domain for different clients (win xp, win 7, mac os 10.6) with home folders and roaming profiles. I see 2 posible solutions: 1. ...
4
votes
3answers
4k views

Spotlight: Unable to index network SMB share

I'm trying to turn on spotlight for my NAS drive. I have it mounted in OSX 10.8.2 as the following: /Volumes/Trogdor (smbfs, nodev, nosuid, mounted by soltrain) mdutil returns the following: ...
3
votes
4answers
29k views

Can't connect to SMB share after Sierra upgrade

After the upgrade to Sierra on my MacBook Air, I'm unable to connect to the NAS on my home network through Samba. When I try Connect to server and enter: smb://x.x.x.x/MEDIA/ I get an error saying "...
3
votes
2answers
4k views

Do you have a better way to browse Windows 7 machines in Finder (SL 10.6.5)?

Browsing the "network neighborhood" in OS X Finder does show XP machines, but not Windows 7 machines. (Vista machines have a similar problem). I can connect manually to Windows 7 machines ("connect to ...
3
votes
1answer
491 views

Does macOS Sierra support Server Side Copy via SMB and/or AFP?

I'm using FreeNAS and it has the option to share data using SMB or AFP. Since I recently learned that AFP is being deprecated, I'm hesitant to use AFP but I'v read that AFP supports Server Side Copy ...
3
votes
2answers
3k views

Time Machine Backup to Samba Share under Mac OS Lion

In earlier versions of Mac OS you could enable TimeMachine to use Samba-Shares as a Backup-Target using this: defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 and create ...
3
votes
1answer
596 views

smb not working for me on 10.13.6 (dtruss inside)

my Finder is not able to connect to ANY smb-share. It doesn't matter, if the network-folder is on linux (SAMBA 4.1.17) is on OSX (10.11.6) is on Windowsserver is public for everyone or in a ADS It ...
3
votes
3answers
26k views

“The operation can’t be completed because the item is in use” when deleting from Samba mounted drive

I have a USB drive plugged into my Asus RT-N66U router and shared over SMB. I originally formatted this drive on a Mac. I have two Trendnet TV-IP572PI surveillance cameras that records snapshots/video ...
3
votes
1answer
9k views

What does it mean to have “custom access”?

I'm having some permissions-related trouble with OSX clients and a Samba server. When I create, for example, a new directory on the mounted share, it will be created with rwxr-xr-x permissions. But ...
3
votes
1answer
133 views

Finder freezes when samba automount not found

I've added automount entries to my wife's Macbook (OSX - unsure about the exact version as she's overseas) for some shares on our FreeNAS server at home. Sometimes when she travels for work it can't ...
3
votes
0answers
445 views

Running script after connecting to VPN

I am using MacOS 10.12. I just started working for a company that gave me a VPN connection to connect to. I'm trying to come up with a script that, upon VPN connection, will: add route to remote ...
2
votes
1answer
441 views

Can you run Samba on Snow Leopard workstations?

it appears that Samba functionality is restricted to the server edition of OS X 10.6 - is there a workaround or third-party solution?
2
votes
1answer
1k views

Running a command via SSH on the Mac causes exception; works fine when directly connected

I am trying to sign some code for an application. I can log into my Mac (Mountain Lion) and do this easily: codesign -s "Developer ID Application: My Name" -f /path/to/appfile/mounted/elsewhere.app '...
2
votes
1answer
5k views

Viewing dollar sign shares over Samba on OS X?

I love Finder's built-in "connect to server" functionality. It's great, if not a bit hidden! (Those of you that don't know about it, right-click the Finder icon in your dock and hit Connect to Server) ...
2
votes
2answers
3k views

Samba Troubles With My Mac - Password Never Accepted

I've been tinkering with my router and have flashed it to use DD-WRT (a Linux distro that can provide me with some extra functionality). This in turn has allowed me to create a Samba server to share ...
2
votes
1answer
2k views

Mac doesn't recognize hosts on local network

I have a Linux server in my cupboard. My Windows machines can connect to it via its hostname. I have never configured any DNS server; all I did was assign the Linux box a name when I installed Ubuntu ...
2
votes
1answer
3k views

Mount a samba drive, with password from keychain

I have a problem with Jettison, that tries to remount a samba drive, that is protected by a password. It uses the following command line: /sbin/mount_smbfs //[user]@[server]/work /Volumes/work Of ...
2
votes
1answer
6k views

How can you avoid error -43 when copying symlinked folder in Finder with a SAMBA share?

The context From a Mac running Mountain Lion, a share "Multimedia" served by QNAP NAS is mounted as root via SAMBA in the Finder. Let's say I create a symbolic link of a directory on the NAS such as:...
2
votes
1answer
3k views

guest access to samba shares on 10.8

Is there any way to allow public (ie no user/password prompt) access to samba shares using the mountain lion built in server? Even with Everyone set to read/write in System Preferences and the guest ...
2
votes
1answer
1k views

Samba is removed from Lion. How is the role of auto_master changed [closed]

I used to use the /etc/auto_master file to load SMB shares in Snow leopard Mac OS X Now that Samba is removed, I wonder what should be the correct way to auto mount windows shares.
2
votes
1answer
103 views

Can not access samba file share

I have activated file sharing for my public folder. I have network connectivity within my private local LAN and Internet Access. My router does not support IPv6. When someone tries to connect from ...
2
votes
1answer
1k views

Is it a bad idea to compile Samba from source for Mac?

We have a Linux NAS and we’re doing some basic Samba sharing. Windows machines are quick and peppy to connect with the device, as are the Linux VMs I’m running on my Mac. The SMB stack Apple has made ...
2
votes
2answers
5k views

How to copy file/folder beginning with dot from Mac to PC without hidden attribute?

I have Mac (OSX Lion) and PC (Windows 7) with a shared folder. To mount Windows shared folder I use "Connect to Server" in Finder. All files and folders are copied ok except for the files that begin ...
2
votes
0answers
18 views

rsync denied to access directory when run with launchctl

I have mounted samba share in "/Volumes/Samba" with full read/write access right to it. I created simple script to rsync files from smb share to folder on my disk, when I lunch script from terminal ...
2
votes
0answers
16 views

Samba network connection from Mac to PC only worked before restart

I've connected a Mac mini to a PC running Windows via Ethernet. Both computers have manually-configured static IP addresses. I was able to use Samba on the Mac to connect to a shared folder on the PC ...
2
votes
0answers
388 views

SMB protocol supports remote hard links but mount_smbfs(8) doesn't?

I've been using the excellent Link Shell Extension tool on Windows 7 to create hard links remotely to files on the same mounted volume on a Windows Server 2008 R2 drive [not symlinks — I included this ...
2
votes
0answers
393 views

how to install Open Source Samba tool 'smbget' on macOS High Sierra?

It seems smbget is not available on Homebrew. Also the Samba suite not available. This tool is part of the samba(7) suite. smbget is a simple utility with wget-like semantics, that can ...
2
votes
0answers
277 views

how to connect to samba share consistently on el capitan

I have a file server which I can successfully and consistently connect to on android and windows. So I know the IP address and connection details. However when I try and connect using mac osx finder - ...
2
votes
0answers
2k views

How to fix error code -43 (copying files to my samba shares)?

When I copy some files/apps to my samba shares (1 running FreeBSD and the other is running Debian Linux), I get an error code -43. this is the text of the error message operation cannot be ...
2
votes
0answers
511 views

Mount Windows share automatically with Active Directory credentials

In our environment we have a bunch of iMacs running Mountain Lion that are bound to Active Directory for authentication, and we also have a Windows share that we would like all Active Directory ...
1
vote
2answers
5k views

Add samba folder to favorite into finder sidebar

I have client stations (OS X Yosemite) bound into Active Directory services. When the user was authorized I prepared his profile from /System/Library/User\ Template/English.lproj/* and settings for ...
1
vote
1answer
2k views

URL for guest access to a Linux Samba server share from Finder

What is the correct URL for connecting as Guest to a Linux Samba server share from OS X? Example: From Finder, press Cmd+K Enter url: smb://192.168.1.100/shared_files