[Samba] Cant change password from win2k/98 on PDC/Samba 2.2.5

Daniel Martinez daniel_martinez at salutia.com.br
Thu Jun 27 13:15:03 GMT 2002


Hi..

And I cant change password from any windows (2k/98), can anyone gimme a
tip for this error please?

Info: Samba 2.2.5, Redhat 7.3

/etc/samba/smb.conf:

server string = Samba Server
  protocol = NT1
  os level = 64
  domain master = yes
  printcap name = /etc/printcap
  load printers = yes
  log level = 3
  log file = /usr/local/samba/var/%m.log
  security = user
  username level = 8
  password level = 8
  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd
  add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false
%u
  unix password sync = Yes
  passwd program = /usr/bin/passwd %u
#  passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password*
%n\n *passwd:*all*authentication*tokens*updated*successfully*
  passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
*success*
  passwd chat debug = Yes
  obey pam restrictions = yes
  pam password change = Yes
  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  domain admin group = daniel_martinez @domainAdmins
  domain logons = yes
  logon path = \\xx.xx.xx.xx\usuarios\%u\.ntprofile
  # logon script = default.bat
  logon drive = Z:
  logon home = \\xx.xx.xx.xx\%u
   wins support = yes
   wins proxy = yes
   dns proxy = no



Log error for daniel_martinez change password from windows 2k:

[2002/06/27 20:06:49, 3] smbd/process.c:process_smb(877)
  Transaction 17 of length 93
[2002/06/27 20:06:49, 3] smbd/process.c:switch_message(684)
  switch message SMBntcreateX (pid 613)
[2002/06/27 20:06:49, 3] smbd/nttrans.c:nt_open_pipe(559)
  nt_open_pipe: Known pipe samr opening.
[2002/06/27 20:06:49, 3] smbd/process.c:process_smb(877)
  Transaction 18 of length 198
[2002/06/27 20:06:49, 3] smbd/process.c:switch_message(684)
  switch message SMBwriteX (pid 613)
[2002/06/27 20:06:49, 3] rpc_server/srv_pipe.c:api_pipe_bind_req(749)
  api_pipe_bind_req: \PIPE\samr -> \PIPE\lsass
[2002/06/27 20:06:49, 3] smbd/pipes.c:reply_pipe_write_and_X(197)
  writeX-IPC pnum=7022 nwritten=130
[2002/06/27 20:06:49, 3] smbd/process.c:process_smb(877)
  Transaction 19 of length 63
[2002/06/27 20:06:49, 3] smbd/process.c:switch_message(684)
  switch message SMBreadX (pid 613)
[2002/06/27 20:06:49, 3] smbd/pipes.c:reply_pipe_read_and_X(238)
  readX-IPC pnum=7022 min=1024 max=1024 nread=116
[2002/06/27 20:06:49, 3] smbd/process.c:process_smb(877)
  Transaction 20 of length 274
[2002/06/27 20:06:49, 3] smbd/process.c:switch_message(684)
  switch message SMBwriteX (pid 613)
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:push_sec_ctx(281)
  push_sec_ctx(544, 544) : sec_ctx_stack_ndx = 1
[2002/06/27 20:06:49, 3] smbd/uid.c:push_conn_ctx(285)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:pop_sec_ctx(420)
  pop_sec_ctx (544, 544) - sec_ctx_stack_ndx = 0
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:push_sec_ctx(281)
  push_sec_ctx(544, 544) : sec_ctx_stack_ndx = 1
[2002/06/27 20:06:49, 3] smbd/uid.c:push_conn_ctx(285)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:get_current_groups(162)
  get_current_groups: user is in 4 groups: 544, 100, 506, 598
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:pop_sec_ctx(420)
  pop_sec_ctx (544, 544) - sec_ctx_stack_ndx = 0
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:get_current_groups(162)
 get_current_groups: user is in 4 groups: 544, 100, 506, 598
[2002/06/27 20:06:49, 3] smbd/pipes.c:reply_pipe_write_and_X(197)
  writeX-IPC pnum=7022 nwritten=206
[2002/06/27 20:06:49, 3] smbd/process.c:process_smb(877)
  Transaction 21 of length 176
[2002/06/27 20:06:49, 3] smbd/process.c:switch_message(684)
  switch message SMBtrans (pid 613)
[2002/06/27 20:06:49, 3] smbd/ipc.c:reply_trans(479)
  trans <\PIPE\> data=96 params=0 setup=2
[2002/06/27 20:06:49, 3] smbd/ipc.c:named_pipe(334)
  named pipe command on <> name
[2002/06/27 20:06:49, 3] smbd/ipc.c:api_fd_reply(296)
  Got API command 0x26 on pipe "samr" (pnum 7022)free_pipe_context:
