[Samba] net password from OS/2 client

Jeremy Allison jra at samba.org
Fri Jul 22 01:16:15 GMT 2005


On Wed, Jun 08, 2005 at 05:20:44PM -0700, Olivier Eymere wrote:
> 
> I haven't heard anything for a week so I thought I would repost my question
> and attach the debug level 100 log file.  I cut the log at the point when
> the SetUserPassword message is received, sorry I know it is a lot to add to
> the post but it seemed the most logical point to start from.  At the very
> bottom is the point where smb_pwd_check_ntlmv1 doesn't authenticate
> correctly where I would it expect it ti.
> 
> I am trying to get 'net password ...' to work from an OS/2 client to a Samba
> 3.1.15 server.  However, I get an Invalid Password error whenever I run net
> password.  I am certain that I am providing the correct password.  With
> DEBUG_PASSWORD on in the build and tracing set to 100 I ran 'net view
> \\server' which authenticates correctly and I ran 'net password user
> oldpass netpass' which does not.
> 
> Some important factors:
> 1.  The selected protocol is LANMAN2.1 with either test.  
> 2.  When running net password the SessionSetup andX request is done
> anonymously (the username is blank in the request) but when running net
> view the SessionSetup andX does include the username in the request.
> 3.  In smb_pwd_check_ntlmv1() the Part Password (P16) is the same in both
> traces.

I know it's been a while, but I now have an OS/2 image to test with,
so I should be able to fix all these things soon. Can you log a bug
with bugzilla.samba.org so I can track this ?

Thanks,

	Jeremy.


More information about the samba mailing list