From owner-freebsd-questions@FreeBSD.ORG Fri Sep 5 09:55:52 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16CDA16A4BF for ; Fri, 5 Sep 2003 09:55:52 -0700 (PDT) Received: from mx1.lphp.org (APastourelles-107-1-2-244.w193-251.abo.wanadoo.fr [193.251.52.244]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3598843FDD for ; Fri, 5 Sep 2003 09:55:50 -0700 (PDT) (envelope-from ajacoutot@lphp.org) Received: from lphp.org (ATuileries-108-2-1-107.w217-128.abo.wanadoo.fr [217.128.152.107]) by mx1.lphp.org (8.12.8p1/8.12.8) with ESMTP id h85GtlSn049353 for ; Fri, 5 Sep 2003 18:55:47 +0200 (CEST) (envelope-from ajacoutot@lphp.org) Message-ID: <3F58BF24.1010709@lphp.org> Date: Fri, 05 Sep 2003 18:51:48 +0200 From: Antoine Jacoutot User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: samba ldap+unix password sync X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 16:55:52 -0000 Hi ! I know this question isn't FreeBSD specific, but all the scripts I tried to achieve what I need only seem to work under Linux. I have a FreeBSD-5.1-p2+pam_ldap+nss_ldap+openldap+samba (with ldap support). Ldap authentication works for both unix and samba accounts. What I need is a way of syncing samba password with unix password, both stored in ldap (as ntPassword, lmPassword and userPassword). I'm sure it is doable with samba, but the scripts like ldapsync, ldapchgpasswd... don't work. I'm looking for someone who succeeded in making this work, I'm really out of ideas, and the samba list isn't very helping. Thanks. Antoine