[Samba] net password from OS/2 client

Jeremy Allison jra at samba.org
Wed Jun 1 18:41:11 GMT 2005


On Tue, May 31, 2005 at 03:41:52PM -0700, Olivier Eymere wrote:
> 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.

Can you compile with -DDEBUG_PASSWORD and send in a debug level 100 for
an attempt to change the password for a dummy user.

Jeremy.


More information about the samba mailing list