Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2017
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.30 KB | None | 0 0
  1. mount_smbfs //guest@macbook-pro.local/Files /tmp/files
  2. ls /tmp/files
  3. fileA fileB
  4.  
  5. click MacBook-Pro -> Connect As -> Guest -> Connect
  6. double click Files
  7. ls /Volumes/Files
  8. fileA fileB
  9.  
  10. mount_smbfs //admin@macbook-pro.local/Files /tmp/files
  11. Password for MacBook-pro.local:
  12. mount_smbfs: server rejected the connection: Authentication error
  13.  
  14. click MacBook-Pro -> Connect As -> Registered User
  15. Username: admin
  16. Password: password
  17. -> Connect
  18. double click Files
  19. ls /Volumes/Files
  20. fileA fileB
  21.  
  22. Share files and folders using SMB
  23. Number of users connected: 1
  24.  
  25. mount_afp -i afp://admin@macbook-pro.local/Files /tmp/files
  26. Password:
  27. ls /tmp/files
  28. fileA fileB
  29.  
  30. sudo nano /etc/nsmb.conf
  31. [default]
  32. minauth=none
  33. ^c+X
  34. mount_smbfs smb://admin:password@macbook-pro.local/Files /tmp/files
  35. mount_smbfs: server rejected the connection: Authentication error
  36.  
  37. Click MacBook-Pro
  38. Connect As: Registered User
  39. Name: admin
  40. Password: password
  41. Connect
  42.  
  43. default 09:43:21.257429 -0400 gamed GKClientProxy: clientForBundleID:
  44. default 09:43:21.257543 -0400 gamed GKClientProxy: updateIfRecentlyInstalled
  45. default 09:43:21.258623 -0400 gamed GKClientProxy: clientForBundleID:
  46. default 09:43:21.258751 -0400 gamed GKClientProxy: updateIfRecentlyInstalled
  47. default 09:43:21.277114 -0400 opendirectoryd Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
  48. default 09:43:21.277194 -0400 opendirectoryd <private> completed, delivered 1 result
  49. default 09:43:22.025420 -0400 mount_smbfs subsystem: com.apple.SystemConfiguration, category: SCPreferences, enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 2, enable_private_data: 0
  50. default 09:43:22.030767 -0400 mount_smbfs subsystem: com.apple.network, category: , enable_level: 0, persist_level: 0, default_ttl: 0, info_ttl: 0, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 0, privacy_setting: 2, enable_private_data: 0
  51. default 09:43:22.069146 -0400 opendirectoryd Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
  52. default 09:43:22.069231 -0400 opendirectoryd <private> completed, delivered 1 result
  53. default 09:43:22.069385 -0400 opendirectoryd Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
  54. default 09:43:22.069479 -0400 opendirectoryd <private> completed, delivered 1 result
  55. default 09:43:22.072139 -0400 opendirectoryd Client: <private>, UID: 502, EUID: 502, GID: 20, EGID: 20
  56. default 09:43:22.072212 -0400 opendirectoryd <private> completed, delivered 1 result
  57. error 09:43:22.146661 -0400 kernel loginwindow is not entitled
  58. error 09:43:22.146708 -0400 kernel loginwindow is not entitled
  59. error 09:43:22.146799 -0400 kernel UserEventAgent is not entitled
  60. error 09:43:22.146882 -0400 kernel UserEventAgent is not entitled
  61. default 09:43:22.886004 -0400 AppleIDAuthAgent SERVER Doing account check for "a...n@???????.???". (scheduledAccountCheckDispatcher()/AppleIDAuthd.cpp #545) accountCheckDispatch
  62. default 09:43:22.886074 -0400 AppleIDAuthAgent Checking account <private>
  63. default 09:43:22.887673 -0400 AppleIDAuthAgent _AppleIDAuthAccountForAppleID falling back to account aliases
  64.  
  65. error 09:43:22.891028 -0400 AppleIDAuthAgent ### Request GS token for '<private>' start failed: -101
  66. default 09:43:22.891078 -0400 AppleIDAuthAgent ### Authenticate '<private>' failed: <private>
  67. default 09:43:22.891158 -0400 AppleIDAuthAgent SERVER Didn't succeed with .authenticate, and error is ERROR:"CSIdentityErrorDomain" #-101 kCSIdentityAppleIDInvalidAccountOrPasswordErr { } so releasing session. (___Z31__AppleIDSessionDoCreateSessionPK10__CFStringS1_PK14__CFDictionaryPS1_PS4_PP9__CFError_block_invoke()/AppleIDXMLServerCommunications.cpp #902) queue.session.
  68. default 09:43:22.891399 -0400 AppleIDAuthAgent Next time for '<private>': 2016-10-11 13:43:22 +0000 (497886202.891342 + 0.000000), 0.000000 seconds
  69. default 09:43:22.891514 -0400 AppleIDAuthAgent Next time for '<private>': 2016-10-11 13:43:22 +0000 (497886202.891467 + 0.000000), 0.000000 seconds
  70. default 09:43:22.891560 -0400 AppleIDAuthAgent Next action time for <private>: <private> (because the account does not have a certificate nor an uploaded csr)
  71. default 09:43:25.393805 -0400 CommCenter #watchdog #I Callback Watchdog: checkin 119
  72. default 09:43:25.394014 -0400 CommCenter #watchdog #I Server Watchdog: checkin 119
  73. default 09:43:28.212369 -0400 opendirectoryd Client: <private>, UID: 502, EUID: 502, GID: 20, EGID: 20
  74. default 09:43:28.212476 -0400 opendirectoryd <private> failed with error '<private>' (2)
  75. default 09:43:29.061659 -0400 kernel SmartBattery: finished polling type 4
  76. default 09:43:29.847392 -0400 gamed GKClientProxy: clientForBundleID:
  77. default 09:43:29.847446 -0400 gamed GKClientProxy: updateIfRecentlyInstalled
  78. default 09:43:29.847970 -0400 gamed GKClientProxy: clientForBundleID:
  79. default 09:43:29.847992 -0400 gamed GKClientProxy: updateIfRecentlyInstalled
  80. default 09:43:29.879093 -0400 opendirectoryd Client: <private>, UID: 0, EUID: 0, GID: 0, EGID: 0
  81. default 09:43:29.879183 -0400 opendirectoryd <private> completed, delivered 1 result
  82.  
  83. osascript -e 'tell application "Finder" to mount volume "smb://admin:password@macbook-pro.local/Files"'
  84.  
  85. osascript -e 'tell application "Finder" to mount volume "smb://admin@macbook-pro.local/Files"'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement