Re: [OpenAFS] Roaming Profiles on AFS! [SOLVED]

2005-01-11 Thread Christos Triantafyllidis
Jeffrey Altman wrote: I won't shoot you provided you send me those tickets. However, I would still like to know why the IsPathInAFS() command is failing. Is it failing because the directory requires tokens and you don't have any? Yes. After i removed this evil command it returned TRUE. smime.p7s

Re: [OpenAFS] Roaming Profiles on AFS! [SOLVED]

2005-01-11 Thread Jeffrey Altman
I won't shoot you provided you send me those tickets. However, I would still like to know why the IsPathInAFS() command is failing. Is it failing because the directory requires tokens and you don't have any? Thanks. Jeffrey Altman Christos Triantafyllidis wrote: Ehm... Please don't shoot me... Pro

Re: [OpenAFS] Roaming Profiles on AFS! [SOLVED]

2005-01-11 Thread Christos Triantafyllidis
Ehm... Please don't shoot me... Problem solved. After searching in Group Policy at Active Directory, i found an evil "@unlog" command in a logoff script. It was from a previous afs install on which afs tokens were not removed on logoff. Thank you all for the help. smime.p7s Description: S/MIM

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-11 Thread Jeffrey Altman
Christos Triantafyllidis wrote: If so how do you explain that on a system:anyuser writable folder the profile logs off normally? I can't explain this until I know why the pioctl() function is failing. There are many places this can fail. Clearly what needs to be done at this point is to debug the

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-11 Thread Christos Triantafyllidis
Jeffrey Altman wrote: If pioctl() is returning -1 it means that you have lost the ability to communicate with the AFS SMB Server. This is bad, very bad. The only way to debug this is going to be adding code to src/sys/pioctl_nt.c to find out exactly where the actual error is occurring and findin

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-11 Thread Jeffrey Altman
Christos Triantafyllidis wrote: Jeffrey Altman wrote: Of course, this does not answer the question of why IsPathInAFS() is returning FALSE. What is the return code from the pioctl() call? If you mean the code variable in IsPathInAFS() it is returning -1 If pioctl() is returning -1 it means that yo

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-11 Thread Christos Triantafyllidis
Jeffrey Altman wrote: If you have removed the AFS_Logoff_Event (you did reboot?), then AFS is not deleting the tokens. Are you deleting the tokens via some other operation? I did reboot. For example, do you have Leash32 (KFW) configured to delete tickets/tokens when Leash is closed? Leash32 is no

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-10 Thread Jeffrey Altman
Christos Triantafyllidis wrote: Jeffrey Altman wrote: The only purpose of the AFS_Logoff_Event is to delete the tokens. Remove the AFS_Logoff_Event from the registry. If you still have a problem, it is not related to the possession of tokens. I just tried this. no luck. If you have removed the AF

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-10 Thread Christos Triantafyllidis
Jeffrey Altman wrote: The only purpose of the AFS_Logoff_Event is to delete the tokens. Remove the AFS_Logoff_Event from the registry. If you still have a problem, it is not related to the possession of tokens. I just tried this. no luck. I tried something more, i put my profile dir in a folder w

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-10 Thread Jeffrey Altman
Christos Triantafyllidis wrote: 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 (IsPat

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-10 Thread Christos Triantafyllidis
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 character

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-09 Thread Rolandas Naujikas
Hello, 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 detect

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-09 Thread Jeffrey Altman
Possibly because the user name contains non-ascii characters. Rodney M Dyer wrote: At 01:48 AM 1/9/05, Jeffrey Altman wrote: When a profile cannot be updated on the network it is left on the local hard disk. Simply perform a recursive directory listing of the profile directory and look for any f

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-08 Thread Rodney M Dyer
At 01:48 AM 1/9/05, Jeffrey Altman wrote: When a profile cannot be updated on the network it is left on the local hard disk. Simply perform a recursive directory listing of the profile directory and look for any filenames which are not entirely ASCII. In other words, if they are non-latin chara

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-08 Thread Jeffrey Altman
When a profile cannot be updated on the network it is left on the local hard disk. Simply perform a recursive directory listing of the profile directory and look for any filenames which are not entirely ASCII. In other words, if they are non-latin characters or contain accents the filenames shoul

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-08 Thread Christos Triantafyllidis
I had already enabled the user profile diagnosis Here is the part of logoff of it (i hope that doesn't flood the list): USERENV(43c.b2c) 14:13:16:889 LibMain: Process Name: C:\WINDOWS\system32\userinit.exe USERENV(170.174) 14:13:22:578 UnloadUserProfile: Entering, hProfile = <0x788> USERENV(170.1

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-07 Thread Rodney M Dyer
Christos, For further diagnosis of your profile problem it may be necessary to find out why Windows is having trouble writing your profile to AFS. We are assuming your token is disappearing, but as Jeffrey Altman suggests it may be something wrong with a filename. To enable user profile diagno

Re: [OpenAFS] Roaming Profiles on AFS

2005-01-07 Thread Jeffrey Altman
You want to be using \\AFS\cell\path\to\profile The profile folder does not need to exist provided that you have obtained AFS tokens. If it does not exist the profile directory will be created and the .Default user profile will be used as a basis for constructing the new profile. The most

[OpenAFS] Roaming Profiles on AFS

2005-01-07 Thread Christos Triantafyllidis
Greetings list, I have a problem storing windows roaming profiles on AFS. i have heimdal kerberos 5 as authentication server, windows 2000 server as authorization server for windows and windows XP as workstations. I have installed openafs 1.3.77 on workstations, mit kerberos 2.6.5 for windows.