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

How to reset connection to server?

Somehow when clients are logging in they are retaining a login that doesn't allow them to see the shares from the

Snow leopard server. I've trashed managed prefs, trashed the keychain and recreated, but when the client

Logs in, and performs a connect to server command, it auto attempts to login to the server and the account credentials

Are no longer valid.


I'm thinking next it might be a plist acting up somewhere

But where?

Posted on Apr 24, 2011 10:22 AM

Reply
12 replies

Apr 24, 2011 1:07 PM in response to Terry Jackson1

That stuff is stored in Keychain.


There are several keychains around, and centrally including the system keychain. (Did you trash them all, or just the local user's keychain?)


And I too would try an unbind and rebind via directory services.


Also have a look at whether the shares are enabled for guest access. If not, turn that on as a test.

Apr 25, 2011 2:28 PM in response to Terry Jackson1

Ok, removing those did nothing.


I also tried a new out of the box iMac running 10.6.6 and it connected to the shares just fine

through afp. No problems.


OS I know that the Server is fine, afp is working like it should (server wise) and that a brand new client

works out of the box beautifully.


At this point, after trashing plists and and keychains, all that is left is to try and reinstall

the OS, wiping out any corruption there. I'll try that tomorrow.

Apr 25, 2011 5:13 PM in response to Terry Jackson1

You could try unbinding the computer from the directory service. completely deleting the KDC, then rebinding the KDC, then re-binding the computer to the directory service.


1) unbind from directory services

2) In the Utilities folder, open Keychain Access. In the System keychain, find and delete the three com.apple.kerberos.kdc entries - a certificate and a public/private key pair generated from that certificate. (witch it sounds like you may have already done so)

3) In Terminal, run 'sudo rm -fr /var/db/krb5kdc' - this will destroy the local KDC database.

4) In Terminal, run 'sudo /usr/libexec/configureLocalKDC' - this will regenerate the local KDC database, including a new certificate and SHA1 hash.

5) Bind the machine to directory services."

Apr 26, 2011 9:00 AM in response to Terry Jackson1

Titan,

I performed all five steps, & the issue still persists.


On another machine in this same lab, with the same issue,

to rule out accounts, I went to that machine and erased all accounts,

and created a new Admin account.

Logged in as that user, and the issue still occurs:

When trying login to the server via afp at afp://fqdn

it tries to "auto login" into a share with credentials it no longer has

(you cannot login to the share 'xxxx' because you do not have privileges to do so)

What it needs to do is present the proper login screen, so that new credentials

( name and password) can be entered to access the new share.

that window never comes up; it isntead tries to "auto login" with credentials

it stored SOMEWHERE, for an old share.


At this point, I'm going to try re-installing the system folder ( w/ Archive and Install)

as I've ruled out it's not in a user account that is causing the issue, but the system itself,

as by my new test above.

Apr 26, 2011 2:30 PM in response to Terry Jackson1

Reinsalling system didn' work, but i found what did!


Apparently when I set up the original share, I set guest access to r/w for the share (ACL),

And the new share resides upon the same physical drive as the old share.


Well, for the managed group (SUS Bind), I had guest access set to off.


Afp was telling the client to login as guest, and it was guest access

They were attempting to use to connect to the old share.

(which I had disabled in server admin).


Turning off guest access in afp, and removing the guest ACL,

And pow! The clients login correctly, with the authenticating

Screen coming up as normal!

How to reset connection to server?

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