免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3968 | 回复: 1
打印 上一主题 下一主题

[FTP] vsftpd 在OpenBSD下无/lib/security/pam_userdb.so [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-02 17:25 |只看该作者 |倒序浏览
在OpenBSD下无/lib/security/pam_userdb.so

OpenBSD 3.9

vsftpd-2.0.5

想实现虚拟用户

但是没有/lib/security/pam_userdb.so

只想用db认证,不想用pam_mysql实现认证。

PAM在OPENBSD下编译也报错。


哪位在OpenBSD下成功实现过?

论坛徽章:
0
2 [报告]
发表于 2006-11-02 17:31 |只看该作者

make那个LINUX的pam报错

# uname
OpenBSD
# pwd
/root/Linux-PAM-0.99.6.3
#

......
./configure没报错
......

# make
make  all-recursive
Making all in libpam
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I..     -DDEFAULT_MODULE_PATH=\"/lib/security/\" -DLIBPAM_COMPILE  -I./include   -DPAM_VERSION=\"0.99.6.3\"  -g -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -MT pam_modutil_getlogin.lo -MD -MP -MF ".deps/pam_modutil_getlogin.Tpo" -c -o pam_modutil_getlogin.lo pam_modutil_getlogin.c;  then mv -f ".deps/pam_modutil_getlogin.Tpo" ".deps/pam_modutil_getlogin.Plo"; else rm -f ".deps/pam_modutil_getlogin.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DDEFAULT_MODULE_PATH=\"/lib/security/\" -DLIBPAM_COMPILE -I./include -DPAM_VERSION=\"0.99.6.3\" -g -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -MT pam_modutil_getlogin.lo -MD -MP -MF .deps/pam_modutil_getlogin.Tpo -c pam_modutil_getlogin.c  -fPIC -DPIC -o .libs/pam_modutil_getlogin.o
pam_modutil_getlogin.c: In function `pam_modutil_getlogin':
pam_modutil_getlogin.c:51: warning: implicit declaration of function `setutent'
pam_modutil_getlogin.c:54: warning: implicit declaration of function `getutline'
pam_modutil_getlogin.c:54: warning: assignment makes pointer from integer without a cast
pam_modutil_getlogin.c:58: error: structure has no member named `ut_user'
pam_modutil_getlogin.c:63: error: structure has no member named `ut_user'
pam_modutil_getlogin.c:63: error: structure has no member named `ut_user'
pam_modutil_getlogin.c:77: warning: implicit declaration of function `endutent'
*** Error code 1

Stop in /root/Linux-PAM-0.99.6.3/libpam.
*** Error code 1

Stop in /root/Linux-PAM-0.99.6.3 (line 362 of Makefile).
*** Error code 1

Stop in /root/Linux-PAM-0.99.6.3 (line 269 of Makefile).
#



没法整下去了~~~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP