Trouble authenticating with OfficeJet CIFS client

Andrew Bartlett abartlet at samba.org
Thu Jul 19 23:20:08 GMT 2007


On Thu, 2007-07-19 at 16:15 -0700, Jeremy Allison wrote:
> On Wed, Jul 18, 2007 at 02:10:45PM -0700, Bob Richmond wrote:
> > The last section of my initial message is the debug 10 log from a failed 
> > authentication:
> > 
> > http://lists.samba.org/archive/samba-technical/2007-July/054559.html
> > 
> > Also note that it was able to authenticate properly if I turned "use 
> > spnego" off in the server.
> 
> Ok, I've finally tracked this down. It's actually a bug in the printer,
> in that we're changing the valid userid between the first sessionsetupX
> and the second one - which Windows clients accept, but the printer keeps
> sending the first uid (100) instead of the one we finally validated
> with (101). I'll look into this - it would be nice to not re-allocate
> a new vuid if it was a partially valid one (that would match a Windows
> server).

Jeremy:  Can you make sure you add a torture test for this one?  I don't
want to forget it for Samba4 (should be a very similar fix).

Interestingly, this would have worked on older versions, because we
didn't read the vuid during SPNEGO :-)

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070720/639e8b9d/attachment.bin


More information about the samba-technical mailing list