From owner-freebsd-stable@FreeBSD.ORG Fri Jun 3 09:41:38 2005 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C195B16A41C; Fri, 3 Jun 2005 09:41:38 +0000 (GMT) (envelope-from fandino@ng.fadesa.es) Received: from tierra2.ng.fadesa.es (tierra2.ng.fadesa.es [195.55.55.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20AA643D1D; Fri, 3 Jun 2005 09:41:33 +0000 (GMT) (envelope-from fandino@ng.fadesa.es) Received: from [195.55.55.163] ([195.55.55.163]) (authenticated bits=0) by tierra2.ng.fadesa.es (8.12.10/8.12.10) with ESMTP id j539fUnZ021921 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 3 Jun 2005 11:41:32 +0200 Message-ID: <42A025CA.2000107@ng.fadesa.es> Date: Fri, 03 Jun 2005 11:41:30 +0200 From: fandino User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319 X-Accept-Language: gl, en, es MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org References: <429D8B3B.50203@ng.fadesa.es> <29469499@srv.sem.ipt.ru> <429DE188.5020908@ng.fadesa.es> <09783236@srv.sem.ipt.ru> <429EE7D8.4050900@ng.fadesa.es> <65121725@srv.sem.ipt.ru> In-Reply-To: <65121725@srv.sem.ipt.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated-Sender: user fandino from 195.55.55.163 Cc: freebsd-stable@FreeBSD.org Subject: Re: kadmin (heimdal port) ignores the ldap backend X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fandino@ng.fadesa.es List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2005 09:41:38 -0000 Boris Samorodov wrote: >>I removed temporally all /usr/lib/libkadm5srv* libraries and as results >>kadmin was forced to load /usr/local libraries, but I get the same >>problem :-( > >>again kadmin doesn't use ldap and fallback to database files. > > From your dump: > 58516 kadmin CALL access(0x28079000,0) > 58516 kadmin NAMI "/usr/lib/libhdb.so.7" > 58516 kadmin RET access 0 > 58516 kadmin CALL open(0x28076040,0,0xbfbfebcc) > 58516 kadmin NAMI "/usr/lib/libhdb.so.7" > 58516 kadmin RET open 3 > 58516 kadmin CALL fstat(0x3,0xbfbfebcc) > 58516 kadmin RET fstat 0 > 58516 kadmin CALL read(0x3,0x28070c40,0x1000) > 58516 kadmin GIO fd 3 read 4096 bytes > > Thus kadmin is using the system libhdb. The port version shuold be at > /usr/local/lib. Effectively /usr/lib/libhdb.so.7 was the cause of the problem. Thank you Boris. I'd like to ask what is the proper way of treat with this conflict? is it unavoidable? is there any solution? Also it'd be interesting if a warning was printed by the port install script advising the consequences of enable "LDAP backend" in the heimdal port.