Unix Password Sync Problem

Todd Stiers tas at microdisplay.com
Fri May 7 00:47:19 GMT 1999


Hi

I am using a NTDOM version of Samba quite successfully,
and I am now tackling the issue of syncronizing passwords
between NT and the Unix (Linux) machines serving as the
SAMBA PDC.

When I have:

   unix password sync = yes
#   passwd program = /usr/bin/passwd %u
#   passwd chat = *password* %n\n *password* %n\n *successful*
   passwd program = /usr/local/samba/mdc/passwdwrapper %u
   passwd chat = *password* %n\n *password* %n\n *alldone*

in my smb.conf, (I have my own wrapper program, is this
okay?) password changes on NT fail with:

Unable to change the password on this account (C0000000BE)

and my log.smb generates (debug level = 4) as its final lines
(do I go higher in levels? what am I looking for?)

[1999/05/06 17:32:11, 3] smbd/ipc.c:reply_trans(3601)
  trans <\PIPE\> data=1176 params=0 setup=2
[1999/05/06 17:32:11, 3] smbd/ipc.c:named_pipe(3456)
  named pipe command on <> name
[1999/05/06 17:32:11, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(387)
  search for pipe pnum=7016
[1999/05/06 17:32:11, 1] smbd/ipc.c:api_fd_reply(3280)
  api_fd_reply: INVALID PIPE HANDLE: 7016
[1999/05/06 17:32:11, 3] smbd/ipc.c:api_no_reply(3198)
  Unsupported API fd command
[1999/05/06 17:32:21, 3] lib/doscalls.c:dos_ChDir(329)
  dos_ChDir to /usr/local/samba/lib

The password changes work fine without the  "unix password sync" section
commented out.
The error happens when I use the machine passwd program or my wrapper
program.

Any suggestions? This should work with the NTDOM path, correct?

Thanks,
Todd

--
[--- [--- [--- [--- [--- [--- [--- [--- [--- [---
Todd Stiers
Director of Systems Administration
The MicroDisplay Corporation
http://www.microdisplay.com (510)243-9515x129
---] ---] ---] ---] ---] ---] ---] ---] ---] ---]




More information about the samba-ntdom mailing list