Skip navigation
This discussion is archived

SMB Slow Logon... Found why, but not how to fix...

1781 Views 18 Replies Latest reply: Feb 27, 2006 8:34 PM by Andrew Steinberg RSS
  • Etidorhpa Calculating status...
    Finally, after much struggling:

    Being used to the client version of Mac OS X, I changed the IP of the server without using changeip from the command line first. I followed the directions given in "man changeip" INCLUDING THE HOSTNAME:

    changeip /LDAPv3/127.0.0.1 <myOldServerIp> <myNewServerIp> myhostname myhostname

    It would not work any other way. In fact, it almost hosed my system the first time I used this script, because I didn't know that it would toy with the input administrator and directory administrator names/passwords so much. To make a long story short, I input my root admin login info, BECAUSE IT ASKS YOU TO PERFORM THIS AS ROOT, and it subsequently changed my root password type to Open Directory (AKKK!). Luckily I had a backup admin account lying around, and a ssh configured to do authentication based on authorized_keys so I could mess up the administrator account and still have some chance of getting everything working again.

    In defiance of the manual page, I did not change my network settings before doing the changeip the second time, and it worked!

    YMMV (I'm using 10.4.2). Here's my process:
    execute the following from the command line from an administrative root account-

    sudo -s
    <theAdminPassword>
    changeip /LDAPv3/127.0.0.1 <myOldIpAddress> <myNewIpAddress> <myHostName> <myHostNameRepeatedAgainBecauseThisScriptWontWorkUnlessIPutAnotherHostNameHere>

    you will then be prompted for your admin name and password (on 10.4.2 this is your directory administrative name/password for the OpenDirectory master).

    You should see some line confirming that stuff is going to be done

    You should see no errors.

    When everything is done, assuming the script didn't fail you utterly the way it did me the first time, you should execute:
    reboot

    And then hopefully everything will be okay your end.

    Over and out
  • Darren Joyce Calculating status...
    I was just having the same issue with slowness. XP machines connecting to samba shares on OSX. took a long time to connect. I added winbind separator = + to the smb.conf and it suddenly sped up and opening shared was almost instant.

    I'm using a 2003 AD controller to authenticate the XP and OSX boxes, and OSX server to host home folders and manage the osx clients.

    Could be a co-incidence...but please post if it helped you.
    Cheers
    Darren.
  • JohnDCCIU Level 1 Level 1 (10 points)
    Could this be contributing to it for those on 10.3.x?

    http://docs.info.apple.com/article.html?artnum=107899
    Various, Mac OS X (10.4.3)
  • Andrew Steinberg Calculating status...
    THANK YOU THANK YOU THANK YOU.....

    I was struggling with this issue for over a week and overlooked your post - This is why these forums are an excellent source of info!

    The ChangeIP command worked perfectly. I have my 10.4.4 server acting as PDC and was dealing with horribly slow logins from 2 other Win 2k3 servers.

    The fix worked according to plan - did the reboot - then logged in on the Windows box and it took less than 5 seconds.

    And all from the comfort of my couch at home with ARD & RDC.


    Thanks again.
1 2 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.