错误提示:
/usr/bin/ld: cannot find -ldes
collect2: ld returned 1 exit status
make:
*** [changepassword.cgi] Error 1
安装步骤:
./configure --enable-cgidir=/var/www/cgi-bin --enable-language=English --enable-smbpasswd=/etc/samba/smbpasswd --disable-squidpasswd --enable-logo=opentech.jpg
- changepassword 0.9 Configuration
- --------------------------------
- Samba password file: /etc/samba/smbpasswd
- Squid password file: no
- Logo image : opentech.jpg
- Using Language file: languages/English.h
- Apache cgi-bin dir : /var/www/cgi-bin
- configure: creating ./config.status
- config.status: creating Makefile
- Don't forgot to copy opentech.jpg to your website root htdocs
- Now, type "make" and "make install"
_______________________________________________________________________
make
报文章头部错误
解决错误:
This is due to the incompatible file named libdes.a. Below is the
solution
suse10:~/changepassword-0.9 # cd
smbencrypt/
suse10:~/changepassword-0.9/smbencrypt # tar
-xzvf libdes-4.04b.tar.gz
suse10:~/changepassword-0.9/smbencrypt #
cd des/
suse10:~/changepassword-0.9/smbencrypt/des #
make
suse10:~/changepassword-0.9/smbencrypt/des # cp
libdes.a ..
suse10:~/changepassword-0.9/smbencrypt/des # cd
../..
run the "make" and "make install" again from the root of the changepassword
installation source
suse10:~/changepassword-0.9 # make
suse10:~/changepassword-0.9 # make
install
the compilation should be able to go thru.
访问
- Change Password
- Username:
- Old Password:
- New Password:
- Retype New Password:
修改用户密码,system 与smb passwd 都会修改。
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
请注意,smbpasswd 需要在smb.conf配置文件中指定
- security = user
- # passdb backend = tdbsam
- smb passwd file =/etc/samba/smbpasswd
smbpasswd::
To use changepassword you will need to have:
- (Version 1.3.20 or later)
- (Version
2.95.3 or later)
- (Version
2.2.5 or later)
download
阅读(2001) | 评论(0) | 转发(0) |