Problem
I used to be able to map a remote AFPS share to one of my local logical drives on my Microsoft Windows client PC without getting prompted for a password, but now the AFPS server keeps asking me for one. Why?
I normally log in (as "eddie") to my local AFPS domain (SALESDOM) every time I boot my PC. I also use resources on another AFPS server in another domain (UKSALES). An account using the same user name has been set up for me on that server. Using Windows Explorer, I usually connect to a network drive and map a resource/share I need locally. Now it keeps prompting me for a password to use that share. I have tried my usual local password but I get denied access.
Solution
The user "eddie" in this case has an account on two AFPS servers in two separate AFPS domains. He will be prompted for a password in the second (UKSALES) domain when he tries to access the share, if the password for that account is different than that associated with his account on the local server/domain. In the above case, his password has also been changed from what it normally was, so that access is denied.
Reset the password using:# net user eddie <password>Then, if reset to that password as used within SALESDOM, he will not be prompted for a password on subsequent connections.
NOTE: The user "eddie" in the domain "SALESDOM" is not the same user as
"eddie" in "UKSALES". Both are identified by a unique number, an
SID (Security Identifier), and so constitute two different users
according to the AFPS user databases.The AFPS servers also only support User Level security. Share Level security is not supported. Being prompted for a password to a share does, however, appear to the user as the behavior of Share Level security. If requested to access a resource outside its usual login domain, Windows 95 will request access using its local logon name and password. The initial session setup to the server then determines whether this username and password is valid.
NOTE: A better alternative than having similar named accounts in several
domains is to use Trust Relationships. In this case, "eddie" would
exist in only one domain, but would be granted access to resources
in other domains by virtue of a trust relationship set up between
the domains. See also
IT afps/32, "Windows 95 asks for a password when I try to map a drive."
IT afps/21, "What is an AFPS Trust Relationship and how is it created?"