Re: [OpenAFS] AFS service may not have started

2008-07-19 Thread Michal Rybarik



Jeffrey Altman wrote:

clients, I think that the problem is with this
pioctl CreateFile(\\afs\all\_._AFS_IOCTL_._) failed: 0x7B
and the login problem is shown because this one was unsuccessful, but 
maybe I'm not correct at this point.


0x7B is invalid name.  The only part of that name that might be 
considered invalid is \\afs and only if the AFS netbios name is invalid.

How can I check AFS netbios name?


I think that anything further is going to require a debugger and it
would probably be easiest if I drove.  Would that be possible?
What debugger do you mean? I saw something related to debuging in AFS 
installer, I can enable this it will help. Please let me know what to do 
and I will.


Michal
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] AFS service may not have started

2008-07-11 Thread Michal Rybarik

Hello,



Tokens held by the Cache Manager:

pioctl CreateFile(\\afs\all\_._AFS_IOCTL_._) failed: 0x7B
   [The filename, directory name, or volume label syntax is incorr
]
pioctl Explorer logon user: [pichal]
pioctl WNetAddConnection2(\\afs,pichal) failed: 0x52E
pioctl WNetAddConnection2(\\afs\all,pichal) failed: 0x52E
pioctl SamCompatible logon user: [MONEY\pichal]
pioctl WNetAddConnection2(\\afs,MONEY\pichal) failed: 0x52E
pioctl WNetAddConnection2(\\afs\all,MONEY\pichal) failed: 0x52E
AFS device may not have started

Has the service started?  What are the contents of the afsd_init.log 
file?


Is AFS registered as a service name according to nbtstat -n?

Note that 0x52E is Logon Failure.  unknown user name or bad password.
How are you logging on to the workstation?  Are you using a method that
does not make use of a password?   Is NTLM disabled on the machine?


Contents of afsd_init.log and nbtstat -n is below, I think everything 
seems to be OK. Service is started and seems to be running normally. We 
also tried to start/stop service, uninstall  reinstall AFS, but nothing 
helped. We had the same issue on another XP machine few months ago, 
after a weeks of fixing, we reinstalled the whole machine and then it 
started work... On this machine it is the same, AFS has been working 
well on it before, but one day it stopped suddenly and we can't find a 
way to bring it back. There are also around 5 other WinXP clients on the 
same network and also some clients running on Linux (server is Linux 
also), and they are all working well. Login  password is 100% OK, we 
tried also another accounts which works on other AFS clients, I think 
that the problem is with this

pioctl CreateFile(\\afs\all\_._AFS_IOCTL_._) failed: 0x7B
and the login problem is shown because this one was unsuccessful, but 
maybe I'm not correct at this point.


Login to the workstation is local XP account, the same username  
password as on AFS server.


The funny/strange thing is, that the same thing happened also few weeks 
ago on the other WinXP - AFS client suddenly stopped to work, exactly 
the same way. But after a week or so, it started to work again, as if 
nothing happend! We are 100% sure that it wasn't broken by the user, 
because only my colleague and I have access to this computer, and we 
both are admins and we both know what we do :o)


Now afsd_init.log:

17:11:13: Create log file
17:11:13: Created log file
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program 
Files\OpenAFS\Common;C:\Program Files\OpenAFS\Client\Program

29. 6. 2008 17:11:13: OEM Code Page = 852
29. 6. 2008 17:11:13: locale =  C
29. 6. 2008 17:11:13: running on 2000+ - using RegisterServiceCtrlHandlerEx
29. 6. 2008 17:11:13: C:\Program 
Files\OpenAFS\Client\Program\afsd_service.exe version 1.5.3900

29. 6. 2008 17:11:13: VerifyTrust failed: Unsigned executable
29. 6. 2008 17:11:13: Num of Process Modules: 39
29. 6. 2008 17:11:13: C:\Program Files\OpenAFS\Client\Program\libosi.dll 
version 1.5.3900
29. 6. 2008 17:11:13: C:\Program Files\OpenAFS\Common\afsrpc.dll version 
1.5.3900
29. 6. 2008 17:11:13: C:\Program Files\OpenAFS\Common\afspthread.dll 
version 1.5.3900
29. 6. 2008 17:11:13: C:\Program Files\OpenAFS\Common\afsauthent.dll 
version 1.5.3900
29. 6. 2008 17:11:13: C:\Program 
Files\OpenAFS\Client\Program\libafsconf.dll version 1.5.3900

