From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 17:16:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB9B9106566B for ; Mon, 19 Jul 2010 17:16:51 +0000 (UTC) (envelope-from mmcgrew1@mail.csuchico.edu) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 764518FC13 for ; Mon, 19 Jul 2010 17:16:51 +0000 (UTC) Received: by iwn35 with SMTP id 35so6042141iwn.13 for ; Mon, 19 Jul 2010 10:16:50 -0700 (PDT) Received: by 10.231.155.206 with SMTP id t14mr6474684ibw.34.1279559807878; Mon, 19 Jul 2010 10:16:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.150.196 with HTTP; Mon, 19 Jul 2010 10:16:27 -0700 (PDT) In-Reply-To: References: From: Michael McGrew Date: Mon, 19 Jul 2010 10:16:27 -0700 Message-ID: To: "Timur I. Bakeyev" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: samba pam_smbpass & passwd seg fault X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2010 17:16:51 -0000 Thank you for the response, I have the latest port version of samba, samba34-3.4.8. The core does not give much info here is a snippet of the end of the trace. Here is a link to the end of the truss trace of the process. http://mmcgrew.net/out #636 0x792f6e69622f7273 in ?? () #637 0x0064777373617070 in ?? () #638 0x247c8d48002454ff in ?? () #639 0x01a1c0c748006a10 in ?? () #640 0x66fdebf4050f0000 in ?? () #641 0x9066669066669066 in ?? () #642 0x00007fffffffec18 in ?? () #643 0x0000000000000001 in ?? () #644 0x00007fffffffec28 in ?? () #645 0x0000000000000010 in ?? () Cannot access memory at address 0x800000000000 /var/log/messages Jul 19 10:11:49 kernel: Jul 19 10:11:49 kernel: pid 58460 (passwd), uid 0: exited on signal 11 On Mon, Jul 19, 2010 at 1:31 AM, Timur I. Bakeyev wrote: > Hi! > > On Mon, Jul 19, 2010 at 4:44 AM, Michael McGrew > wrote: >> I'm trying to sync the local unix account passwords to the samba >> smbpass db using pam. When i run passwd, after it's done it seg faults >> and produces a core dump. The odd thing is that it works, the users >> local unix password gets synced to the smbpass db, but it seg faults. >> Below are my relevant config files. Is this a bug or am I doing >> something wrong? > > The relevant information would be the version of the samba you are > using and analysis of the coredump. > Make sure your samba is compiled with debug information. > > Timur. >