From owner-freebsd-stable@FreeBSD.ORG Mon Oct 11 09:18:23 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95B7C1065672 for ; Mon, 11 Oct 2010 09:18:23 +0000 (UTC) (envelope-from martin@saturn.pcs.ms) Received: from mail6.hostpark.net (mail6.hostpark.net [212.243.197.36]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0F18FC17 for ; Mon, 11 Oct 2010 09:18:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail6.hostpark.net (Postfix) with ESMTP id 443899FF1; Mon, 11 Oct 2010 11:18:20 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail6.hostpark.net ([127.0.0.1]) by localhost (mail6.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id e4nq4QIzrVi6; Mon, 11 Oct 2010 11:18:20 +0200 (CEST) Received: from saturn.pcs.ms (132-157.62-81.cust.bluewin.ch [81.62.157.132]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail6.hostpark.net (Postfix) with ESMTPSA id E0EE1AAE2; Mon, 11 Oct 2010 11:18:19 +0200 (CEST) Received: from saturn.pcs.ms (localhost [127.0.0.1]) by saturn.pcs.ms (8.14.4/8.14.4) with ESMTP id o9B9HeUM005394 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NOT); Mon, 11 Oct 2010 11:17:40 +0200 (CEST) (envelope-from martin@saturn.pcs.ms) Received: (from martin@localhost) by saturn.pcs.ms (8.14.4/8.14.4/Submit) id o9B9HeEl005393; Mon, 11 Oct 2010 11:17:40 +0200 (CEST) (envelope-from martin) Date: Mon, 11 Oct 2010 11:17:40 +0200 From: Martin Schweizer To: freebsd-stable@freebsd.org Message-ID: <20101011091739.GA5388@saturn.pcs.ms> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Organization: PC-Service M. Schweizer GmbH, CH-8608 Bubikon, Switzerland User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Cyrus saslauthd: Problems with plugins X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Schweizer List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Oct 2010 09:18:23 -0000 Hello My system: FreeBSD acsvfbsd04.tld.ch 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Thu Oct 7 18:45:49 CEST 2010 martin@acsvfbsd04.tld.ch:/usr/obj/usr/src/sys/GENERIC i386 Since I updated from FreeBSD 7.2 to 8.1 there seems to be a problem with the Kerberos5 (Heimdal 1.1) which is in the base system . There are some threads around this problem in http://docs.freebsd.org/mail/archive/2010/freebsd-stable/20100725.freebsd-stable.html and http://docs.freebsd.org/mail/archive/2010/freebsd-stable/20100718.freebsd-stable.html. Until now there were no realy workaround which works on my systems. Any way... Under this circumstance I checked saslauthd with truss and there I saw: stat("/usr/lib/plugin/krb5",0xbfbfbf30) ERR#2 'No such file or directory' But I have no ideas what in this directory should be? Because it does not exist. Should there be the SASL plugins? After some study around I set a symlink to lrwxr-xr-x 1 root wheel 20B 7 Okt 11:58 krb5 -> /usr/local/lib/sasl2 (which helds all the SASL plugins) but with no realy success. Since I'm not a programmer I can not interpret the output of truss. With the above symlink I get results like this: [snip] ... stat("/usr/lib/plugin/krb5",{ mode=drwxr-xr-x ,inode=1578253,size=1024,blksize=16384 }) = 0 (0x0) open("/usr/lib/plugin/krb5",O_NONBLOCK,05001342626) = 10 (0xa) fstat(10,{ mode=drwxr-xr-x ,inode=1578253,size=1024,blksize=16384 }) = 0 (0x0) fcntl(10,F_SETFD,FD_CLOEXEC) = 0 (0x0) __sysctl(0xbfbfbc68,0x2,0x284f5860,0xbfbfbc70,0x0,0x0) = 0 (0x0) fstatfs(0xa,0xbfbfbd40,0x1,0xbfbfbcb4,0x280963a0,0xa) = 0 (0x0) getdirentries(0xa,0x28612000,0x1000,0x28602114,0x44f59c4e,0x28097800) = 1024 (0x400) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVT open("/usr/lib/plugin/krb5/.",O_RDONLY,027757736550) = 11 (0xb) fstat(11,{ mode=drwxr-xr-x ,inode=1578253,size=1024,blksize=16384 }) = 0 (0x0) pread(0xb,0x28086d80,0x1000,0x0,0x0,0x3) = 1024 (0x400) close(11) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVT open("/usr/lib/plugin/krb5/..",O_RDONLY,027757737434) = 11 (0xb) fstat(11,{ mode=drwxr-xr-x ,inode=1530887,size=15872,blksize=16384 }) = 0 (0x0) pread(0xb,0x28086d80,0x1000,0x0,0x0,0x0) = 4096 (0x1000) close(11) = 0 (0x0) sigprocmask(SIG_SETMASK,0x0,0x0) = 0 (0x0) sigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVT open("/usr/lib/plugin/krb5/libsasldb.so.2",O_RDONLY,027757737434) = 11 (0xb) ... [snip] It seems that saslauthd reads all files in this directory. But is this correct, resp. what do saslauthd expect there? What do I wrong? Any help is welcome. Regards, -- Martin Schweizer PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22