代理服务器用户authentication

我已经安装了鱿鱼代理服务器,现在我试图find如何通过networking更改任何帐户的密码。 我search谷歌,并findchpasswd.cgi有这个function。 我下载了chpasswd-cgi.tar.gz并解压:

tar zxf chpasswd-cgi.tar.gz 

然后,我阅读了自述文件以了解如何安装它。 它说只需input./configure,然后我尝试inputmake,然后进行安装。

获取下面的错误

 [root@proxy chpasswd-1.9.1]# make gcc -c -O2 -w -I. -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 -DHAVE_PWD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRSTR=1 -DPREFIX=\"/usr/local/etc/chpasswd\" -DEnglish chpasswd.c chpasswd.c:686: error: static declaration of 'strip_latin' follows non-static declaration chpasswd.c:602: note: previous implicit declaration of 'strip_latin' was here make: *** [chpasswd.o] Error 1 [root@proxy chpasswd-1.9.1]# make install gcc -c -O2 -w -I. -DHAVE_LIBCRYPT=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_CRYPT_H=1 -DHAVE_PWD_H=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRSTR=1 -DPREFIX=\"/usr/local/etc/chpasswd\" -DEnglish chpasswd.c chpasswd.c:686: error: static declaration of 'strip_latin' follows non-static declaration chpasswd.c:602: note: previous implicit declaration of 'strip_latin' was here make: *** [chpasswd.o] Error 1 

我该如何解决?

这可能会有所帮助: http : //www.squid-cache.org/mail-archive/squid-users/200502/0464.html

然而,对于像更新密码这样的函数,我想知道这个脚本的安全性正在被关注,所以如果需要对源代码进行处理来编译它,我会担心它是不是保持。 我要么寻找一个妥善维护的分布,要么确保我有信心自己可以维护它,并有足够充分的理由要采取这一点。

密码文件采用htpasswd格式(来自Apache),所以会有其他软件可用来更新密码。 鱿鱼也可以跟其他authentication后端。 (例如,ldap通常适用于想要authentication使用squid的环境)。 或者,也许chpasswd-cgi可以在您的操作系统发行版的维护包中使用?

如果您确定正在使用的操作系统发行版,则可能会得到更多有用的答案。