From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dirk Kleinhesselink Newsgroups: gmane.os.tru64.managers Subject: samba password sync on tru64 5.1A Date: Fri, 21 Mar 2003 15:50:37 -0800 (PST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1048290650 17018 80.91.224.249 (21 Mar 2003 23:50:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2003 23:50:50 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sat Mar 22 00:50:45 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18wWHc-0004Pv-00 for ; Sat, 22 Mar 2003 00:50:45 +0100 Original-Received: (qmail 3815 invoked by uid 5); 21 Mar 2003 23:50:44 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 3806 invoked by uid 49493); 21 Mar 2003 23:50:43 -0000 Original-Received: from dkleinh@phy.ucsf.edu by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.575992 secs); 21 Mar 2003 23:50:43 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 21 Mar 2003 23:50:43 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HC400J8YI8H70@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 21 Mar 2003 18:50:41 -0500 (EST) Original-Received: from lehrer.ucsf.edu (lehrer.ucsf.edu [128.218.64.95]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HC40032AI8CG7@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 21 Mar 2003 18:50:37 -0500 (EST) Original-Received: from amadeus.ucsf.edu (amadeus.ucsf.edu [128.218.65.107]) by lehrer.ucsf.edu (8.11.6/8.11.6) with ESMTP id h2LNobE751453 for ; Fri, 21 Mar 2003 15:50:37 -0800 (PST) X-Sender: dkleinh@amadeus.ucsf.edu Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:3744 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3744 I have a tru64 5.1A system and I have samba 2.2.8 installed. I want to use the password syncronization feature so that the windows style passwords can simultaneously be changed with the UNIX password. We run NIS and I think I've made the proper entries in the samba configuration file, but it always fails. I've turned on all debugging and I see this in my logs: [2003/03/21 11:11:33, 3] smbd/chgpasswd.c:(428) Dochild for user djk (uid=0,gid=0) [2003/03/21 11:11:33, 3] smbd/chgpasswd.c:(209) Invoking '/bin/yppasswd djk' as password change program. [2003/03/21 11:11:34, 3] smbd/chgpasswd.c:(264) expect: expected [Old] received [Password unchanged. ] match no [2003/03/21 11:11:36, 3] smbd/chgpasswd.c:(264) expect: expected [Old] received [] match no [2003/03/21 11:11:36, 3] smbd/chgpasswd.c:(276) expect: returning False [2003/03/21 11:11:36, 3] smbd/chgpasswd.c:(302) Response 1 incorrect [2003/03/21 11:11:36, 3] smbd/chgpasswd.c:(361) Child failed to change password: djk [2003/03/21 11:11:36, 3] smbd/chgpasswd.c:(406) The status of the process exiting was 256 It looks like the spawned /bin/yppasswd process does not properly communcate with the parent process -- when I invoke it in a shell, it always prompts: Old NIS password: The response the logs produce is the response I get if I run the yppasswd program and just press return at each prompt, then the last thing it will print is: Password unchanged. Anyone know how to get the password synchronization with samba working ? Thanks, Dirk