Re: [Xrdp-devel] Problems with non-PAM password authentication.

2014-11-21 Thread Ken Milmore
away. I'm planning to > remove the threads from sesman because it does a bunch for forking. > > Jay > > > > On Sun, Oct 26, 2014 at 1:48 PM, Ken Milmore wrote: >> Hello, >> >> I am using xrdp without PAM, and have been looking at the recentl

[Xrdp-devel] Problems with non-PAM password authentication.

2014-10-27 Thread Ken Milmore
_user_pass() seems to get called from a thread spun off a listening socket, but calls getpwnam, getspnam and crypt which re not re-entrant. Shoudln't there be a mutex or something similar protecting this whole function? Apologies if I've missed some reason why it can't be re-en