Password sync problem on AIX

Jens Rehaag jens at jrehaag.de
Mon Nov 15 13:10:11 GMT 1999


Hello,

we are trying to set up Samba (2.0.6) on AIX 4.3.2. Everything works
fine except for the unix password sync: It seems that the chgpasswd
routine exits somewhere before it invokes the unix passwd program, but
after opening the pty (we tried the newest CVS source also, but this
already failed opening the pty).
Can anybody give a hint what may be wrong? I appended an excerpt from
the log.smb as well as our smb.conf file.

Thank you in advance
  Jens
-------------- next part --------------
[1999/11/15 13:47:29, 5] rpc_server/srv_samr.c:samr_reply_chgpasswd_user(867)
  samr_chgpasswd_user: user: injre wks: \\FELLER
[1999/11/15 13:47:29, 10] passdb/passdb.c:iterate_getsmbpwnam(142)
  search by name: injre
[1999/11/15 13:47:29, 10] passdb/smbpass.c:startsmbfilepwent(45)
  startsmbfilepwent: opening file /usr/local/samba-2.0.6/private/smbpasswd
[1999/11/15 13:47:29, 6] passdb/smbpass.c:getsmbfilepwent(159)
  getsmbfilepwent: skipping comment or blank line
[1999/11/15 13:47:29, 5] passdb/smbpass.c:getsmbfilepwent(258)
  getsmbfilepwent: returning passwd entry for user moivre$, uid 5001
[1999/11/15 13:47:29, 5] passdb/smbpass.c:getsmbfilepwent(258)
  getsmbfilepwent: returning passwd entry for user guest, uid 100
[1999/11/15 13:47:29, 5] passdb/smbpass.c:getsmbfilepwent(258)
  getsmbfilepwent: returning passwd entry for user lpd, uid 9
[1999/11/15 13:47:29, 5] passdb/smbpass.c:getsmbfilepwent(258)
  getsmbfilepwent: returning passwd entry for user imnadm, uid 200
[1999/11/15 13:47:29, 5] passdb/smbpass.c:getsmbfilepwent(258)
  getsmbfilepwent: returning passwd entry for user intk, uid 201
[1999/11/15 13:47:29, 5] passdb/smbpass.c:getsmbfilepwent(258)
  getsmbfilepwent: returning passwd entry for user injre, uid 202
[1999/11/15 13:47:29, 10] passdb/passdb.c:iterate_getsmbpwnam(158)
  found by name: injre
[1999/11/15 13:47:29, 7] passdb/smbpass.c:endsmbfilepwent(81)
  endsmbfilepwent: closed password file.
[1999/11/15 13:47:29, 3] smbd/chgpasswd.c:chgpasswd(388)
  Password change for user: injre
[1999/11/15 13:47:29, 3] smbd/chgpasswd.c:findpty(88)
  pty: try to open ptypf, line was /dev/ptyXX
[1999/11/15 13:47:29, 3] smbd/chgpasswd.c:findpty(92)
  pty: opened /dev/ptypf
[1999/11/15 13:47:29, 3] smbd/chgpasswd.c:chat_with_program(363)
  Dochild for user injre (uid=0,gid=0)
[1999/11/15 13:47:33, 3] smbd/chgpasswd.c:talktochild(266)
  Response 1 incorrect
[1999/11/15 13:47:33, 3] smbd/chgpasswd.c:chat_with_program(310)
  Child failed to change password: injre
[1999/11/15 13:47:33, 3] smbd/chgpasswd.c:chat_with_program(341)
  The process exited while we were waiting
[1999/11/15 13:47:33, 5] rpc_parse/parse_samr.c:init_samr_r_chgpasswd_user(3585)
  init_r_chgpasswd_user
[1999/11/15 13:47:33, 5] rpc_parse/parse_prs.c:prs_debug(37)
  000000 samr_io_r_chgpasswd_user 
[1999/11/15 13:47:33, 5] rpc_parse/parse_prs.c:prs_uint32(372)
      0000 status: c000006a
[1999/11/15 13:47:33, 5] rpc_server/srv_samr.c:samr_reply_chgpasswd_user(884)
  samr_chgpasswd_user: 884
[1999/11/15 13:47:33, 5] rpc_server/srv_pipe.c:api_rpcTNP(1038)
  api_rpcTNP: called api_samr_rpc successfully
[1999/11/15 13:47:33, 5] smbd/uid.c:become_user(259)
  become_user uid=(0,-2) gid=(0,-2)
-------------- next part --------------
# Samba config file created using SWAT

# Global parameters
[global]
	workgroup = TESTGROUP
	encrypt passwords = Yes
	passwd program = /bin/passwd %u
	passwd chat = *New*password* %n\n *new*password* %n\n.
	unix password sync = Yes
	log level = 10
	logon path = \\%N\%U\.WIN-NT.profile
	domain logons = Yes
	preferred master = Yes
	domain master = Yes

[tmp]
	comment = Temp Space
	path = /tmp
	read only = No

[homes]
	comment = Home Directories
	read only = No
	browseable = No


More information about the samba-ntdom mailing list