Rodney M Dyer wrote: > Question Christos, can you logon as administrator, obtain a token as the > user, then xcopy/robocopy the contents of the failed profile directory > out into AFS manually? > Yes. i can do this.
Jeffrey Altman wrote: > Possibly because the user name contains non-ascii characters. username is "ctria" (without quotes)
I don't think that it is a unicode problem because if it was i think that at the userenv log wouldn't say "Roaming profile directory does not exist" when it exists. And i think that it would start copying files till it find the unicode named file. (my profile dir on afs is empty after logoff).
Rolandas Naujikas wrote: > We are using global path names like \\afs\cell\... to profiles without > problems. At logoff OpenAFS client detects from ADS or NT domain or from > local user info where is profile, and if it is in AFS, doesn't delete > AFS token. I'm myself wrote code for some cases, tested, and it really > detects in 99% cases (exept in case of ActiveDirectory). I'm also have > problems when I used profile paths like N:\cell\...
I tried to use global drive to "\\afs\cell" but i have the same problem.
at code of \winnt\afsd\afslogon.c i changed the following at the AFS_Logoff_Event function.
if (strlen(profileDir)) {
DebugEvent("Profile Directory: %s", profileDir);
if (IsPathInAfs(profileDir)) {
MessageBox(0, "TRUE", "AFS Logon", MB_OK);
} else {
MessageBox(0, "FALSE", "AFS Logon", MB_OK);
}
if (FALSE) {
if (code = ktc_ForgetAllTokens())
DebugEvent("AFS_Logoff_Event - ForgetAllTokens failed [%lX]",code);
else
DebugEvent0("AFS_Logoff_Event - ForgetAllTokens succeeded");
} else {
DebugEvent0("AFS_Logoff_Event - Tokens left in place; profile in AFS");
}
I did this first to force that ktc_ForgetAllTokens() is not executed and second to see what IsPathInAfs returns for my profileDir. I got a FALSE messagebox (which means that afslogon.dll thinks that my profile is NOT on AFS) and even that the ktc_ForgetAllTokens() was not executed i still had the same problem.
Christos Triantafyllidis, Aristotles University of Thessaloniki, Greece Department Of Physics
smime.p7s
Description: S/MIME Cryptographic Signature
