Trouble authenticating with OfficeJet CIFS client

Christopher R. Hertel crh at
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.

Chris -)-----

"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team --     -)-----   Christopher R. Hertel
jCIFS Team --   -)-----   ubiqx development, uninq.
ubiqx Team --     -)-----   crh at
OnLineBook --    -)-----   crh at

More information about the samba-technical mailing list