destroying talloc pool of size 0
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:push_sec_ctx(281)
  push_sec_ctx(544, 544) : sec_ctx_stack_ndx = 1
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (544, 544) - sec_ctx_stack_ndx = 1
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:set_sec_ctx(319)
  4 user groups:
  544 100 506 598
[2002/06/27 20:06:49, 3] rpc_server/srv_pipe.c:api_pipe_request(1148)
  Doing \PIPE\samr
[2002/06/27 20:06:49, 3] rpc_server/srv_pipe.c:api_rpcTNP(1180)
  api_rpcTNP: pipe 28706 rpc command: SAMR_GET_DOM_PWINFO
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:pop_sec_ctx(420)
  pop_sec_ctx (544, 544) - sec_ctx_stack_ndx = 0
[2002/06/27 20:06:49, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(448)
  free_pipe_context: destroying talloc pool of size 20
[2002/06/27 20:06:49, 3] smbd/process.c:process_smb(877)
  Transaction 22 of length 1312
[2002/06/27 20:06:49, 3] smbd/process.c:switch_message(684)
  switch message SMBtrans (pid 613)
[2002/06/27 20:06:49, 3] smbd/ipc.c:reply_trans(479)
  trans <\PIPE\> data=1232 params=0 setup=2
[2002/06/27 20:06:49, 3] smbd/ipc.c:named_pipe(334)
  named pipe command on <> name
[2002/06/27 20:06:49, 3] smbd/ipc.c:api_fd_reply(296)
  Got API command 0x26 on pipe "samr" (pnum 7022)free_pipe_context:
destroying talloc pool of size 0
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:push_sec_ctx(281)
  push_sec_ctx(544, 544) : sec_ctx_stack_ndx = 1
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (544, 544) - sec_ctx_stack_ndx = 1
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:set_sec_ctx(319)
 4 user groups:
  544 100 506 598
[2002/06/27 20:06:49, 3] rpc_server/srv_pipe.c:api_pipe_request(1148)
  Doing \PIPE\samr
[2002/06/27 20:06:49, 3] rpc_server/srv_pipe.c:api_rpcTNP(1180)
  api_rpcTNP: pipe 28706 rpc command: SAMR_CHGPASSWD_USER
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:push_sec_ctx(281)
  push_sec_ctx(544, 544) : sec_ctx_stack_ndx = 2
[2002/06/27 20:06:49, 3] smbd/uid.c:push_conn_ctx(285)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:pop_sec_ctx(420)
  pop_sec_ctx (544, 544) - sec_ctx_stack_ndx = 1
[2002/06/27 20:06:49, 3] smbd/chgpasswd.c:chgpasswd(464)
  Password change for user: daniel_martinez
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:push_sec_ctx(281)
  push_sec_ctx(544, 544) : sec_ctx_stack_ndx = 2
[2002/06/27 20:06:49, 3] smbd/uid.c:push_conn_ctx(285)
  push_conn_ctx(100) : conn_ctx_stack_ndx = 0
[2002/06/27 20:06:49, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2002/06/27 20:06:49, 3] smbd/chgpasswd.c:chat_with_program(428)
  Dochild for user daniel_martinez (uid=0,gid=0)
[2002/06/27 20:06:53, 3] smbd/chgpasswd.c:talktochild(302)
  Response 1 incorrect
[2002/06/27 20:06:53, 3] smbd/chgpasswd.c:chat_with_program(361)
  Child failed to change password: daniel_martinez
[2002/06/27 20:06:53, 3] smbd/chgpasswd.c:chat_with_program(400)
  The process exited while we were waiting
[2002/06/27 20:06:53, 3] smbd/sec_ctx.c:pop_sec_ctx(420)
  pop_sec_ctx (544, 544) - sec_ctx_stack_ndx = 0
[2002/06/27 20:06:53, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(448)
  free_pipe_context: destroying talloc pool of size 50
[2002/06/27 20:06:53, 3] smbd/process.c:process_smb(877)
  Transaction 23 of length 45
[2002/06/27 20:06:53, 3] smbd/process.c:switch_message(684)
  switch message SMBclose (pid 613)
[2002/06/27 20:07:53, 3] smbd/sec_ctx.c:set_sec_ctx(313)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/06/27 20:08:09, 3] smbd/process.c:process_smb(877)
  Transaction 24 of length 39
[2002/06/27 20:08:09, 3] smbd/process.c:switch_message(684)
  switch message SMBtdis (pid 613)


Sorry for the long message.
Any help is apreciated.

-- 
Regards,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20020627/f22906ff/attachment.bin


More information about the samba mailing list