[SOLVED] Suddenly unable to mount samba share using cifs

I have a home server running ArchLinux, hosting an SMB share. My client box is also ArchLinux, both are up to date, running Linux-ck 3.9.2-2-ck. Prior to rebooting both machines around twenty minutes ago, the share mounted fine for months.
Here is the extent of the "verbosity" I receive from mount:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Here is my fstab:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# UUID=71066ae2-40ec-4125-9db7-d04b6a04f712
UUID=71066ae2-40ec-4125-9db7-d04b6a04f712 / ext4 rw,relatime,data=ordered 0 2
# UUID=172faa6a-9cca-4d9e-a0b9-a5da3ea81922
UUID=172faa6a-9cca-4d9e-a0b9-a5da3ea81922 /boot ext2 rw,relatime 0 2
# UUID=65023815-33fc-4ebd-b245-65683201fbcf
UUID=65023815-33fc-4ebd-b245-65683201fbcf /home ext4 rw,relatime,data=ordered 0 2
UUID=1a23d461-fa2b-4ea4-8e58-e7efba3f3bed /media/Storage ext3 rw 0 2
//ARRAY/Array /media/Array cifs credentials=/home/xaero/.smbpasswd,iocharset=utf8,uid=1000,gid=1000,nounix,sec=ntlm 0 0
I have tried any number of different options on that final line defining this share now:
I have tried //array/array (which is what it was originally) and //ARRAY/Array (which is case-sensitive) as well as any combination of using my credentials file (which used to work) or user=,pass= as well changing my credentials file to use quotation marks around my password as it has special characters. I've also read of using sec=ntlm fixing mount issues, but in my case it did not. I'm kind of scratching my head here as passing --verbose to mount yields zero additional information... the uid and gid entries were necessary in the past to mount this share, however I have tried both with and without them, to no avail.
I rely on SMB in lieu of sshfs as there isn't a stable sshfs implementation for Windows users, which there are some on my network; I also find for whatever reason SMB happens to be faster.
Last edited by Xaero252 (2013-05-19 21:45:30)

