Can't login to AFP shares

    • Can't login to AFP shares

      I'd love some help debugging this issue.
      When I login on my MacBook, I get this error:

      There was a problem connecting to the server “microserver”.
      There are no shares available or you are not allowed to access them on the server. Please contact your system administrator to resolve the problem.

      Latest OMV 4.1.9 with AFP is enabled. The server identifies itself on the network and appears in the MacOS Finder under "Shared".

      Under Users -> click user -> Permissions the user has read/write permissions set for the shared folder.
      Under Users -> Settings the "User home directory" setting is disabled.

      AFP settings are:

      General settings
      Enable: True

      Home directories
      Enable: False

      Advanced settings
      Allow plain passwords: False
      Extra options: ""

      So no extra options in advanced settings.

      Under shares I've added the shared test folder with default options.

      I've tried "Reset Permissions" on the shared folder with the resetperms 3.3 plugin, but that didn't help in this case.

      This is related debug info I could find in the MacOS console.app for the moment I try to login to the share:


      Source Code

      1. info 08:16:26.208700 +0200 UserEventAgent CFDictionaryRef FindApplicationInformationDictionaryGivenASNUsingLocalCache(LSSessionID, LSASNRef)(), information in shared memory with seed 576 was still valid, so using cached info { "AFP Internet Location"="AFP Internet Location", "AFP URL"="AFP URL", "AppleTalk Internet Location"="AppleTalk Internet Location", "Application-Group"="dot-mac", "ApplicationType"="Foreground", "BuildMachineOSBuild"="16B2657", "BundleIdentifierLowerCase"="com.apple.finder", "Burn Folder"="Burn Folder", "CanBecomeFrontmost"=true, "CFBundleDevelopmentRegion"="English", "CFBundleDisplayName"="Finder", "CFBundleDocumentTypes"=( { "CFBundleTypeName"="Folder", "CFBundleTypeOSTypes"=( "fold"), "CFBundleTypeRole"="Editor", "LSIsAppleDefaultForType"=true }, { "CFBundleTypeName"="Predefined Search", "CFBundleTypeRole"="Editor", "LSItemContentTypes"=( "com.apple.finder.predefined-search"), "NSPersistentStoreTypeKey"="Binary" }, { "CFBundleTypeExtensions"=( "savedSearch"), "CFBundleTypeName"="Saved Search Query", "CFBundleTypeRole"="Editor", "LSIsAppleDefaultForType"=true }, { "CFBundleTypeExtensions"<…>
      2. info 08:16:28.346095 +0200 NetAuthSysAgent TAFPSession::AFPLogout: Logging out of session 1e0a230
      3. info 08:16:29.133439 +0200 mDNSResponder 60: DNSServiceResolve(4000, 0, "microserver._afpovertcp._tcp.local.") START PID[7670](NetAuthSysAgent)
      4. info 08:16:29.133121 +0200 NetAuthSysAgent DNSAddressResolver:Resolve Bonjour address microserver._afpovertcp._tcp.local
      5. info 08:16:29.133475 +0200 mDNSResponder mDNS_StartQuery_internal: NumAllInterfaceRecords 14 NumAllInterfaceQuestions 24 microserver._afpovertcp._tcp.local. (SRV)
      6. info 08:16:29.133513 +0200 mDNSResponder mDNS_StartQuery_internal: NumAllInterfaceRecords 14 NumAllInterfaceQuestions 25 microserver._afpovertcp._tcp.local. (TXT)
      7. info 08:16:29.133637 +0200 mDNSResponder 60: DNSServiceResolve(microserver._afpovertcp._tcp.local.) ADD interface 5: 1 microserver._afpovertcp._tcp.local. TXT
      8. info 08:16:29.270402 +0200 mDNSResponder 60: DNSServiceResolve(microserver._afpovertcp._tcp.local.) ADD interface 5: 25 microserver._afpovertcp._tcp.local. SRV 0 0 548 microserver.local.
      9. info 08:16:29.270450 +0200 mDNSResponder 60: DNSServiceResolve(microserver._afpovertcp._tcp.local.) RESULT microserver.local.:548
      10. info 08:16:29.370208 +0200 mDNSResponder 60: DNSServiceResolve(4000, 0, "microserver._afpovertcp._tcp.local.") STOP PID[7670](NetAuthSysAgent)
      11. info 08:16:29.370256 +0200 mDNSResponder mDNS_StopQuery_internal: NumAllInterfaceRecords 14 NumAllInterfaceQuestions 25 microserver._afpovertcp._tcp.local. (TXT)
      12. info 08:16:29.370314 +0200 mDNSResponder mDNS_StopQuery_internal: NumAllInterfaceRecords 14 NumAllInterfaceQuestions 24 microserver._afpovertcp._tcp.local. (SRV)
      13. info 08:16:29.429416 +0200 NetAuthSysAgent TAFPSession::AFPLogout: Logging out of session 1f095f0
      14. default 08:16:29.429489 +0200 NetAuthSysAgent afp_sendmsg: sendmsg failed 0xffffffff errno = 32
      15. default 08:16:29.430111 +0200 NetAuthSysAgent ERROR: AFP_OpenSession - Login failed with 80
      16. info 08:16:30.636291 +0200 NetAuthSysAgent DNSAddressResolver:Resolve Bonjour address microserver._afpovertcp._tcp.local
      17. info 08:16:30.636610 +0200 mDNSResponder 58: DNSServiceResolve(4000, 0, "microserver._afpovertcp._tcp.local.") START PID[7670](NetAuthSysAgent)
      18. info 08:16:30.636636 +0200 mDNSResponder mDNS_StartQuery_internal: NumAllInterfaceRecords 14 NumAllInterfaceQuestions 23 microserver._afpovertcp._tcp.local. (SRV)
      19. info 08:16:30.636661 +0200 mDNSResponder mDNS_StartQuery_internal: NumAllInterfaceRecords 14 NumAllInterfaceQuestions 24 microserver._afpovertcp._tcp.local. (TXT)
      20. info 08:16:30.636732 +0200 mDNSResponder 58: DNSServiceResolve(microserver._afpovertcp._tcp.local.) ADD interface 5: 25 microserver._afpovertcp._tcp.local. SRV 0 0 548 microserver.local.
      21. info 08:16:30.636754 +0200 mDNSResponder 58: DNSServiceResolve(microserver._afpovertcp._tcp.local.) ADD interface 5: 1 microserver._afpovertcp._tcp.local. TXT
      22. info 08:16:30.636775 +0200 mDNSResponder 58: DNSServiceResolve(microserver._afpovertcp._tcp.local.) RESULT microserver.local.:548
      23. info 08:16:30.731959 +0200 mDNSResponder 58: DNSServiceResolve(4000, 0, "microserver._afpovertcp._tcp.local.") STOP PID[7670](NetAuthSysAgent)
      24. info 08:16:30.732003 +0200 mDNSResponder mDNS_StopQuery_internal: NumAllInterfaceRecords 14 NumAllInterfaceQuestions 25 microserver._afpovertcp._tcp.local. (TXT)
      25. info 08:16:30.732043 +0200 mDNSResponder mDNS_StopQuery_internal: NumAllInterfaceRecords 14 NumAllInterfaceQuestions 24 microserver._afpovertcp._tcp.local. (SRV)
      26. info 08:16:30.755071 +0200 NetAuthAgent CFDictionaryRef FindApplicationInformationDictionaryGivenASNUsingLocalCache(LSSessionID, LSASNRef)(), information in shared memory with seed 576 was still valid, so using cached info { "AFP Internet Location"="AFP Internet Location", "AFP URL"="AFP URL", "AppleTalk Internet Location"="AppleTalk Internet Location", "Application-Group"="dot-mac", "ApplicationType"="Foreground", "BuildMachineOSBuild"="16B2657", "BundleIdentifierLowerCase"="com.apple.finder", "Burn Folder"="Burn Folder", "CanBecomeFrontmost"=true, "CFBundleDevelopmentRegion"="English", "CFBundleDisplayName"="Finder", "CFBundleDocumentTypes"=( { "CFBundleTypeName"="Folder", "CFBundleTypeOSTypes"=( "fold"), "CFBundleTypeRole"="Editor", "LSIsAppleDefaultForType"=true }, { "CFBundleTypeName"="Predefined Search", "CFBundleTypeRole"="Editor", "LSItemContentTypes"=( "com.apple.finder.predefined-search"), "NSPersistentStoreTypeKey"="Binary" }, { "CFBundleTypeExtensions"=( "savedSearch"), "CFBundleTypeName"="Saved Search Query", "CFBundleTypeRole"="Editor", "LSIsAppleDefaultForType"=true }, { "CFBundleTypeExtensions"<…>
      27. info 08:16:30.758415 +0200 UserEventAgent CFDictionaryRef FindApplicationInformationDictionaryGivenASNUsingLocalCache(LSSessionID, LSASNRef)(), information in shared memory with seed 576 was still valid, so using cached info { "AFP Internet Location"="AFP Internet Location", "AFP URL"="AFP URL", "AppleTalk Internet Location"="AppleTalk Internet Location", "Application-Group"="dot-mac", "ApplicationType"="Foreground", "BuildMachineOSBuild"="16B2657", "BundleIdentifierLowerCase"="com.apple.finder", "Burn Folder"="Burn Folder", "CanBecomeFrontmost"=true, "CFBundleDevelopmentRegion"="English", "CFBundleDisplayName"="Finder", "CFBundleDocumentTypes"=( { "CFBundleTypeName"="Folder", "CFBundleTypeOSTypes"=( "fold"), "CFBundleTypeRole"="Editor", "LSIsAppleDefaultForType"=true }, { "CFBundleTypeName"="Predefined Search", "CFBundleTypeRole"="Editor", "LSItemContentTypes"=( "com.apple.finder.predefined-search"), "NSPersistentStoreTypeKey"="Binary" }, { "CFBundleTypeExtensions"=( "savedSearch"), "CFBundleTypeName"="Saved Search Query", "CFBundleTypeRole"="Editor", "LSIsAppleDefaultForType"=true }, { "CFBundleTypeExtensions"<…>
      28. info 08:16:32.044294 +0200 UserEventAgent CFDictionaryRef FindApplicationInformationDictionaryGivenASNUsingLocalCache(LSSessionID, LSASNRef)(), information in shared memory with seed 576 was still valid, so using cached info { "AFP Internet Location"="AFP Internet Location", "AFP URL"="AFP URL", "AppleTalk Internet Location"="AppleTalk Internet Location", "Application-Group"="dot-mac", "ApplicationType"="Foreground", "BuildMachineOSBuild"="16B2657", "BundleIdentifierLowerCase"="com.apple.finder", "Burn Folder"="Burn Folder", "CanBecomeFrontmost"=true, "CFBundleDevelopmentRegion"="English", "CFBundleDisplayName"="Finder", "CFBundleDocumentTypes"=( { "CFBundleTypeName"="Folder", "CFBundleTypeOSTypes"=( "fold"), "CFBundleTypeRole"="Editor", "LSIsAppleDefaultForType"=true }, { "CFBundleTypeName"="Predefined Search", "CFBundleTypeRole"="Editor", "LSItemContentTypes"=( "com.apple.finder.predefined-search"), "NSPersistentStoreTypeKey"="Binary" }, { "CFBundleTypeExtensions"=( "savedSearch"), "CFBundleTypeName"="Saved Search Query", "CFBundleTypeRole"="Editor", "LSIsAppleDefaultForType"=true }, { "CFBundleTypeExtensions"<…>
      29. default 08:16:32.052720 +0200 NetAuthSysAgent ERROR: AFP_OpenSession - Login failed with 45
      Display All


      Would be great if someone could help me figure this out.
      I already gave up trying to configure SMB.
      Couldn't get that to work either, so I disabled SMB again.
      AFP seems simpler... so wanted to try that but can't get it working.