[Samba] Cannot Allocate pty for password change: (password sync error)

Lasse Taul Bjerre lasse at bjerre.cx
Tue Apr 30 08:36:02 GMT 2002


Hi.

I sorry I've already asked this question, but may mail server went down I I never recived a reply - so here goes again.

I have a Suse 7.3 set up af DC (Samba 2.2.1a), I've set password sync up and it worked perfect. Now "somebody" (moste likely me :o) ) have done something to screw up my passwordsync.

Heres what the log file gives:

[2002/04/20 12:09:04, 3] smbd/chgpasswd.c:chgpasswd(451)
  Password change for user: ltb
[2002/04/20 12:09:04, 3] smbd/chgpasswd.c:findpty(98)
  pty: try to open ptya0, line was /dev/ptyXX
[2002/04/20 12:09:04, 3] smbd/chgpasswd.c:findpty(98)
  pty: try to open ptya1, line was /dev/ptya0
[2002/04/20 12:09:04, 3] smbd/chgpasswd.c:findpty(98)
  pty: try to open ptya2, line was /dev/ptya1
[2002/04/20 12:09:04, 3] smbd/chgpasswd.c:findpty(98)
  pty: try to open ptya3, line was /dev/ptya2
...
[2002/04/20 12:09:04, 3] smbd/chgpasswd.c:findpty(98)
  pty: try to open ptyze, line was /dev/ptyzd
[2002/04/20 12:09:04, 3] smbd/chgpasswd.c:findpty(98)
  pty: try to open ptyzf, line was /dev/ptyze
[2002/04/20 12:09:04, 3] smbd/chgpasswd.c:chat_with_program(322)
  Cannot Allocate pty for password change: ltb

...

As it appears the password chat does not even start, it stop with Can't allocate PTY. 

My Linux knowledge is quiet simple so I don't know what a pty is or what I should do to get it to work again - so if a kind soul out there would be so kind and point me in a direction :)

/Lasse




More information about the samba mailing list