saslauthd: Problems with Plugins under FreeBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

My system:
FreeBSD acsvfbsd04.tld.ch 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Thu Oct
7 18:45:49 CEST 2010
martin@xxxxxxxxxxxxxxxxx:/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
schweizer.martin@xxxxxxxxx
Tel.: +41 32 512 48 54 (VoIP)
Fax: +1 619 3300587


[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux