OoO  En ce début  d'après-midi ensoleillé  du jeudi  02 août  2007, vers
15:24, "Trent W. Buck" <[EMAIL PROTECTED]> disait:

> I'm probably doing something wrong, but I couldn't work out what.
> After starting xrdp, I connected with Windows XP's mstsc(1) program.
> An xrdp login screen appears; after choosing "sesman-X11rdp" and
> entering username and password, I get

>     connecting to sesman ip 127.0.0.1 port 3350
>     sesman connect ok
>     sending login info to sesman
>     login failed

> And in auth.log, the following

>     Aug  2 23:14:16 baal sesman: (pam_unix) unix_chkpwd waitpid returned -1: 
> No child processes
>     Aug  2 23:14:16 baal sesman: (pam_unix) authentication failure; logname= 
> uid=114 euid=114 tty= ruser= rhost=  user=twb
>     Aug  2 23:16:25 baal sesman: (pam_unix) unix_chkpwd waitpid returned -1: 
> No child processes
>     Aug  2 23:16:25 baal sesman: (pam_unix) authentication failure; logname= 
> uid=114 euid=114 tty= ruser= rhost=  user=root

> The twb user is defined via NIS, and can log in normally via getty and
> gdm.

In fact,  the problem  should be in  /etc/pam.d/sesman. We  use pam_unix
only. I  suppose that pam_unix does  not work against with  NIS. You can
replace the content of /etc/pam.d/sesman with:

@include common-auth
@include common-account
@include common-session
@include common-password

It will work like other services.  I think that the last line is useless
since sesman service does not enable you to change a password.
-- 
BOFH excuse #255:
Standing room only on the bus.

Reply via email to