I'm not exactly sure what fixed this... I looked at the configuration file to make sure I hadn't missed it being updated, and it was in the new format; everything setup correctly (I remember having to edit it not long ago to fix something, probably for the update which you mentioned) I reverted my fstab back to the way it was before (making backups is good) and restarted the smbd on the server numerous times... at some point it just started working again. I wish I had a more concrete answer for documentation sake, but I was literally just rebooting/restarting services in desperation with little to no config hacking between and suddenly things clicked. I'm also no longer running the sec=ntlm option..
Thanks for reminding me to check my config though, when I updated I had forgotten to enable user restriction (guest was enabled, and certain directories weren't user-specific)

Similar Messages

  • Unable to mount samba share file for xbox 360

    I want to be able to stream music from a directory in my arch linux computer (xfce4) to my xbox using samba on a local network using ethernet cables and a router not connected to the internet. I've been able to get samba to startup and I see the folder "share" in my network tab in thunar, but I am currentlly unable to mount that folder. I haven't been able to get the xbox to recognize my arch computer or visa versa.
    Here is the configuration I am running as of now:
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = XBOX
    # server string is the equivalent of the NT Description field
    server string = "Samba Server"
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = user
    [share]
    comment = music for xbox
    path = /home/ricky/Music
    browsable = yes
    guest ok = yes
    read only = yes
    create mask = 0777
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    I did a chmod -r 777 on the ~/Music directory already and I still haven't been able to mount it. I have read in the wiki that creating a /mnt/xboxshare directory, for example, would actually mount the share directory and allow the xbox to share. However, I would rather just use the directory I specified instead of creating another directory. Has anyone else experienced this problem or have any advice for me?
    Here is some additional information:
    I do have to input a password when I issue this command
    $ smbclient -L \\RG_ARCH
    Enter password:
    Domain=[XBOX] OS=[Unix] Server=[Samba 3.6.8]
    Sharename Type Comment
    share Disk music for xbox
    IPC$ IPC IPC Service ("Samba Server")
    rg Disk Home Directories
    Domain=[XBOX] OS=[Unix] Server=[Samba 3.6.8]
    Server Comment
    RG_ARCH Samba Server
    Workgroup Master
    XBOX RG_ARCH

    I was wondering whether it had anything to do with the network I was using. The router I am using can't access the internet and I am using the basic 192.168.1.X setup with 255.255.255.0 as the mask.
    My computer has an ip of 192.168.1.2 and the xbox has an ip of 192.168.1.3. However, I am still unable to ping the xbox or even see it show up in the network. I did notice that whenever I am using another router that is connected to the internet, I can see other windows based computers in the network tab in thunar under "windows network"
    Also, I do have a username and password associated with the samba setup.. so I assume maybe that has something do with it. I checked the permissions of the share folder and it was root:root with read and write permissions. I know samba is working fairly well.. but for whatever reason I can't get the xbox to connect even while it is on the same local network.

  • Unable to mount SMB shares under Mac OS 10.6.5

    Help -
    *I can no longer mount any shares from my Seagate BlackArmor NAS-110*. I bought the device (a 1TB network drive with CIFS (aka SMB), NFS, and FTP capabilities (no AFP connectivity)) in June of 2010, and it was working fine until appx (18 Nov, 2010). My computer - MacPro 2x2.26GHz Quad-Core Intel Xeon (early 2009) with 12GB of 1066MHz DDR3 RAM and Mac OS 10.6.5. My home network is running on Apple's TimeCapsule router (version 7.4.2).
    Note: Problems began after installation of recent updates:
    11/10/2010 - Mac OS 10.6.5
    11/12/2010 - iTunes 10.1
    11/13/2010 - iLife '11
    11/13/2010 - iPhoto 9.1
    11/18/2010 - Safari 5.0.3
    I'm not sure which, if any, of these updates may have intrudced new code which impacted my ability to mount SMB/CIFS shares, or whether this problem is isolated to the NAS-110 (actually, reading numerous posts about connectivity issues (during/over the last month or so) shows similar issues with other external drives, servers, NAS devices). The issues may not have materialized until I rebooted the NAS or the Mac. FYI: The only firewall I'm using is the Mac's built in firewall, and I've got File Sharing (AFP, SMB) set to Allow Incoming.
    What happens? I can't mount the SMB shares. I can see the device in my finder. It shows up as "BA-22B9C2", and I can see the sharepoint folders (in Finder): Download, Public, and wiki. When I attempt to SMB mount the shares (by any of the following methods: Double-Click in Finder, use 'Go->Connect to Server' or using the 'BlackArmor Discovery' application) The share/folder icon does not appear on my desktop. It creates a mount-point in the /Volumes directory, but no folder appears on the desktop. I can 'cd' into the sharepoint, and I can see that Spotlight has attempted to index the sharepoint (a .Spotlight-V100 directory was created), but I cannot see the 'Our Music, Our Pictures, or Our Videos' folders inside the Public share/directory. Successive attempts to mount a share, using Finder results in additional mount points in the /Volumes directory (Public-1, Public-2, Public-3, etc), but no folder icons on my desktop.
    FYI: The 'Connected servers' setting (under 'Shared') is enabled in my Finder's Prefences (along with Bonjour and Back to My Mac), so connected shares should appear on the desktop.
    Attempts to mount shares using the Connect to Server method (smb://10.0.1.2/Public, smb://admin:[email protected]/Public) also fail. No folder appears on desktop. The password/login authenticates (connecting to server), and a mount point is created in the /Volumes directory, but no folder appears on the desktop.
    Attempts to mount shares using the BlackArmor Discovery application generate similar results. Shares are visible in the tool. I click on the 'Public' share (which has permissions set to 'read, write, execute' for all), then click the 'Mount Share' button. I am presented with an authentication/login dialog. I log in as a Registered user (name: admin password: admin) Once again, a mount point is created in the /Volumes directory, but no folder appears on the desktop.
    Notably, whenever I attempt to mount a share, Spotlight indexes the share, but then it dies on my computer. Spotlight stops indexing my primary drive (where the OS is installed for my Mac). I have to stop the mds process using Activity Monitor. mds restarts automatically, and it starts indexing my primary drive again. While this may not be critical to my troubleshooting efforts, it has caused some considerable consternation on my part.
    I initially (back around the 18th of Nov, 2010) attempted troubleshooting with the assistance of Seagate technicians, but they quickly gave up on the email support, insisted I had to continue over the phone, which costs ~$14.00 per 'incident' and isn't convenient for my schedule.
    I've already attempted to update the firmware on the NAS (from 1000.0361 to 1000.1081), but that won't work. The NAS indicates a firmware update (1000.1081) is available, but it reports: "Firmware is not found". I had a friend try this update using his Windows machine (and my NAS), with the same results. He tried with a a Vista box and a Windows-NT running through emulation. I also tried to manually update. I downloaded the firmware image file "sg1000-1000.1081.img" from the Seagate downloads page, and attempted a manual update on the NAS. That failed with error "Failed to upload new firmware image to system." Once again, my friend tried to perform a manual update to the NAS. He downloaded a new copy of the file (from the Seagate downloads page), and he got the same error.
    The Seagate techs recommended that I update the firmware. I explained my problems updating the firmware, and I have asked the Seagate techs (via email) for a known good copy of the firmware update, but they do not answer my requests for such.
    The Seagate techs recommended that I restore the NAS with a factory reset. That caused plenty of problems, as their is no mac software to recover the factory reset 'key' from the device (need device MAC, and I presume some sort of hashing key stored on the device). So, I had to cart the drive over to my friends house, and have him attempt the restore. After some initial confusion regarding the MAC address, we were able to successfully restore the device to it's factory settings.
    Note: Before attempting the factory reset, my friend attempted to mount the SMB shares (on the NAS), using his Mac running 10.6.5. He encountered the same problems I encountered. When he tried using his Windows-NT (through VMFusionWare emulation) *he WAS able to mount the shares*. O.k. This must be a Mac OS issue, and not a Seagate NAS issue. - Now that the drive has been restored to factory defaults, it's pretty much empty (some folders, but no data). Default admin/admin username/password are in place.
    I'm not sure which, if any of my most recent software updates may have introduced changes to smb/samba, so I tried mounting the device using other services. It's capable of FTP and NFS as well as CIFS/SMB.
    I tried to create an NFS mount. I tried using two different methods (an application called NFS Manager and the 'Connect to Server' method built into the Mac. Both methods failed to establish a nfs mount to the server. No login errors were noted, but no mount points were created in /Volumes, and no folders appeared on the desktop.
    I tried to connect via FTP, that didn't work either (using an my Transmit client). I'm certainly striking out with this drive. My Mac will not mount the shares/folders. I tried FTP (to 10.0.1.2 as admin) using Transmit application (on port 21). Transmit reported "Could not retrieve file listing for “/Public”. Server said: OOPS: Child died Error -162: Port failed". Connectivity protocols of CIFS, NFS and FTP (on port 21) are enabled on the NAS and the /Public share.
    *When I attempt to connect using the Connect to Server method (See Apple's 'Go' menu in the Finder), I met with sucess!* ftp://10.0.1.2/Public connect attempt resulted in two pop ups. One of them said 'connecting', the other said something about "'NetAuthAgent' (I didn't write it down) wants permission to access your confidential keychain data" Presumably, this was the authentication request. I said 'Always allow'. A folder appeared on my desktop and a finder window opened showing the contents of that folder. Unfortunately, the share is 'read only'; even when I attempt to authenticate as a specific user.
    Note: I don't think FTP attempts to index the mounted shares.
    Prior to the factory reset, I was able to connect to the shares using the Seagate's 'Global Access' web based ftp service. Now I cannot connect through the Global Access page.
    Below are 'Console' entries and a listing of my /Volumes directory. These may help resolve the issue. I deleted some entries (those I felt were unrelated to the issue). I left in stuff that's been bothering me.
    _*Can anyone help me reestablish SMB connectivity with my NAS-110?*_
    - Robert Vaessen
    'Console: All messages'
    12/16/10 00:11:15 BlackArmor Discovery[65267] Got netServiceBrowserWillSearch: event.
    12/16/10 00:11:15 mDNSResponder[23] Bad service type in .blackarmor4dinfo.udp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>
    12/16/10 00:11:15 mDNSResponder[23] Bad service type in .blackarmor4dinfo.udp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>
    12/16/10 00:11:15 BlackArmor Discovery[65267] Got netServiceBrowserWillSearch: event.
    12/16/10 00:11:15 mDNSResponder[23] Bad service type in .blackarmor2dinfo.udp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>
    12/16/10 00:11:15 mDNSResponder[23] Bad service type in .blackarmor2dinfo.udp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>
    12/16/10 00:11:15 BlackArmor Discovery[65267] Got netServiceBrowserWillSearch: event.
    12/16/10 00:11:16 mDNSResponder[23] Bad service type in .blackarmor1dinfo.udp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>
    12/16/10 00:11:16 mDNSResponder[23] Bad service type in .blackarmor1dinfo.udp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>
    12/16/10 00:11:16 BlackArmor Discovery[65267] Got netServiceBrowserWillSearch: event.
    12/16/10 00:11:16 mDNSResponder[23] Bad service type in .blackarmorNASinfo.udp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>
    12/16/10 00:11:16 mDNSResponder[23] Bad service type in .blackarmorNASinfo.udp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>
    12/16/10 00:11:16 BlackArmor Discovery[65267] Got netServiceBrowserWillSearch: event.
    12/16/10 00:11:16 BlackArmor Discovery[65267] got netServiceBrowser:didFindService:moreComing: event for <NSNetService 0x517a80> local. blackarmor1dinfo.udp. BA-22B9C2
    12/16/10 00:11:16 BlackArmor Discovery[65267] inserted new net service object for BA-22B9C2:
    "BA-22B9C2" = 1;
    12/16/10 00:11:16 mDNSResponder[23] Bad service type in BA-22B9C2.blackarmor1dinfo.udp.local. Application protocol name must be underscore plus 1-15 characters. See <http://www.dns-sd.org/ServiceTypes.html>
    12/16/10 00:11:16 BlackArmor Discovery[65267] Added 1 drive table objects to the servicesToInsertArray.
    12/16/10 00:11:17 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Domain=[BA-22B9C2] OS=[Unix] Server=[Samba 3.0.34]
    12/16/10 00:11:17 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Domain=[BA-22B9C2] OS=[Unix] Server=[Samba 3.0.34]
    12/16/10 00:11:17 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] tree connect failed: NTSTATUS_ACCESSDENIED
    12/16/10 00:11:17 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Domain=[BA-22B9C2] OS=[Unix] Server=[Samba 3.0.34]
    12/16/10 00:11:17 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] tree connect failed: NTSTATUS_ACCESSDENIED
    12/16/10 00:11:17 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Domain=[BA-22B9C2] OS=[Unix] Server=[Samba 3.0.34]
    12/16/10 00:11:17 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] tree connect failed: NTSTATUS_ACCESSDENIED
    12/16/10 00:11:17 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Domain=[BA-22B9C2] OS=[Unix] Server=[Samba 3.0.34]
    12/16/10 00:11:17 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] tree connect failed: NTSTATUS_ACCESSDENIED
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] PING 10.0.1.2 (10.0.1.2)
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=0
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=0 ttl=64 time=0.307 ms
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=1
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=1 ttl=64 time=0.216 ms
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=2
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=2 ttl=64 time=0.216 ms
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=3
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=3 ttl=64 time=0.286 ms
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] --- 10.0.1.2 ping statistics ---
    12/16/10 00:11:31 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] 4 packets transmitted, 4 packets received, 0% packet loss
    12/16/10 00:11:34 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Download', from '//%20;[email protected]/Download', dead
    12/16/10 00:11:34 mds[22627] (Error) DiskStore: Unable to create/find index location
    12/16/10 00:23:50 sandboxd[65414] awacsd(48) deny file-read-metadata /Library/Preferences/com.apple.security.plist
    12/16/10 00:23:50 sandboxd[65414] awacsd(48) deny file-read-data /Library/Preferences/com.apple.security.plist
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] PING 10.0.1.2 (10.0.1.2)
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=0
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=0 ttl=64 time=0.356 ms
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=1
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=1 ttl=64 time=0.209 ms
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=2
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=2 ttl=64 time=0.237 ms
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=3
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=3 ttl=64 time=0.209 ms
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] --- 10.0.1.2 ping statistics ---
    12/16/10 00:31:25 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] 4 packets transmitted, 4 packets received, 0% packet loss
    12/16/10 00:31:39 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public', from '//%20;%[email protected]/Public', dead
    12/16/10 00:31:39 mds[22627] (Error) DiskStore: Unable to create/find index location
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] PING 10.0.1.2 (10.0.1.2)
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=0
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=0 ttl=64 time=0.271 ms
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=1
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=1 ttl=64 time=0.257 ms
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=2
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=2 ttl=64 time=0.197 ms
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=3
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=3 ttl=64 time=0.205 ms
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] --- 10.0.1.2 ping statistics ---
    12/16/10 00:47:36 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] 4 packets transmitted, 4 packets received, 0% packet loss
    12/16/10 00:48:41 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public', from '//%20;%[email protected]/Public', dead
    12/16/10 00:48:41 mds[22627] (Error) DiskStore: Unable to create/find index location
    12/16/10 00:51:17 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public', from '//[email protected]/Public', dead
    12/16/10 00:51:18 mds[22627] (Error) DiskStore: Unable to create/find index location
    12/16/10 00:53:51 sandboxd[65922] awacsd(48) deny file-read-metadata /Library/Preferences/com.apple.security.plist
    12/16/10 00:53:51 sandboxd[65922] awacsd(48) deny file-read-data /Library/Preferences/com.apple.security.plist
    12/16/10 00:54:24 cupsd[65930] sandbox cache error: database is locked
    12/16/10 01:00:56 com.apple.launchd.peruser.505[150] (com.apple.pbs) Throttling respawn: Will start in 10 seconds
    12/16/10 01:01:06 com.apple.launchd.peruser.505[150] (com.apple.pbs) Throttling respawn: Will start in 10 seconds
    12/16/10 01:02:02 _lp[66035] audit warning: expired /var/audit/20101215210444.20101215231614
    12/16/10 01:02:02 _lp[66034] audit warning: closefile /var/audit/20101216055051.20101216080202
    12/16/10 01:09:56 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public', from '//[email protected]/Public', dead
    12/16/10 01:09:56 mds[22627] (Error) DiskStore: Unable to create/find index location
    12/16/10 01:10:15 com.apple.Finder[208] NFS Portmap: RPC: Program not registered
    12/16/10 01:11:15 com.apple.Finder[208] NFS Portmap: RPC: Program not registered
    12/16/10 01:11:15 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:12:09 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:12:13 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:12:29 com.apple.Finder[208] mount_nfs: can't access /: Permission denied
    12/16/10 01:12:44 com.apple.Finder[208] mount_nfs: can't access /: Permission denied
    12/16/10 01:15:05 /System/Library/CoreServices/CCacheServer.app/Contents/MacOS/CCacheServer[66174 ] No valid tickets, timing out
    12/16/10 01:15:53 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:15:54 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:15:55 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:15:55 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:15:56 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:17:05 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:19:13 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public-1', from '//[email protected]/Public', dead
    12/16/10 01:22:38 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public-2', from '//[email protected]/Public', dead
    12/16/10 01:23:21 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:23:25 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:23:25 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:23:26 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:23:27 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:23:27 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:23:50 sandboxd[66426] awacsd(48) deny file-read-metadata /Library/Preferences/com.apple.security.plist
    12/16/10 01:23:50 sandboxd[66426] awacsd(48) deny file-read-data /Library/Preferences/com.apple.security.plist
    12/16/10 01:24:03 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:47:13 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public-3', from '//[email protected]/Public', dead
    12/16/10 01:47:13 mds[22627] (Normal) DiskStore: Creating index for /Volumes/Public-3
    12/16/10 01:50:38 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:51:45 com.apple.launchd.peruser.505[150] (com.apple.pbs) Throttling respawn: Will start in 10 seconds
    12/16/10 01:51:56 com.apple.launchd.peruser.505[150] (com.apple.pbs) Throttling respawn: Will start in 10 seconds
    12/16/10 01:52:03 authexec[67020] executing /usr/sbin/automount
    12/16/10 01:52:39 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:52:47 com.apple.launchd.peruser.505[150] (com.apple.AddressBook.abd) The following job tried to hijack the service "com.apple.AddressBook.abd" from this job: [0x0-0x1284283].com.apple.AddressBook.abd
    12/16/10 01:53:10 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 01:53:50 sandboxd[67042] awacsd(48) deny file-read-metadata /Library/Preferences/com.apple.security.plist
    12/16/10 01:53:50 sandboxd[67042] awacsd(48) deny file-read-data /Library/Preferences/com.apple.security.plist
    12/16/10 02:00:50 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 02:00:55 com.apple.Finder[208] mount_nfs: can't access /Public: Permission denied
    12/16/10 02:01:01 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public-4', from '//[email protected]/Public', dead
    12/16/10 02:11:28 GrowlHelperApp[328] Transmit registered
    12/16/10 02:12:07 Firewall[101] Transmit is listening from 10.0.1.3:59918 proto=6
    12/16/10 02:12:17 Firewall[101] Transmit is listening from 10.0.1.3:59929 proto=6
    12/16/10 02:12:17 Firewall[101] Transmit is listening from 10.0.1.3:59930 proto=6
    12/16/10 02:12:25 Firewall[101] Transmit is listening from 10.0.1.3:59937 proto=6
    12/16/10 02:12:25 Firewall[101] Transmit is listening from 10.0.1.3:59938 proto=6
    12/16/10 02:12:33 servernotifyd[402] token expired
    12/16/10 02:12:35 Firewall[101] Transmit is listening from 10.0.1.3:59947 proto=6
    12/16/10 02:12:35 Firewall[101] Transmit is listening from 10.0.1.3:59948 proto=6
    12/16/10 02:12:45 Firewall[101] Transmit is listening from 10.0.1.3:59961 proto=6
    12/16/10 02:12:48 servernotifyd[402] Fetching new token
    12/16/10 02:12:48 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public-5', from '//[email protected]/Public', dead
    12/16/10 02:12:49 servernotifyd[402] Completed token request
    12/16/10 02:12:49 servernotifyd[402] Subscription request completed
    12/16/10 02:15:20 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public-6', from '//[email protected]/Public', dead
    12/16/10 02:15:20 mds[22627] (Normal) DiskStore: Creating index for /Volumes/Public-6
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] PING 10.0.1.2 (10.0.1.2)
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=0
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=0 ttl=64 time=0.347 ms
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=1
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=1 ttl=64 time=0.264 ms
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=2
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=2 ttl=64 time=0.232 ms
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] *Pinging host 10.0.1.2: icmp_seq=3
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] Response from 10.0.1.2: icmp_seq=3 ttl=64 time=0.236 ms
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] --- 10.0.1.2 ping statistics ---
    12/16/10 02:19:28 [0x0-0x1266265].com.seagate.blackarmordiscovery[65267] 4 packets transmitted, 4 packets received, 0% packet loss
    12/16/10 02:20:39 KernelEventAgent[64] tid 00000000 type 'smbfs', mounted on '/Volumes/Public-7', from '//%20;%[email protected]/Public', dead
    12/16/10 03:07:28 Firewall[101] Transmit is listening from 10.0.1.3:60607 proto=6
    12/16/10 03:07:37 Firewall[101] Transmit is listening from 10.0.1.3:60611 proto=6
    12/16/10 03:07:37 Firewall[101] Transmit is listening from 10.0.1.3:60612 proto=6
    12/16/10 03:07:46 Firewall[101] Transmit is listening from 10.0.1.3:60614 proto=6
    12/16/10 03:07:46 Firewall[101] Transmit is listening from 10.0.1.3:60615 proto=6
    12/16/10 03:07:55 Firewall[101] Transmit is listening from 10.0.1.3:60619 proto=6
    12/16/10 03:07:55 Firewall[101] Transmit is listening from 10.0.1.3:60620 proto=6
    12/16/10 03:08:04 Firewall[101] Transmit is listening from 10.0.1.3:60622 proto=6
    12/16/10 03:11:26 Firewall[101] Transmit is listening from 10.0.1.3:60649 proto=6
    12/16/10 03:11:35 Firewall[101] Transmit is listening from 10.0.1.3:60651 proto=6
    12/16/10 03:11:35 Firewall[101] Transmit is listening from 10.0.1.3:60652 proto=6
    12/16/10 03:11:45 Firewall[101] Transmit is listening from 10.0.1.3:60654 proto=6
    12/16/10 03:11:45 Firewall[101] Transmit is listening from 10.0.1.3:60655 proto=6
    12/16/10 03:11:53 Firewall[101] Transmit is listening from 10.0.1.3:60661 proto=6
    12/16/10 03:11:53 Firewall[101] Transmit is listening from 10.0.1.3:60662 proto=6
    12/16/10 03:12:02 Firewall[101] Transmit is listening from 10.0.1.3:60667 proto=6
    12/16/10 03:12:02 sysadmin[69677] audit warning: expired /var/audit/20101215231614.20101216012742
    12/16/10 03:12:02 sysadmin[69675] audit warning: closefile /var/audit/20101216080202.20101216101202
    12/16/10 03:18:40 com.apple.launchd.peruser.505[150] (com.apple.pbs) Throttling respawn: Will start in 10 seconds
    12/16/10 03:18:48 Firewall[101] ftpfs_agent is listening from 10.0.1.3:60739 proto=6
    12/16/10 03:18:48 Firewall[101] Allow ftpfs_agent connecting from 10.0.1.2:43968 to port 60739 proto=6
    12/16/10 03:18:48 com.apple.launchd.peruser.505[150] (com.apple.pbs) Throttling respawn: Will start in 2 seconds
    12/16/10 03:18:48 com.apple.launchd.peruser.505[150] (com.apple.pbs) Throttling respawn: Will start in 2 seconds
    12/16/10 03:18:48 Firewall[101] ftpfs_agent is listening from 10.0.1.3:60741 proto=6
    12/16/10 03:18:48 Firewall[101] Allow ftpfs_agent connecting from 10.0.1.2:34565 to port 60741 proto=6
    12/16/10 03:19:05 Firewall[101] ftpfs_agent is listening from 10.0.1.3:60745 proto=6
    12/16/10 03:19:05 Firewall[101] Allow ftpfs_agent connecting from 10.0.1.2:36662 to port 60745 proto=6
    12/16/10 03:21:59 Firewall[101] ftpfs_agent is listening from 10.0.1.3:60785 proto=6
    12/16/10 03:21:59 Firewall[101] Allow ftpfs_agent connecting from 10.0.1.2:49839 to port 60785 proto=6
    12/16/10 03:21:59 Firewall[101] ftpfs_agent is listening from 10.0.1.3:60787 proto=6
    12/16/10 03:21:59 Firewall[101] Allow ftpfs_agent connecting from 10.0.1.2:47180 to port 60787 proto=6
    12/16/10 03:23:51 sandboxd[70960] awacsd(48) deny file-read-metadata /Library/Preferences/com.apple.security.plist
    12/16/10 03:23:51 sandboxd[70960] awacsd(48) deny file-read-data /Library/Preferences/com.apple.security.plist
    'Cosole: samba log.nmbd' (Same entry repeated numerous times)
    [2010/12/16 04:22:10, 1, pid=118] /SourceCache/samba/samba-235.5/samba/source/nmbd/nmbdincomingdgrams.c:process_resetbrowser(735)
    processresetbrowser: received diagnostic browser reset request from BA-22B9C2<00> IP 10.0.1.2 state=0x2
    'Console: samba log.sndb' (note the dates)
    [2010/11/11 18:33:43, 0] /SourceCache/samba/samba-235.4/samba/source/smbd/server.c:main(925)
    smbd version 3.0.28a-apple started.
    Copyright Andrew Tridgell and the Samba Team 1992-2008
    [2010/11/11 18:33:43, 0, pid=90063] /SourceCache/samba/samba-235.4/samba/source/lib/opendirectory.c:opendirectoryfill_domain_sidcache(1985)
    opendirectorysamsearchname[/Config/CIFSServer] gave -14136 [eDSRecordNotFound]
    [2010/11/11 18:33:43, 0, pid=90063] /SourceCache/samba/samba-235.4/samba/source/passdb/secrets.c:secretsfetch_domainsid(150)
    secretsfetch_domain_sid:opendirectory_query_domainsid gave -14136 [eDSRecordNotFound]
    [2010/11/24 04:11:15, 0] /SourceCache/samba/samba-235.5/samba/source/smbd/server.c:main(925)
    smbd version 3.0.28a-apple started.
    Copyright Andrew Tridgell and the Samba Team 1992-2008
    [2010/11/24 04:11:15, 0, pid=1507] /SourceCache/samba/samba-235.5/samba/source/lib/opendirectory.c:opendirectoryfill_domain_sidcache(1985)
    opendirectorysamsearchname[/Config/CIFSServer] gave -14136 [eDSRecordNotFound]
    [2010/11/24 04:11:15, 0, pid=1507] /SourceCache/samba/samba-235.5/samba/source/passdb/secrets.c:secretsfetch_domainsid(150)
    secretsfetch_domain_sid:opendirectory_query_domainsid gave -14136 [eDSRecordNotFound]
    [2010/11/24 10:47:01, 0] /SourceCache/samba/samba-235.5/samba/source/smbd/server.c:main(925)
    smbd version 3.0.28a-apple started.
    Copyright Andrew Tridgell and the Samba Team 1992-2008
    [2010/11/24 10:47:02, 0, pid=1339] /SourceCache/samba/samba-235.5/samba/source/lib/opendirectory.c:opendirectoryfill_domain_sidcache(1985)
    opendirectorysamsearchname[/Config/CIFSServer] gave -14136 [eDSRecordNotFound]
    [2010/11/24 10:47:02, 0, pid=1339] /SourceCache/samba/samba-235.5/samba/source/passdb/secrets.c:secretsfetch_domainsid(150)
    secretsfetch_domain_sid:opendirectory_query_domainsid gave -14136 [eDSRecordNotFound]
    [2010/11/29 10:48:44, 0] /SourceCache/samba/samba-235.5/samba/source/smbd/server.c:main(925)
    smbd version 3.0.28a-apple started.
    Copyright Andrew Tridgell and the Samba Team 1992-2008
    [2010/11/29 10:48:44, 0, pid=43299] /SourceCache/samba/samba-235.5/samba/source/lib/opendirectory.c:opendirectoryfill_domain_sidcache(1985)
    opendirectorysamsearchname[/Config/CIFSServer] gave -14136 [eDSRecordNotFound]
    [2010/11/29 10:48:44, 0, pid=43299] /SourceCache/samba/samba-235.5/samba/source/passdb/secrets.c:secretsfetch_domainsid(150)
    secretsfetch_domain_sid:opendirectory_query_domainsid gave -14136 [eDSRecordNotFound]
    [2010/12/08 12:29:58, 0] /SourceCache/samba/samba-235.5/samba/source/smbd/server.c:main(925)
    smbd version 3.0.28a-apple started.
    Copyright Andrew Tridgell and the Samba Team 1992-2008
    [2010/12/08 12:29:58, 0, pid=7246] /SourceCache/samba/samba-235.5/samba/source/lib/opendirectory.c:opendirectoryfill_domain_sidcache(1985)
    opendirectorysamsearchname[/Config/CIFSServer] gave -14136 [eDSRecordNotFound]
    [2010/12/08 12:29:58, 0, pid=7246] /SourceCache/samba/samba-235.5/samba/source/passdb/secrets.c:secretsfetch_domainsid(150)
    secretsfetch_domain_sid:opendirectory_query_domainsid gave -14136 [eDSRecordNotFound]
    [2010/12/08 12:30:04, 0, pid=7248] /SourceCache/samba/samba-235.5/samba/source/passdb/pdbodsam.c:odssamgetsampwnam(1576)
    opendirectorysamsearchname gave -14136 [eDSRecordNotFound]: no dsRecTypeStandard:Users record for account 'admin'
    [2010/12/08 12:30:04, 0, pid=7248] /SourceCache/samba/samba-235.5/samba/source/passdb/pdbodsam.c:odssamgetsampwnam(1576)
    opendirectorysamsearchname gave -14136 [eDSRecordNotFound]: no dsRecTypeStandard:Users record for account 'admin'
    [2010/12/08 12:30:06, 0, pid=7252] /SourceCache/samba/samba-235.5/samba/source/passdb/pdbodsam.c:odssamgetsampwnam(1576)
    opendirectorysamsearchname gave -14136 [eDSRecordNotFound]: no dsRecTypeStandard:Users record for account 'admin'
    [2010/12/08 12:30:06, 0, pid=7252] /SourceCache/samba/samba-235.5/samba/source/passdb/pdbodsam.c:odssamgetsampwnam(1576)
    opendirectorysamsearchname gave -14136 [eDSRecordNotFound]: no dsRecTypeStandard:Users record for account 'admin'
    [2010/12/09 09:59:02, 0] /SourceCache/samba/samba-235.5/samba/source/smbd/server.c:main(925)
    smbd version 3.0.28a-apple started.
    Copyright Andrew Tridgell and the Samba Team 1992-2008
    [2010/12/09 09:59:03, 0, pid=19816] /SourceCache/samba/samba-235.5/samba/source/lib/opendirectory.c:opendirectoryfill_domain_sidcache(1985)
    opendirectorysamsearchname[/Config/CIFSServer] gave -14136 [eDSRecordNotFound]
    [2010/12/09 09:59:03, 0, pid=19816] /SourceCache/samba/samba-235.5/samba/source/passdb/secrets.c:secretsfetch_domainsid(150)
    secretsfetch_domain_sid:opendirectory_query_domainsid gave -14136 [eDSRecordNotFound]
    'Listing of the /Volumes directory'
    drwxrwxrwt@ 20 root admin 680 Dec 16 03:29 .
    drwxrwxr-x 44 root admin 1564 Nov 27 12:19 ..
    drwxrwxr-x 44 root admin 1564 Nov 27 12:19 Clone
    lrwxr-xr-x 1 root admin 1 Dec 8 04:35 Macintosh HD -> /
    drwx------ 1 rvaessen rvaessen 16384 Jan 1 1980 NO NAME
    dr-xr-xr-x 2 root rvaessen 1 Dec 16 01:15 Public
    drwxr-xr-x+ 3 rvaessen admin 102 Dec 16 01:19 Public-1
    dr-xr-xr-x 1 rvaessen rvaessen 512 Dec 16 03:30 Public-10
    drwxr-xr-x+ 3 rvaessen admin 102 Dec 16 01:22 Public-2
    drwxr-xr-x+ 3 rvaessen admin 102 Dec 16 01:47 Public-3
    drwxr-xr-x+ 3 rvaessen admin 102 Dec 16 02:01 Public-4
    drwxr-xr-x+ 3 rvaessen admin 102 Dec 16 02:12 Public-5
    drwxr-xr-x+ 3 rvaessen admin 102 Dec 16 02:15 Public-6
    drwxr-xr-x+ 3 rvaessen admin 102 Dec 16 02:20 Public-7
    dr-xr-xr-x 1 rvaessen rvaessen 512 Dec 16 03:30 Public-8
    dr-xr-xr-x 1 rvaessen rvaessen 512 Dec 16 03:30 Public-9
    drwxr-xr-x@ 17 rvaessen rvaessen 646 Nov 11 18:12 Robert Vaessen’s iPod
    drwxrwxr-x 15 sysadmin staff 578 Nov 6 2009 Time Machine Prime
    drwxrwxrwx 1 rvaessen rvaessen 4096 Dec 7 17:31 nuvi
    drwx------ 1 rvaessen rvaessen 2048 Aug 16 14:52 rvaessen

    O.k. Thanks for the clarification. I poked around in my TimeCapsule router's settings (TimeCapsule is an Apple Airport Extreme router with attached hard drive for wireless backup/storage). Unfortunately, it doesn't look like I can disable multicasting with the TimeCapsule. I can change the multicasting 'rate'. Settings are Low, Medium, High. It's currently set to Low.
    I did a few web searches, and found an Apple.com article: <http://support.apple.com/kb/HT3789?viewlocale=en_US> which explained how to disable Bonjour Service Advertisements. I believe this is the same thing as 'Multicasting'. The process is a modification of "/System/Library/LaunchDaemons/com.apple.mDNSResponder.plist", and a restart of the Mac is required afterwards.
    I'm a bit concerned that disabling multicasting will interfere with my AppleTVs and iTunes music sharing, but I may try it next time I'm up for a computer workout. This task will require editing of system preference files, could require multiple restarts, might interfere with my AppleTVs, could interfere with my iTunes file sharing, doesn't have a documented relationship to my problem.
    This is way to difficult for something that should just work. Did you say you had read something about a relationship between this bonjour multicasting and smb connectivity? If it was online could you post the link?
    I'm currently able to connect to the drive using NFS, but I have to manually configure that connection each time I reboot (can't get the 'Disk Utility' configured to do it automatically). While it's working with NFS, it's not my preferred connect method (for various reasons).

  • User unable to umount samba share

    Here is the lines in my /etc/fstab related to samba shares.
    # Some Windows/SAMBA shares
    //BAO-QNAP500GB/USB\040Disk\0401 /mnt/eBooks smbfs workgroup=BAO-HOME,username=xxxxxx,ip=192.168.2.4,password=xxxxxx,noauto,noatime,user,rw 0 0
    I am able to mount samba share as a user (not root) after
    chmod u+s /usr/bin/smbmnt
    chmod u+s /usr/bin/smbumount
    by
    mount /mnt/eBooks
    However, I am unable to umount as a user:
    [ning@HP-m8100y ~]$ umount /mnt/eBooks
    umount: /mnt/eBooks mount disagrees with the fstab
    On the other hand, this could work:
    smbumount /mnt/eBooks
    Can somone tell me what I did wrong?

    Looks like its something to do with fstab though I don't know what never having mounted shares though fstab myself. I would try removing the fstab entry and just using smbmount to mount shares, thats the way I've always done it and never have problems with mounting/unmounting.
    smbmount //IP Address/source folder /destination folder

  • Cannot mount NFS shares using the Finder

    Hello all!
    I have a directory structure on a OpenSuse NFS Server which I like to browse/read using my MAC OSX 10.5.6. It works like a joy when I am mounting the NFS share on the command line using "sudo":
    sudo mount -o resvport nfshost:/full/path/NFS/share /My/mount/point
    However, this is kind of unconvenient as I need to start Terminal and sudo always asks me for the root password. I would appreciate to mount the NFS share just as I mount afp shares using the Finder. But the NFS share is neither searchable using the Finder nor does it show up in the list of host in the side bar of the Finder.
    Does anyone has an idea how to solve that? Thx for your information!

    The problem is most likely that your NFS server requires that connections come from reserved ports but you can't connect that way from the Finder GUI.
    Your example:
    sudo mount -o resvport nfshost:/full/path/NFS/share /My/mount/point
    shows that you need to use "-o resvport" and that you need to do the mount as root. (This is because the networking stack requires you to be root to get a reserved port.) When you try to mount it via the Finder, you can't specify any mount options like "-o resvport" and even if you could the mount would fail because the Finder isn't running as root.
    My first suggestion would be to change the configuration of your server to not require clients to use reserved ports for the NFS protocol. Unfortunately, Linux chooses to call that option "insecure" even though requiring the use of reserved ports (using "secure") doesn't actually make NFS more secure.
    Alternatively, you could configure the mount to be performed by something that does do the mount as root - e.g. automount/autofs. You can do this by configuring the mount on Directory Utility's "Mounts" section... you'll want to add "resvport" to the "Advanced mount options" field.
    HTH
    --macko

  • [SOLVED] netfs fails to mount samba mountpoint in fstab

    Answer:  netfs fails to mount my samba mountpoint because eventhough
    network is before netfs, and network is not started in the background, it
    still seems to take a while to complete, but it doesn't block netfs from running.
    If I put some stalling code in /etc/rc.d/network, and make it wait, then netfs
    will mount the shares, because network was allowed to start and netfs can
    it can find the servers.
    Now, what I want to know is why my network starts up so slowly.
    ----------------------- Read thread for details ----------------------
    This similar setup is working on my old Gentoo setup.
    fstab
    //tib/public /mnt/network/tib smbfs rw,user,auto,guest 0 0
    tib resolves to a server on my LAN.
    When I boot my ARCH system, it gets to netfs daemon, and times out trying to
    access the server.  I get the message
    5711: Connection to tib failed
    SMB connection failed
    The boot completes, and I log in and get the following
    $ ping tib
    PING tiburon.mill (192.168.0.36) 56(84) bytes of data.
    64 bytes from tiburon.mill (192.168.0.36): icmp_seq=1 ttl=64 time=0.354 ms
    64 bytes from tiburon.mill (192.168.0.36): icmp_seq=2 ttl=64 time=0.371 ms
    and, I can mount it like this (which reads /etc/fstab)
    $ mount //tib/public
    $ ls /mnt/network/tib/ | wc -l
    11
    It seems like ARCH isn't able to use the network until sometime after this point in the boot.  Here's my rc.conf daemons
    DAEMONS=(syslog-ng network netfs crond sshd alsa)
    I tried putting netfs last, but that made no difference.  I also tried to load netfs in the background without benefit.
    Note:  cifs doesn't work either; and I get more descriptive errors
    :: Mounting Network Filesystems
    mount error: count not find target server. TCP name tib/public not found
    No ip address specified and hostname not found.
    OK, that clear enough.  But, the hostname is found right when the boot process finishes and I get a prompt.
    And, I've tried the ip address, and FQDN too.
    Any ideas?
    Last edited by ristretto (2007-07-24 05:04:57)

    ok, gave it a try.
    //tib/public /mnt/network/tib cifs rw,user,noauto,guest 0 0
    $ cat /etc/rc.d/local
    #!/bin/bash
    mount //tib/public
    $ grep DAE /etc/rc.conf
    # DAEMONS
    DAEMONS=(syslog-ng network netfs crond sshd alsa local)
    Note local at the end.
    Now, all the daemons load up quick, and then local goes and times out, and I
    get the same error.
    mount error: count not find target server. TCP name tib/public not found
    No ip address specified and hostname not found.
    putting mount in .bash_profile is a bit of a security issue (though not really on my setup)
    but, more importantly, it mounts each time I log in to that account (say each ssh window to the box.)
    I'm thinking it's a bug in the initialization process somewhere?  I've never had this problem on other distros.
    What thinks you?

  • Mounting samba share starts avahi, ssh and sftp at client

    The problem is at the client. When i mount a samba share (with # mount), avahi is started, which starts ssh and sftp. This is wrong on many levels.
    Not sure how long this has been going on, someone else already asked this on stackexchange on 11.2.15, but didn't get any answers.
    Journal output immediatly after mounting (hostname, ip etc. removed):
    Mär 18 01:35:51 hostname dbus[434]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
    Mär 18 01:35:51 hostname systemd[1]: Cannot add dependency job for unit boot.automount, ignoring: Unit boot.automount is masked.
    Mär 18 01:35:51 hostname systemd[1]: Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    Mär 18 01:35:51 hostname systemd[1]: Starting Avahi mDNS/DNS-SD Stack Activation Socket.
    Mär 18 01:35:51 hostname systemd[1]: Starting Avahi mDNS/DNS-SD Stack...
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Found user 'avahi' (UID 84) and group 'avahi' (GID 84).
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Successfully dropped root privileges.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: avahi-daemon 0.6.31 starting up.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
    Mär 18 01:35:51 hostname dbus[434]: [system] Successfully activated service 'org.freedesktop.Avahi'
    Mär 18 01:35:51 hostname systemd[1]: Started Avahi mDNS/DNS-SD Stack.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Successfully called chroot().
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Successfully dropped remaining capabilities.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Loading service file /services/sftp-ssh.service.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Loading service file /services/ssh.service.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Joining mDNS multicast group on interface enp1234.IPv4 with address myip.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: New relevant interface enp1234.IPv4 for mDNS.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Network interface enumeration completed.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Registering new address record for myip on enp1234.IPv4.
    Mär 18 01:35:51 hostname avahi-daemon[2583]: Registering HINFO record with values 'X86_64'/'LINUX'.
    Mär 18 01:35:52 hostname avahi-daemon[2583]: Server startup complete. Host name is hostname.local. Local service cookie is 123.
    Mär 18 01:35:53 hostname avahi-daemon[2583]: Service "hostname" (/services/ssh.service) successfully established.
    Mär 18 01:35:53 hostname avahi-daemon[2583]: Service "hostname" (/services/sftp-ssh.service) successfully established.

    Thanks for your answer.
    snakeroot wrote:Are you sure it is actually starting ssh and ssftp or is it just having avahi advertise them as existing?
    I'm not sure if anything is started, the term "Service ssh successfully established" sounds like the ssh serrver is started to me, but it might just be strange wording. What does "advertise as existing" mean?
    From the snippet you quoted, it looks like the latter. Unless you have alread started socket activation for ssh or sftp, whether via systemd *.socket or inetd, I'm not sure it would actually be started.
    I didn't enable anything manually.
    I think you can rm/mv the sftp-ssh.service and ssh.service files /etc/avahi/services/ and prevent those services from being advertised.
    OK thanks for the hint. Nontheless i would rather stop avahi from starting than configuring it.
    Begin rant...
    I'm a bit annoyed that avahi is starting without my permission. Seems like systemd is getting a bit overzealous with starting services. Interestingly this was one of the big problems with upstart, and was supposed to be solved with systemd. I still like systemd.

  • Mount samba share on boot

    Hello,
    I want to mount a samba share on boot.
    I have put this in /etc/fstab
    //linuxbak/mp3 /mnt/mp3 smbfs username=***,password=***,user 0 0
    But the network daemon is started after /etc/fstab is executed.
    And I was wondering if it possible to change this somewhere.
    Or maybe an other idea to mount the samba share on boot time

    maybe an automounter would help you?  http://www.google.com/search?q=autofs&s … 8&oe=utf-8

  • Unable to access samba share.

    I'm setting up a ubuntu file server with samba shares and security = user.
    These shares are able to be accessed and work correctly for both linux and windows clients. When I attempt to connect to the shares in OSX I get the usual username/password dialog box, however it doesn't accept the correct credentials.
    I've googled for help for a few hours now, but cannot find anything that helps. I'm guessing its a security setting somewhere in OSX, but I'm not able to find out what.
    Any ideas?

    turns out that I was connecting to it incorrectly.
    correct method is smb:\\workgroup;user@server\share

  • [solved] Can't connect to samba shares

    This is probably my fault, but for the life of me I can't figure this out. I started out trying to get usershares to work by following the wiki at https://wiki.archlinux.org/index.php/samba, and I am unable to connect to the resulting shares either from the local host or from my netbook. It tells me permission denied. I then tried creating a public share with guest access, because I couldn't get the usershares to work. I am unable to get that working either. I have
    chmod 777 -R
    the folder I am sharing, as well as the
    /var/lib/samba/usershare
    folder. Please help. Here is my smb.conf:
    #======================= Global Settings =====================================
    [global]
    workgroup = OSHANNON
    server string = MDSHANNJARO
    hosts allow = 192.168.1. 127.
    log file = /var/log/samba/%m.log
    max log size = 50
    security = user
    map to guest = Bad User
    guest account = nobody
    dns proxy = no
    usershare path = /var/lib/samba/usershare
    usershare max shares = 100
    usershare allow guests = Yes
    usershare owner only = False
    #============================ Share Definitions ==============================
    [Bleach]
    path = /mnt/Data/Bleach
    read only = no
    guest ok = yes
    I tried adding the nobody user since there was no users listed when running
    pdbedit -L
    using
    pdbedit -a -u nobody
    and just pressed enter for the password field. This did not help.
    testparm says
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    Processing section "[Bleach]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions
    [global]
    workgroup = OSHANNON
    server string = MDSHANNJARO
    map to guest = Bad User
    log file = /var/log/samba/%m.log
    max log size = 50
    dns proxy = No
    usershare allow guests = Yes
    usershare max shares = 100
    usershare owner only = No
    usershare path = /var/lib/samba/usershare
    idmap config * : backend = tdb
    hosts allow = 192.168.1., 127.
    [Bleach]
    path = /mnt/Data/Bleach
    read only = No
    guest ok = Yes
    Last edited by mdshann (2014-03-04 06:01:04)

    uninstalled samba, reinstalled it. deleted old config file. created new config with just the contents that the wiki states is necessary for usershares to work. the current smb.conf looks like
    [global]
    usershare path = /var/lib/samba/usershare
    usershare max shares = 100
    usershare allow guests = yes
    usershare owner only = False
    added my user to samba using
    pdbedit -a -u mdshann
    started smbd and nmbd and enabled both. tried to share a folder, caja says samba is not installed. use yaourt to search for caja and find package mate-file-manager-share. installed said package, killed and restarted caja. shared folder and told it to add permissions automatically. checked the boxes to allow guest and to allow users to change files. still I cannot connect. just for reference, I have used the wiki article sections from the beginning of the article through adding a user. I did not use the creating a share section as I want usershares to work through MATE and CAJA. It creates the share and it is visible on the network, I just can't connect to it.
    Pretty much the same as what I tired before, with the same result. Only difference is I haven't tried manually creating the share through smb.conf, but that didn't work before either. No reason to think it will work now, the problem was the same whether I used the gui usershares option or adding the share to smb.conf.
    I was able to get samba working with a very similar config file as in my first post, on arch based manjaro on my server at work. I did not enable or use usershares at work, but creating the shares in smb.conf worked just fine. Why will the same procedure not work on arch? Same packages for the most part, manjaro just adds a few. In fact, when I set up samba on manjaro, I used the arch wiki article, as Manjaro's wiki is sparse. Main reason we used manjaro at work was the speed of installation was much quicker, and we needed the machine back up quickly so we could start backing up our customers data. (I own a PC repair shop.)
    On a side note, this community has served me well in the past the few times I have have issues since I started using arch 5 years ago. Why my post has gone so long without a reply other than being chastised for trying to call attention to a 3 day old unanswered thread is beyond me, but I am not thrilled by it. It has now been a full 2 weeks since my original post. I have never had this issue before, and if I can't bump or somehow call attention to my thread I am unsure of how to get help. Am I supposed to keep posting new threads on the same issue? I would think those would get closed rather quickly if I had. Should I post nonsense on this thread, I mean anything other than the word bump. A discussion of cat videos maybe?

  • Suddenly unable to mount Windows server

    I have a G5 running OS 10.4.4. Until very recently, I regularly connected to a shared folder on a Windows based server. The server uses AFP, but I am not sure of the Windows version. Now when I try to connect, I get an error which reads "The operation cannot be completed because one or more required items cannot be found. (Error code -35)." I can switch to another user on the same machine and connect to the server without problems. Also, I have done an archive and install of the OS. Onyx tells me all plist files are fine. Does anyone have any ideas?
    Many thanks,
    Chris
    G5   Mac OS X (10.4.4)  

    I had the same problem but I have not been able to fix it, however you can still mount the Windows Shares if you connect using smb. The smb mounting works fine but when I copy files from mac to PC it also copies the invisible resource forks to the PC and they are visible oon the PC. I would love to get the afp mount working again.

  • 10.4.3 not mounting Samba shares

    I am having problems connetcting to the SMB Shares on out server. The Server is running Fedora 4 and Samba 3.0.14 I have attached the server logs to show what is happening when I try to connect. Basically I cannot connect to the server or browse the server since it says that I am already connected to the share but the share shows up no where. I cannot also unmount the share or eject it if it decides to show up. I have completely re installed 10.4 and ran the updates via downloads not the software updater. I am not having any other connectivity issues such as email or internet access.
    Any help would be great thanks.
    Server Logs:
    [2005/11/21 10:49:00, 1] smbd/service.c:makeconnectionsnum(648)
    quicksilver-500 (192.168.0.130) connect to service design initially as user production (uid=500, gid=500) (pid 28394)
    [2005/11/21 10:49:00, 3] smbd/secctx.c:set_secctx(288)
    setting sec ctx (0, 0) - secctx_stackndx = 0
    [2005/11/21 10:49:00, 3] smbd/reply.c:replytcon_andX(456)
    tconX service=DESIGN
    [2005/11/21 10:49:00, 3] smbd/process.c:process_smb(1091)
    Transaction 4 of length 39
    [2005/11/21 10:49:00, 3] smbd/process.c:switch_message(886)
    switch message SMBtdis (pid 28394) conn 0x96d8520
    [2005/11/21 10:49:00, 3] smbd/secctx.c:set_secctx(288)
    setting sec ctx (0, 0) - secctx_stackndx = 0
    [2005/11/21 10:49:00, 3] smbd/secctx.c:set_secctx(288)
    setting sec ctx (0, 0) - secctx_stackndx = 0
    [2005/11/21 10:49:00, 1] smbd/service.c:close_cnum(836)
    quicksilver-500 (192.168.0.130) closed connection to service design
    [2005/11/21 10:49:00, 3] smbd/connection.c:yield_connection(69)
    Yielding connection to design
    [2005/11/21 10:49:00, 3] smbd/secctx.c:set_secctx(288)
    setting sec ctx (0, 0) - secctx_stackndx = 0
    [2005/11/21 10:49:00, 3] smbd/process.c:process_smb(1091)
    Transaction 5 of length 43
    [2005/11/21 10:49:00, 3] smbd/process.c:switch_message(886)
    switch message SMBulogoffX (pid 28394) conn 0x0
    [2005/11/21 10:49:00, 3] smbd/secctx.c:set_secctx(288)
    setting sec ctx (0, 0) - secctx_stackndx = 0
    [2005/11/21 10:49:00, 3] smbd/reply.c:reply_ulogoffX(1249)
    ulogoffX vuid=100
    [2005/11/21 10:49:00, 3] smbd/process.c:timeout_processing(1336)
    timeout_processing: End of file from client (client has disconnected).

    What do you mean 'upgraded Fedora'?
    What part?
    (I have a similar problem)

  • Suddenly unable to upload mp3 files using iTunes Match

    I've got a USB turntable and have enjoyed digitizing a lot of LPs and copying them into iTunes.  I digitized a 10-track album just yesterday, and can copy the resulting mp3 files into iTunes, where they play fine, but they won't upload to iCloud using iTunes Match. It gets to the point where it's supposed to upload tracks it cannot match and just sits there.  I use Audacity to digitize from the USB turntable, and it exports as MP3 file. This has worked over many albums but now seems to be stuck. Any thoughts on what the problem might be?

    So my issue appears to be with uploading mp3 files that probably won't match anything in iCloud.
    iTunes match matches Audio files by comparing the audio and not by comparing the tags for the album. My iTunes Library contains more than 500 songs that have been ripped and matched from vinyl records or audio tapes.
    The songs will not match, if there is not the exact same recording in the store, but if the audo quality is good and the tempo of the player was exact, the song will be matched.

  • Yosemite 10.10.1: Finder/CIFS mount problem: wrong folder count/folders not shown @samba shares

    Hello to all,
    we have several MacBook Pro (15" MBP Retina 2012/13"MBP Retina 2014) running. After upgrading to Yosemite 10.10.1 we had one nightmare after the other.
    Most problems could be solved with 3rd party software upgrades but there are several problems with the operating system itselve which can not really  be called a professional productive system at the moment...
    Ok., one thing after the other...here is one of our biggest problems:
    After upgrading from Mavericks or Mountain Lion to Yosemite 10.10.1 the CIFS/SMB mounts to our samba 3.x servers, running on Ubuntu Linux LTS 12.04 makes trouble. We could mount the server shares but after browsing with the Finder the beach ball occures and the Finder hangs forever. Sometimes we could not refresh the Finder, killing the process ended in a complete hang-up of the system which ended in a switch off death blow. This is not amusing because we have 30Tb of customer data there, which has to be worked out.
    We heard about the SMB3 protocol which will be used per default in Yosemite and so we decided after some testings to upgrate our Ubuntu servers to the latest LSF 14.04. release with samba 4.1.6 installed. There was no message from Apple for this SMB protocol release upgrade, never heard something related to Yosemite (Why?).
    Ok, after these server upgrades and disabling most of the Spotlight functions the performance to the CIFS shares was a little bit better as before but now we have another problem with the Finder...if you browse to the shares there are folders missing which have lots of files in it. For example there is a folder with 60 subfolders and 3562 files on the first level in it, the Finder shows 220 files and 15 folders. The Terminal shows a different count with "find . -maxdepth 1 -type d | wc -l" or "find . -maxdepth 1 -type f | wc -l" but there is also a difference to the original file and folder count. It doesn`t matter if the clients are connected via WiFi or Gigabit Ethernet. We have no access problems. We have the same behavior if we set the files and folders to 0777 permissions on the servers. The deletion of the preferences files of the users on the MacBooks does not solve the problem. If we use the "Go To Folder" option and type the path to a folder which is not shown in the Finder you get an result or not. But it is also possible that the result is not correct and there are also still files or subfolders missing.
    In my opinion this is a timeout problem and a "special SMB3 protocol interpretation" which is buggy. We have one hint found in /var/log/system.log:
    "Jan 23 14:35:49 wsosx33.clients.getcom.de KernelEventAgent[69]: tid 54485244 type 'smbfs', mounted on '/Volumes/customersdata2015', from '//x144067:@srvlxp013.servers.getcom.de/customersdata2015', not responding"
    We had no problems with Mavericks at all, we still have no problems with Windows 7 Pro/Ultimate, Windows 2008R2 (native or virtual) or Linux Mint 17/17.1 clients, neither with samba 3.x nor with our actual environment and different newer samba releases.
    We believe that this is a big bug in Yosemite, but we cannot go back to Mavericks because of incompatible TimeCapsule backups. Our workarround at the moment is that we have installed Linux Mint on our MacBooks to get 80% of our daily jobs done, rest has to be done with Windows 7 installed over virtualbox @Linux.
    We have no clue at the moment how to solve this problem, the samba logs do not give any hint. The access from other operating systems is perfect and very fast, but not with Yosemite. We checked different tips found in the internet but nothing helped.
    Does anybody has another idea to get Yosemite working or should we keep Linux Mint until Apple will provide a CIFS/SMB patch and going on with our workaround solution, which is productive at the moment ??? Our staff is not amused and wants one solution and not this workaround with two operating system. We have to decide wether we wait until Apple will get this fixed or we have to switch to Microsoft Windows (which is a No Go for me, but I will not be asked...).
    Thanks in advance
    C.

    Hi William,
    thank you for your response.
    As you can read in my post I talked about CIFS/SMB.
    It makes no difference if we mount the share over CIFS or SMB.
    Folders with lots of files will not be shown even if we use SMB3 or an older protocol.
    As mentioned I believe this is a timeout problem.
    Does anybody know how the CIFS/SMB timeout setting in Yosemite could be changed?
    Kind regards
    C.

  • [SOLVED] Slow read speeds from a DroboFS mounted in fstab via cifs

    I've decided to move all my media over to my drobofs which I have and I've mounted the share on the drobo in fstab this way:
    //mydrobofs/Media /media/drobofs cifs iocharset=utf8,uid=af,gid=users,guest,dir_mode=0775 0 0
    The share is mounted fine at boot but my issue is now the read speeds are very slow. opening a video file with vlc takes 30 seconds or more before it starts playing. Before this was accessing the share on my drobofs via the network tab (samba shares) in Dolphin (using KDE4) and here the video files played immediately in vlc (no delay). The reason why I want to mount the share via cifs and fstab is to move music collection over to the my drobofs and since I'm using Amarok for managing my collection this is the only way to make Amarok see my Music collection on the Drobofs.
    Why am I getting so slow read speeds with cifs?
    Last edited by fettouhi (2012-05-07 05:54:00)

    I did some more testing and seems like the problem has something to do with how many video files there are in the directory. I have some directories with several 100 video files and here I get this long delay but if I play a file that is in a directory by itself or only a few other video files are there, then the video starts immediately (almost). Is there a way to turn off this behaviour in vlc? Is it generating a playlist or what?

Maybe you are looking for