29. 6. 2008 17:11:13: osi_InitDebug code 0
29. 6. 2008 17:11:13: gethostname money
29. 6. 2008 17:11:13: Trace Options = 0
29. 6. 2008 17:11:13: Default trace buffer size 1
29. 6. 2008 17:11:13: osi_LogCreate log addr 995650
29. 6. 2008 17:11:13: Default cache size 98304
29. 6. 2008 17:11:13: Chunk size 262144 (18)
29. 6. 2008 17:11:13: Block size 4096
29. 6. 2008 17:11:13: Defaulting to 4 background daemons
29. 6. 2008 17:11:13: Defaulting to 25 server threads
29. 6. 2008 17:11:13: Default status cache entries: 1
29. 6. 2008 17:11:13: Default volume cache entries: 
29. 6. 2008 17:11:13: Default cell cache entries: 1024
29. 6. 2008 17:11:13: Logoff token transfer on
29. 6. 2008 17:11:13: Logoff token transfer timeout 120 seconds
29. 6. 2008 17:11:13: Default root volume name root.afs
29. 6. 2008 17:11:13: Mount root /afs
29. 6. 2008 17:11:13: Default cache path C:\WINDOWS\TEMP\AFSCache
29. 6. 2008 17:11:13: Cache type is FILE
29. 6. 2008 17:11:13: Cache Validation on Startup
29. 6. 2008 17:11:13: Set to trap on panic
29. 6. 2008 17:11:13: Session startups will be recorded in the Event Log
29. 6. 2008 17:11:13: Sys name x86_win32 i386_w2k i386_nt40
29. 6. 2008 17:11:13: SecurityLevel is crypt
29. 6. 2008 17:11:13: CM ForceAnonVLDB is off
29. 6. 2008 17:11:13: DNS will be used to find AFS cell servers
29. 6. 2008 17:11:13: Freelance client feature is activated
29. 6. 2008 17:11:13: Dot files/dirs will be marked hidden
29. 6. 2008 17:11:13: Maximum number of multiplexed sessions is 50
29. 6. 2008 17:11:13: Maximum number of VCs per server is 100
29. 6. 2008 17:11:13: SMB 

RE: [OpenAFS] AFS service may not have started

2008-07-08 Thread ENEM | Hans Melgers


See hereunder


Hans Melgers wrote:


 Is AFS registered as a service name according to nbtstat -n?
 yes

what is the output of NET VIEW \\AFS ?

Sharenaam   TypeGebruikt als  Opmerking

---
.simpc.com  Schijf
all Schijf
auto1   Schijf  (UNC)
auto2   Schijf  S:
enem.nl Schijf
simpc.com   Schijf
De opdracht is voltooid.

(i'm logged in to the enem.nl cell)

 Note that 0x52E is Logon Failure.  unknown user name or bad password.
 How are you logging on to the workstation?  Are you using a method
 that does not make use of a password?
 No, just plain password with kfw

You do not use KFW to logon to the workstation.  What method are you using to 
logon to the workstation?

Local password

 Is NTLM disabled on the machine?
 Yes, it is. However, i didnt disable it and never saw this problem
 before. Should it be on ?

Not necessarily.

What are the values of

   HKLM\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
  BackConnectionHostNames

AFS

   HKLM\SYSTEM\CurrentControlSet\Control\Lsa
  DisableLoopbackCheck

1



___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info



___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] AFS service may not have started

2008-07-08 Thread Jeffrey Altman

ENEM | Hans Melgers wrote:
 
See hereunder



Hans Melgers wrote:



Is AFS registered as a service name according to nbtstat -n?

yes


what is the output of NET VIEW \\AFS ?

Sharenaam   TypeGebruikt als  Opmerking

---
.simpc.com  Schijf
all Schijf
auto1   Schijf  (UNC)
auto2   Schijf  S:
enem.nl Schijf
simpc.com   Schijf
De opdracht is voltooid.

