Resolved Connect to server cache

Discussion in 'OS X Mavericks (10.9)' started by DennisBlah, Sep 29, 2014.

  1. DennisBlah, Sep 29, 2014
    Last edited: Sep 29, 2014

    DennisBlah macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #1
    Hi all,

    I'm in a little problem here. I made an application for all our users.
    This application will connect to a fileshare through terminal like this:
    mount_smbfs cifs://>username<:>password<@pathToShare ~/Public/.updateShare

    This works fine, the app works fine. However when the app is finished it will unmount like it should.

    The thing is when the app is finished, and I try to connect to a network share bij: Finder -> Go -> Connect to server
    It seems like it tries to connect to the server I put in by using the username and password I used in the app.

    Is there any plist or a cache which is saving these credentials ?
     
  2. DennisBlah thread starter macrumors 6502

    DennisBlah

    Joined:
    Dec 5, 2013
    Location:
    The Netherlands
    #2
    Just because I found lots of the same question on other forums I reply on myself with a 'suitable' answer.

    OSX stores your 'connect to server' credentials in a cache. You can view it by typing the following in the terminal
    Code:
    Klist
    By removing this you will have to re-enter your credentials for your 'shares' which are not stored in keychain.
    With the following command you can clear this cache
    Code:
    Kdestroy
    
    Hopefully this will be of any help for other people facing the same issue

    Cheers!
     

Share This Page