Mac Finder and smb:// error -36 -- Help from Samba 10
When trying to connect to a remote CIFS share today using the Mac OS X 10.4.10 Finder, I was getting the very unhelpful error:
The finder cannot complete the operation because some data in “smb://myservername” could not be read or written. (Error code -36)
Googling for this (or GoodSearching, in my case) didn’t turn up much of use. The system logs in /var/log/* weren’t of much help either. Far more useful was the smbclient command, which is part of the Samba installation. E.g.:
$ smbclient //server.addomain.univ.edu/Admin -W ADDOMAIN -U USERNAME Password: session setup failed: NT_STATUS_PASSWORD_MUST_CHANGE
Oh! Excellent! That’s right, I’ve not used that password in eons, and it’s expired. Thank god I didn’t waste my time chasing red herrings. Now, how do I change my password from a Mac?
Being a general Windows nincompoop, I actually called technical support first off, but that wasn’t any help. Fifteen seconds of pondering, and 1 minute of reading the man page, and I came up with this:
$ smbpasswd -r aaddomain.univ.edu -U USERNAME Old SMB password: New SMB password: Retype new SMB password: Password changed for user USERNAME
All done!
Comments
-
Unfortunately, even with the correct credentials, error -36 can happen quite often. One blogger suggested it was NETBIOS knocking on the firewall. I'm still trying to sort this out, as it only happens half of the time for me.
-
Knowing how to do a resume is deciding what to include. What to include and what to leave out on a resume is one of the most intimidating parts of the job search procedure and preparation.
-
This articles helps me more.Thanks for your sharing,I will pay more attentions to your blog. Looking forward to your better and better articles.See you next time. tiffany & co
-
I discovered a lot of interesting stuff within your blog especially it’s discussion. From all the remarks on your posts, it looks like this is really a extremely popular site. Keep up the good work.
-
Hmm,i see that you made your points,you are really a cool author.
-
hmm ,i'm not sure if this is what i'm looking for but anyway this is interresting and could be useful some day,thanks for taking time to write such cool stuff
-
Hmm,i see that you made your points,you are really a cool author.
-
hmm ,i'm not sure if this is what i'm looking for but anyway this is interresting and could be useful some day,thanks for taking time to write such cool stuff
-
it needs a bokmark so i can come back to it later ,nice stuff
-
Man where is your RSS feed,don't want to loose this blog ,may help me in my online studies,loads of great stuff