(i'm logged in to the enem.nl cell)


The presence or absence of tokens has no impact on
communication with the AFS Client Service which is
an SMB Server.  The authentication which is failing
is the SMB authentication which takes place local
to the workstation.  The Microsoft SMB Redirector
client constructs GSS SPNEGO NTLM authentication
requests and the AFS Client Service SMB Server hands
them off to the workstation to authenticate.

SMB Browsing (NET VIEW) does not require authentication
which is why this works when DIR \\AFS\ALL does not.

The next step is to use the SysInternals DbgView tool
to capture the authentication process during an attempt
to execute dir \\afs\all or tokens.

Report any errors.


Note that 0x52E is Logon Failure.  unknown user name or bad password.
How are you logging on to the workstation?  Are you using a method 
that does not make use of a password?

No, just plain password with kfw


You do not use KFW to logon to the workstation.  What method are you using to 
logon to the workstation?

Local password


Is NTLM disabled on the machine?
Yes, it is. However, i didnt disable it and never saw this problem 
before. Should it be on ?


Not necessarily.



What are the values of

   HKLM\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
  BackConnectionHostNames

AFS


This registry value is a REG_MULTI_SZ.  The value should be

  AFS\0
  \0

is it?


   HKLM\SYSTEM\CurrentControlSet\Control\Lsa
  DisableLoopbackCheck

1



___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


RE: [OpenAFS] AFS service may not have started

2008-07-07 Thread ENEM | Hans Melgers

Any news on this one ? I just saw it too on my xp machine.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey Altman
Sent: woensdag 2 juli 2008 6:45
To: Michal Rybárik
Cc: openafs-info@openafs.org
Subject: Re: [OpenAFS] AFS service may not have started

Michal Rybárik wrote:
 Hello,

 AFS client running on Windows XP suddenly stopped to work. After a
 weeks I still can't find a reason why. I upgraded to the newest
 version, checked all setting, googled a lot, but nothing helped. This
 is a output from tokens.exe :


 C:\Program Files\OpenAFS\Client\Programtokens.exe

 Tokens held by the Cache Manager:

 pioctl CreateFile(\\afs\all\_._AFS_IOCTL_._) failed: 0x7B
[The filename, directory name, or volume label syntax is incorr
 ] pioctl Explorer logon user: [pichal] pioctl
 WNetAddConnection2(\\afs,pichal) failed: 0x52E pioctl
 WNetAddConnection2(\\afs\all,pichal) failed: 0x52E pioctl
 SamCompatible logon user: [MONEY\pichal] pioctl
 WNetAddConnection2(\\afs,MONEY\pichal) failed: 0x52E pioctl
 WNetAddConnection2(\\afs\all,MONEY\pichal) failed: 0x52E AFS device
 may not have started


 Thanks,
 Michal

Has the service started?  What are the contents of the afsd_init.log file?

Is AFS registered as a service name according to nbtstat -n?

Note that 0x52E is Logon Failure.  unknown user name or bad password.
How are you logging on to the workstation?  Are you using a method that
does not make use of a password?   Is NTLM disabled on the machine?





___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] AFS service may not have started

2008-07-07 Thread Jeffrey Altman

If you saw the same problem on your machine then
you can send a follow up answering the questions
that were asked.

ENEM | Hans Melgers wrote:
Any news on this one ? I just saw it too on my xp machine.  


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey Altman
Sent: woensdag 2 juli 2008 6:45
To: Michal Rybárik
Cc: openafs-info@openafs.org
Subject: Re: [OpenAFS] AFS service may not have started

Michal Rybárik wrote:

Hello,

AFS client running on Windows XP suddenly stopped to work. After a 
weeks I still can't find a reason why. I upgraded to the newest 
version, checked all setting, googled a lot, but nothing helped. This 
is a output from tokens.exe :



C:\Program Files\OpenAFS\Client\Programtokens.exe

Tokens held by the Cache Manager:

pioctl CreateFile(\\afs\all\_._AFS_IOCTL_._) failed: 0x7B
   [The filename, directory name, or volume label syntax is incorr 
] pioctl Explorer logon user: [pichal] pioctl 
WNetAddConnection2(\\afs,pichal) failed: 0x52E pioctl 
WNetAddConnection2(\\afs\all,pichal) failed: 0x52E pioctl 
SamCompatible logon user: [MONEY\pichal] pioctl 
WNetAddConnection2(\\afs,MONEY\pichal) failed: 0x52E pioctl 
WNetAddConnection2(\\afs\all,MONEY\pichal) failed: 0x52E AFS device 
may not have started



Thanks,
Michal


Has the service started?  What are the contents of the afsd_init.log file?

Is AFS registered as a service name according to nbtstat -n?

Note that 0x52E is Logon Failure.  unknown user name or bad password.
How are you logging on to the workstation?  Are you using a method that
does not make use of a password?   Is NTLM disabled on the machine?





___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info



___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] AFS service may not have started

2008-07-07 Thread Hans Melgers




Is AFS registered as a service name according to nbtstat -n?

yes


Note that 0x52E is Logon Failure.  unknown user name or bad password.
How are you logging on to the workstation?  Are you using a method  
that

does not make use of a password?

No, just plain password with kfw

