Hello,
I am a beginner and want to install a web tool (http://changepassword.sourceforge.net/) to let samba users change their password. But the installation has an error. What should I do to install it?
Thanks,
I am a beginner and want to install a web tool (http://changepassword.sourceforge.net/) to let samba users change their password. But the installation has an error. What should I do to install it?
Thanks,
Code:
# make
gcc -c -o smbencrypt/SMBPasswdGen.o smbencrypt/SMBPasswdGen.c
gcc -c -o smbencrypt/encrypt.o smbencrypt/encrypt.c
gcc -c -o smbencrypt/md4.o smbencrypt/md4.c
gcc -c -o smbencrypt/smbencrypt.o smbencrypt/smbencrypt.c
gcc changepassword.c -o changepassword.cgi smbencrypt/SMBPasswdGen.o smbencrypt/md4.o smbencrypt/smbencrypt.o smbencrypt/encrypt.o
-lcrypt -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DHAVE_LIBCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_PWD_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SIGNAL_H=1
-DHAVE_TIME_H=1 -DEnglish -DSMBPASSWD=\"/usr/local/etc/samba/smbpasswd\" -DSQUIDPASSWD=\"no\" -DLOGO=\"none\" -L./smbencrypt -ldes
In file included from changepassword.c:46:
defs.h:12:20: error: shadow.h: No such file or directory
changepassword.c: In function 'main':
changepassword.c:182: warning: assignment makes pointer from integer without a cast
changepassword.c:188: error: dereferencing pointer to incomplete type
changepassword.c:188: error: dereferencing pointer to incomplete type
changepassword.c:226: error: dereferencing pointer to incomplete type
changepassword.c:229: error: dereferencing pointer to incomplete type
changepassword.c:232: error: dereferencing pointer to incomplete type
changepassword.c:235: error: dereferencing pointer to incomplete type
changepassword.c:247: error: dereferencing pointer to incomplete type
changepassword.c:260: error: dereferencing pointer to incomplete type
changepassword.c: In function 'clean_up':
changepassword.c:332: error: dereferencing pointer to incomplete type
changepassword.c:333: error: dereferencing pointer to incomplete type
changepassword.c:334: error: dereferencing pointer to incomplete type
changepassword.c:335: error: dereferencing pointer to incomplete type
changepassword.c:336: error: dereferencing pointer to incomplete type
changepassword.c:337: error: dereferencing pointer to incomplete type
changepassword.c:338: error: dereferencing pointer to incomplete type
changepassword.c:339: error: dereferencing pointer to incomplete type
changepassword.c:340: error: dereferencing pointer to incomplete type
changepassword.c: In function 'changesmbpass':
changepassword.c:429: error: dereferencing pointer to incomplete type
*** Error code 1
Stop in /changepassword-0.9.