Re: mount_smbfs gives error when stored crypted pw is used

2017-06-07 Thread Josh Paetzel
On Wed, Jun 7, 2017, at 12:29 PM, O. Hartmann wrote: > Am Wed, 7 Jun 2017 19:22:34 +0200 > Matthias Apitz schrieb: > > > El día miércoles, junio 07, 2017 a las 02:35:31p. m. +0200, Matthias Apitz > > escribió: > > > > > I have located the bug in

Re: mount_smbfs gives error when stored crypted pw is used

2017-06-07 Thread O. Hartmann
Am Wed, 7 Jun 2017 19:22:34 +0200 Matthias Apitz schrieb: > El día miércoles, junio 07, 2017 a las 02:35:31p. m. +0200, Matthias Apitz > escribió: > > > I have located the bug in /usr/src/contrib/smbfs/lib/smb/subr.c > > > > The printf(3C) calls have been added for

Re: mount_smbfs gives error when stored crypted pw is used

2017-06-07 Thread Matthias Apitz
El día miércoles, junio 07, 2017 a las 02:35:31p. m. +0200, Matthias Apitz escribió: > I have located the bug in /usr/src/contrib/smbfs/lib/smb/subr.c > > The printf(3C) calls have been added for debugging; the bug is the > addition of 13 after crypting every char which let the mask used in ^

Re: mount_smbfs gives error when stored crypted pw is used

2017-06-07 Thread Matthias Apitz
I have located the bug in /usr/src/contrib/smbfs/lib/smb/subr.c The printf(3C) calls have been added for debugging; the bug is the addition of 13 after crypting every char which let the mask used in ^ operation exceeding 256, i.e. more than one byte, if the string to be crypted is long enough.

Re: mount_smbfs gives error when stored crypted pw is used

2017-06-06 Thread Matthias Apitz
El día martes, junio 06, 2017 a las 12:00:34p. m. +0200, Matthias Apitz escribió: > > Hello, > > At work I have to run FreeBSD (12-CURRENT, amd64) in vbox on Win7 host > and used successful mount_smbfs to mount the hosts disk to FreeBSD. This > worked fine until the last password change of the