lpotr4

Q: 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.

 

smberror.png

 

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

Close

Q: Unable to disable SMB file sharing: Incorrect password error

  • All replies
  • Helpful answers

first Previous Page 4 of 5 last Next
  • by lpotr4,

    lpotr4 lpotr4 Nov 22, 2011 2:12 PM in response to SanderFromH
    Level 1 (8 points)
    Nov 22, 2011 2:12 PM in response to SanderFromH

    Thank you for that wonderful discovery of a fix! That line switch definitely fixed the sharing problem errors for me! I could even access SMB drives now (don't know if that's just coincidence or a direct effect of the change).

  • by dlgonzo,

    dlgonzo dlgonzo Dec 1, 2011 2:45 PM in response to SanderFromH
    Level 1 (0 points)
    Dec 1, 2011 2:45 PM in response to SanderFromH

    Sander,

     

    I am a little rusty on my terminal commands could you post a step by step list of the commands you used to accomplish your fix?

     

    Thanks

  • by dlgonzo,

    dlgonzo dlgonzo Dec 4, 2011 11:42 PM in response to dlgonzo
    Level 1 (0 points)
    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.

  • by tamas.csomos,

    tamas.csomos tamas.csomos Dec 6, 2011 1:38 PM in response to lpotr4
    Level 1 (0 points)
    Dec 6, 2011 1:38 PM in response to lpotr4

    Thanks SanderFromH. Your solution worked for me too. Thanks again

  • by jbauer,

    jbauer jbauer Dec 9, 2011 8:44 PM in response to tamas.csomos
    Level 1 (0 points)
    Dec 9, 2011 8:44 PM in response to tamas.csomos

    Wow, glad I found this thread!  Worked like a charm!

     

    - Jon

  • by svkrzn,

    svkrzn svkrzn Dec 10, 2011 1:08 AM in response to dlgonzo
    Level 1 (36 points)
    iPhone
    Dec 10, 2011 1:08 AM in response to dlgonzo

    Do you thin i can use Directory Utility to modify these strings? It simplifies more all the things.

     

    Schermata 12-2455906 alle 10.06.23.png

  • by svkrzn,

    svkrzn svkrzn Dec 10, 2011 1:32 AM in response to svkrzn
    Level 1 (36 points)
    iPhone
    Dec 10, 2011 1:32 AM in response to svkrzn

    I can confirm that the Directory Utility is working like a charm for switching the lines. It's the easies way. Save after the editing and voila, the SMB is working again!!

    svkrzn wrote:

     

    Do you thin i can use Directory Utility to modify these strings? It simplifies more all the things.

     

    Schermata 12-2455906 alle 10.06.23.png

  • by SanderFromH,

    SanderFromH SanderFromH Dec 10, 2011 2:07 AM in response to svkrzn
    Level 1 (10 points)
    Dec 10, 2011 2:07 AM in response to svkrzn

    I agree on that, the Directory Utility is probaly the safest way to make the edits.

    Just used to the command line interface from work where it is all AIX.

  • by Besökare,

    Besökare Besökare Dec 11, 2011 11:56 AM in response to SanderFromH
    Level 1 (0 points)
    Dec 11, 2011 11:56 AM in response to SanderFromH

    HI All, found creating a new user worked for me..thanks to this website.  Good Luck!

     

    http://www.krunk4ever.com/blog/

  • by strathglass,

    strathglass strathglass Dec 19, 2011 8:06 PM in response to jmcgeejr
    Level 1 (4 points)
    Notebooks
    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

  • by svkrzn,

    svkrzn svkrzn Dec 19, 2011 10:12 PM in response to strathglass
    Level 1 (36 points)
    iPhone
    Dec 19, 2011 10:12 PM in response to strathglass

    Instead of writing all these lines, why don't you just use Directory Utility ?

  • by D. Hoffmann,

    D. Hoffmann D. Hoffmann Jan 5, 2012 1:53 PM in response to SanderFromH
    Level 1 (37 points)
    Apple TV
    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.

  • by grantdoug,

    grantdoug grantdoug Jan 28, 2012 10:58 AM in response to lpotr4
    Level 1 (0 points)
    Jan 28, 2012 10:58 AM in response to lpotr4

    for goodness sakes, what a hassle!! grrrr... bad, bad apple..

  • by cobaline,

    cobaline cobaline Jan 29, 2012 10:41 AM in response to SanderFromH
    Level 1 (0 points)
    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:

     

    Screen shot 2012-01-29 at 10.38.46 AM.png

     

    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

  • by svkrzn,

    svkrzn svkrzn Jan 29, 2012 11:17 AM in response to cobaline
    Level 1 (36 points)
    iPhone
    Jan 29, 2012 11:17 AM in response to cobaline

    @cobaline, are you logged in as administrator? It's the only thing i could ask, i actually have no idea about why are you missing that button.

first Previous Page 4 of 5 last Next