Trouble authenticating with OfficeJet CIFS client
Christopher R. Hertel
crh at ubiqx.mn.org
Fri Jul 20 00:33:29 GMT 2007
Jeremy Allison wrote:
> On Thu, Jul 19, 2007 at 04:57:12PM -0700, Bob Richmond wrote:
>> Hmm, I see that now. So, what is the meaning of "User ID" in the context
>> of the first sessionsetupX response for NTLMSSP_CHALLENGE, if the CIFS
>> client hasn't yet specified the username it wants to authenticate as?
> It's a placeholder. On Windows it becomes the eventual uid used, but
> we allocate a new one. I'll look into fixing that.
The [v]uid in the SMB header is not related to real user IDs as assigned by
the OS. It is a token allocated by the server and associated with a login
instance. There may be several valid authentications, all with different
[v]uid's assigned, within the same session.
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the samba-technical