Re: [cifs-protocol] Clarify reserved bytes that are in fact used in LogonSamLogonEx response

2009-08-01 Thread Hongwei Sun
Matthieu, You are right. I also found the same problem last night when I ran debugging on SMB srv component. I was planning to notify you after verifying the SAM_INFO4 structure received from Samba4. The error was directly caused by logoff time being 0, not logon time. After checking

Re: [cifs-protocol] Clarify reserved bytes that are in fact used in LogonSamLogonEx response

2009-08-01 Thread Matthieu Patou
Hello all, I found the problem. Right now samba4 return 0 as logon and logoff time either in the LogonSamLogonEx (SAM_INFO4 structure) or in kerberos (PAC_LOGON_INFO of PAC). It seems that the srv component that handle smb dialogs in windows 2008 server do not appreciate this answer. Tweak