[Samba] Fw: password synchronization issue...

John Saroglou johny at yorku.ca
Thu Oct 11 20:58:47 GMT 2007


Can I get some assistance with this?

things work just fine without the synchronization?
Any suggestions?

Does anyone have it working with solaris10?


Begin forwarded message:

Date: Fri, 14 Sep 2007 10:23:31 -0400
From: John Saroglou <johny at yorku.ca>
To: samba at lists.samba.org
Subject: password syncronization issue...


Greetings,

Has anyone had any success with samba-3.25[a-c] under solaris10 amd64
using 'unix password sync=yes' option?

% smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
machine 127.0.0.1 rejected the password change: Error was : RAP86: The
specified password is invalid. Password changed for user sambatest

debugging reveals the following condition:

[2007/09/13 22:05:15, 3] smbd/chgpasswd.c:chat_with_program(430)
  chat_with_program: Dochild for user sambatest (uid=0,gid=0) (as_root
= Yes) [2007/09/13 22:05:15, 3] smbd/chgpasswd.c:dochild(200)
  could not read default terminal attributes on pty
[2007/09/13 22:05:15, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/09/13 22:05:15, 0] smbd/chgpasswd.c:chat_with_program(440)
  chat_with_program: Error: dochild() returned 0
[2007/09/13 22:05:15, 5] lib/util_sock.c:read_socket_with_timeout(485)
  read_socket_with_timeout: timeout read. EOF from client.
[2007/09/13 22:05:15, 2] smbd/chgpasswd.c:expect(285)
  expect: Error 0
[2007/09/13 22:05:15, 3] smbd/chgpasswd.c:talktochild(316)
  Response 1 incorrect
[2007/09/13 22:05:15, 3] smbd/chgpasswd.c:chat_with_program(372)
  chat_with_program: Child failed to change password: sambatest


my config is:

security = user
bind interfaces only = yes
interfaces=e1000g0 lo0
passwd program = /bin/passwd %u
passwd
chat=*New\sPassword:\s%n\nRe-enter\snew\sPassword:\s%n\npasswd:\spassword\ssuccessfully\schanged*\n
passdb backend = tdbsam unix password sync = yes 
encrypt passwords =yes 
local master = no 
log level=5 
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY

Thanks in advance.

-- 
John Saroglou, CNS/Unix Support, York University
Voice:(416)736-2100 x.40214, Fax:(416)736-5830


More information about the samba mailing list