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

FPSE2002+pam_ldap+nsswitch=Segmentation fault



 I am trying to set up FP2002SE on
debian (unstable)
Apache 1.3.27
mod-frontpage-mirfak-1.6.2
libldap2_2.0.23,libpam-ldap-140 (self build to allow TLS)

fptest is a ldap user, fptest is a unix group

/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -u fpadm -pw secret -xuser nobody -xgroup fptest -s /etc/apache/virthosts.conf -p 80 -m <somehost>

works - but has one problem: I couldn't hve users FTPing into their web root.

/usr/local/frontpage/version5.0/bin/owsadm.exe -o install -u fpadm -pw secret -xuser fptest -xgroup fptest -s /etc/apache/virthosts.conf -p 80 -m <somehost>

is what I need I think. But it produces a segementation fault:

Starting install, port: 80.

Created: unknown
Version: 5.0.2.2623
Server extensions already installed on port 80.
Reverting to upgrade.

Starting upgrade, port: 80.

Created: unknown
Version: 5.0.2.2623
Segmentation fault

I have tried to locate the error and done an strace. Here are the few final lines:

connect(5, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(5)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1694, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40000000
read(5, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1694
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x40000000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

So I have modified my /etc/pam.d/su file to:

auth       sufficient pam_rootok.so
auth       required     pam_ldap.so debug
account    required     pam_ldap.so debug
session    required     pam_ldap.so debug

which is similiar to the one that works for ftp.

now I can do a
su fptest
and login.

owsadm nevertheless still crashes.

Any help appreciated.

Thanks,
Michael Moritz

PS.: this is my /etc/nsswitch.conf file:

passwd:     files ldap
shadow:     files
group:      files ldap
hosts:      files dns
bootparams: nisplus [NOTFOUND=return] files
ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files
netgroup:   files
publickey:  nisplus
automount:  files
aliases:    files




Reply to: