We have the above feature working, but only during quite times - when ptyp0 -> ptyp9 is available. Err, take a look at this snippet of a log file... (The user name is tnichols): Doing SamOEMChangePassword api_SamOEMChangePassword: Change password for <TNICHOLS> get_smbpwd_entry: opening file /usr/local/samba/private/smbpasswd get_smbpwd_entry: search by name: tnichols get_smbpwd_entry: skipping comment or blank line get_smbpwd_entry: skipping comment or blank line get_smbpwd_entry: skipping comment or blank line get_smbpwd_entry: found by name: tnichols get_smbpwd_entry: returning passwd entry for user tnichols, uid 556 Password change for user: tnichols pty: try to open ptyp0, line was /dev/ptyXX pty: try to open ptyp1, line was /dev/ptyp0 pty: try to open ptyp2, line was /dev/ptyp1 pty: try to open ptyp3, line was /dev/ptyp2 pty: try to open ptyp4, line was /dev/ptyp pty: try to open ptyp5, line was /dev/ptyp4 pty: try to open ptyp6, line was /dev/ptyp5 pty: try to open ptyp7, line was /dev/ptyp6 pty: try to open ptyp8, line was /dev/ptyp7 pty: try to open ptyp9, line was /dev/ptyp8 Cannot Allocate pty for password change: tnicholssize=59 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=128 smb_flg2=1 smb_tid=41 smb_pid=6077 smb_uid=101 smb_mid=52866 smt_wct=10 smb_vwv[0]=2 (0x2) smb_vwv[1]=0 (0x0) smb_vwv[2]=0 (0x0) smb_vwv[3]=2 (0x2) smb_vwv[4]=55 (0x37) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=59 (0x3B) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=4 [000] 56 00 00 00 V... write_socket(6,63) write_socket(6,63) wrote 63 got smb length of 35 got message type 0x0 of len 0x23 1998/11/11 13:56:46 Transaction 1778 of length 39 size=35 smb_com=0x71 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=0 smb_flg2=1 smb_tid=41 smb_pid=0 smb_uid=100 smb_mid=52994 smt_wct=0 smb_bcc=0 switch message SMBtdis (pid 18809) chdir to / unbecome_user now uid=(0,0) gid=(0,0) 1998/11/11 13:56:46 pctnichols (132.147.160.2) closed connection to service IPC$ Yielding connection to 41 IPC$ ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com