Is NTLM disabled on the machine?
Yes, it is. However, i didnt disable it and never saw this problem  
before. Should it be on ?


On 7 jul 2008, at 17:31, Jeffrey Altman wrote:



If you saw the same problem on your machine then
you can send a follow up answering the questions
that were asked.

ENEM | Hans Melgers wrote:
Any news on this one ? I just saw it too on my xp machine.  - 
Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
] On Behalf Of Jeffrey Altman

Sent: woensdag 2 juli 2008 6:45
To: Michal Rybárik
Cc: openafs-info@openafs.org
Subject: Re: [OpenAFS] AFS service may not have started
Michal Rybárik wrote:

Hello,

AFS client running on Windows XP suddenly stopped to work. After a  
weeks I still can't find a reason why. I upgraded to the newest  
version, checked all setting, googled a lot, but nothing helped.  
This is a output from tokens.exe :



C:\Program Files\OpenAFS\Client\Programtokens.exe

Tokens held by the Cache Manager:

pioctl CreateFile(\\afs\all\_._AFS_IOCTL_._) failed: 0x7B
  [The filename, directory name, or volume label syntax is  
incorr ] pioctl Explorer logon user: [pichal] pioctl  
WNetAddConnection2(\\afs,pichal) failed: 0x52E pioctl  
WNetAddConnection2(\\afs\all,pichal) failed: 0x52E pioctl  
SamCompatible logon user: [MONEY\pichal] pioctl  
WNetAddConnection2(\\afs,MONEY\pichal) failed: 0x52E pioctl  
WNetAddConnection2(\\afs\all,MONEY\pichal) failed: 0x52E AFS  
device may not have started



Thanks,
Michal
Has the service started?  What are the contents of the  
afsd_init.log file?

Is AFS registered as a service name according to nbtstat -n?
Note that 0x52E is Logon Failure.  unknown user name or bad password.
How are you logging on to the workstation?  Are you using a method  
that

does not make use of a password?   Is NTLM disabled on the machine?
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info



___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] AFS service may not have started

2008-07-01 Thread Michal Rybárik

Hello,

AFS client running on Windows XP suddenly stopped to work. After a weeks 
I still can't find a reason why. I upgraded to the newest version, 
checked all setting, googled a lot, but nothing helped. This is a output 
from tokens.exe :



C:\Program Files\OpenAFS\Client\Programtokens.exe

Tokens held by the Cache Manager:

pioctl CreateFile(\\afs\all\_._AFS_IOCTL_._) failed: 0x7B
   [The filename, directory name, or volume label syntax is incorr
]
pioctl Explorer logon user: [pichal]
pioctl WNetAddConnection2(\\afs,pichal) failed: 0x52E
pioctl WNetAddConnection2(\\afs\all,pichal) failed: 0x52E
pioctl SamCompatible logon user: [MONEY\pichal]
pioctl WNetAddConnection2(\\afs,MONEY\pichal) failed: 0x52E
pioctl WNetAddConnection2(\\afs\all,MONEY\pichal) failed: 0x52E
AFS device may not have started


Thanks,
Michal

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] AFS service may not have started

2008-07-01 Thread Jeffrey Altman

Michal Rybárik wrote:

Hello,

AFS client running on Windows XP suddenly stopped to work. After a weeks 
I still can't find a reason why. I upgraded to the newest version, 
checked all setting, googled a lot, but nothing helped. This is a output 
from tokens.exe :



C:\Program Files\OpenAFS\Client\Programtokens.exe

Tokens held by the Cache Manager:

pioctl CreateFile(\\afs\all\_._AFS_IOCTL_._) failed: 0x7B
   [The filename, directory name, or volume label syntax is incorr
]
pioctl Explorer logon user: [pichal]
pioctl WNetAddConnection2(\\afs,pichal) failed: 0x52E
pioctl WNetAddConnection2(\\afs\all,pichal) failed: 0x52E
pioctl SamCompatible logon user: [MONEY\pichal]
pioctl WNetAddConnection2(\\afs,MONEY\pichal) failed: 0x52E
pioctl WNetAddConnection2(\\afs\all,MONEY\pichal) failed: 0x52E
AFS device may not have started


Thanks,
Michal


Has the service started?  What are the contents of the afsd_init.log file?

Is AFS registered as a service name according to nbtstat -n?

Note that 0x52E is Logon Failure.  unknown user name or bad password.
How are you logging on to the workstation?  Are you using a method that
does not make use of a password?   Is NTLM disabled on the machine?




smime.p7s
Description: S/MIME Cryptographic Signature