Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unable to disable SMB file sharing: Incorrect password error

I'm not sure if this problem was present prior to updating to Lion from the latest 10.6, but I can't seem to disable file sharing using SMB on my MBP. I've only known to have used my login password as the same login when I activated SMB share a while back, and now all I get when using the same password is "Incorrect Password". I've tried implementing most of the suggestions I've found in this forum and on the web and that included resetting the password in System Preferences > Users & Groups (Accounts). I logged in using another admin account and it would not also let me turn off SMB sharing and returning an error "Incorrect Password" whenever I typed in what I believe to be the correct password (which is the user/admin pw used to log into the account currently being used). I have also tried: looking through the System Preferences > Security & Privacy (in hopes that FileVault has a hand in this, and it is currently off), then tried repairing Keychain (newp), and lastly, changed the Master Password to no avail. The one suggested fix I didn't try is creating a new user account and migrating all my files to that account. I'd rather not since that is way too much hassle just to turn off SMB sharing.


If anyone has ideas on how to reset or turn off file sharing using SMB, or knows how to resolve this issue, please post some help as this is driving me batty.


User uploaded file


Thanks!


PS. Also another unrealted question: Is AirDrop not supported on a 2008 MBP? For the life of me, I couldn't find AirDrop anywhere on my mac (looked at the sidebar and prefs to enable it and it's not there as an option). My card type is an AirPort Extreme (802.11 a/b/g/n -- with firmware Broadcom BCM43xx 1.0)

MacBook Pro 17" 2.6GHz, Mac OS X (10.6), 200GB/7200 RPM HDD, 4GB RAM, 2008 non-unibody

Posted on Jul 25, 2011 12:35 PM

Reply
61 replies

Dec 4, 2011 11:42 PM in response to dlgonzo

I found a way to accomplish this with a gui interface using plistedit pro. I had to change some permissions to allow access to the <user>.plist file SanderFromH points out all done from the finder gui and the get info context menu option and copied the file to my Home directory. Once I had the file there I just loaded it into Plistedit pro. You can change the format from binary to xml so you can edit the file directly in the lower editing window. You can also use the array/string entries in the Key/Class/Value outline window on top. Before saving the file you have to change the format back to binary then just save it and copy the newly edited file back to the directory SanderFromH points out in his post and then I changed the permissions back and everything in sharing worked as it did before the Lion Upgrade.🙂

Dec 19, 2011 8:06 PM in response to jmcgeejr

To correct jmcgeejr:

The post from SanderFromH does indeed help in the scenario you site, which is also my scenario.

I followed Sander's procedure and afterwards was able to disable all file sharing, including SMB (including being able finally to uncheck beside my acount name under SMB and have that stick!).

Then I rebooted and re-enabled file sharing (including SMB for my account), and then could finally access my new iMac from Windows (via IP address).


I will add details on the plutil commands you need to use in Sander's procedure:

e.g. for <user> whose name is "john":

  1. make a backup copy:
    sudo cp /var/db/dslocal/nodes/Default/users/john.plist
    ~/john.plist.orig
  2. copy out a version to edit:
    sudo cp /var/db/dslocal/nodes/Default/users/john.plist ~/john.plist
  3. convert to editable format:sudo plutil -convert xml1 ~/john.plist
  4. edit the plist file as Sander's describes; I used vim from a console:sudo vim ~/john.plist
  5. convert the edited file back to binary format:
    sudo plutil -convert binary1 ~/john.plist
  6. copy back the updated file to the original location, overwriting the original file:
    sudo cp ~/john.plist /var/db/dslocal/nodes/Default/users/john.plist


-Colin

Jan 5, 2012 1:53 PM in response to SanderFromH

SanderFromH's answer doesn't work for me, when I want to turn on SMB file sharing. My form of ugrade from SL to Lion was to do a clean install and to copy my home folder over, which doesn't belong to an adminstrative account. However the account my home folder belongs to is the one for which I would like to enable SMB sharing.


As a matter of fact, the said lines were already in the order that SanderFromH had to put them in.

Jan 29, 2012 10:41 AM in response to SanderFromH

hi everyone,


so relieving to find a post that describes my exact situation! i feel like i'm really close to being able to make use of sander's (very helpful) suggestion, but i don't know how to find the plist file for my user account. how might i go about locating that file using command line? more specific instructions would be seriously helpful!


also, i tried the directory utility approach, thinking that might be a better option for me, but when i clicked into the directory utility, i saw only two tabs at the top of the screen: services and search policy. i didn't see the third tab that's in svkrzn's screenshot, which appears to be "directory editor". how can i gain access to that third tab? as an example, here's what i'm seeing:


User uploaded file


any help would be very, very much appreciated. this has been bugging me for months, and i'm too close to give up now! 🙂


thx, team,

caroline

Unable to disable SMB file sharing: Incorrect password error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.