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

Fedora Core 6 & mod_ntlm



I'm trying to replace our company's IIS server with Apache on Linux.  There
is one feature that my users tell me they simply have to have, and that is
single-sign-on authentication of web apps.  I've looked around and find this
is accomplished with Apache using winbind and mod_ntlm.  I've got winbind
working, no problem.  I can authenticate users on my linux box with our PDC,
however I'm having problems getting mod_ntlm to compile.  The source I'm
using is version 2.0.1.  When I run make, I get the following output.
Anyone else have this problem, and maybe figured out a fix?  This is the
only thing preventing me from being able to put that crappy IIS server in a
dark dark closet.

apxs -c -o mod_ntlm.so -Wc,-shared mod_ntlm.c
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1
-I/usr/include/apr-1 -shared -c -o mod_ntlm.lo mod_ntlm.c && touch
mod_ntlm.slo

mod_ntlm.c:44: warning: conflicting types for built-in function 'log'
In file included from mod_ntlm.c:86:
ntlmssp.inc.c: In function 'ntlm_msg_type':
ntlmssp.inc.c:136: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
ntlmssp.inc.c:136: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
ntlmssp.inc.c:136: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
ntlmssp.inc.c:136: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
ntlmssp.inc.c:136: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
ntlmssp.inc.c:136: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
ntlmssp.inc.c:136: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
ntlmssp.inc.c:136: warning: pointer targets in passing argument 1 of
'strncmp' differ in signedness
ntlmssp.inc.c: In function 'ntlm_msg1_gethostname':
ntlmssp.inc.c:247: warning: pointer targets in passing argument 3 of
'ntlm_extract_string' differ in signedness
ntlmssp.inc.c: In function 'ntlm_msg1_getdomainname':
ntlmssp.inc.c:258: warning: pointer targets in passing argument 3 of
'ntlm_extract_string' differ in signedness
ntlmssp.inc.c: In function 'ntlm_msg3_getlm':
ntlmssp.inc.c:269: warning: pointer targets in passing argument 3 of
'ntlm_extract_mem' differ in signedness
ntlmssp.inc.c: In function 'ntlm_msg3_getnt':
ntlmssp.inc.c:280: warning: pointer targets in passing argument 3 of
'ntlm_extract_mem' differ in signedness
ntlmssp.inc.c:283: warning: pointer targets in passing argument 3 of
'ntlm_extract_mem' differ in signedness
ntlmssp.inc.c: In function 'ntlm_msg3_getusername':
ntlmssp.inc.c:297: warning: pointer targets in passing argument 3 of
'ntlm_extract_unicode' differ in signedness
ntlmssp.inc.c:302: warning: pointer targets in passing argument 3 of
'ntlm_extract_string' differ in signedness
ntlmssp.inc.c: In function 'ntlm_msg3_gethostname':
ntlmssp.inc.c:323: warning: pointer targets in passing argument 3 of
'ntlm_extract_unicode' differ in signedness
ntlmssp.inc.c:329: warning: pointer targets in passing argument 3 of
'ntlm_extract_string' differ in signedness
ntlmssp.inc.c: In function 'ntlm_msg3_getdomainname':
ntlmssp.inc.c:344: warning: pointer targets in passing argument 3 of
'ntlm_extract_unicode' differ in signedness
ntlmssp.inc.c:349: warning: pointer targets in passing argument 3 of
'ntlm_extract_string' differ in signedness
ntlmssp.inc.c: In function 'ntlm_encode_msg2':
ntlmssp.inc.c:379: warning: pointer targets in passing argument 1 of
'__builtin___strcpy_chk' differ in signedness
ntlmssp.inc.c:379: warning: pointer targets in passing argument 1 of
'__strcpy_ichk' differ in signedness
ntlmssp.inc.c: In function 'ntlm_encode_msg2_win9x':
ntlmssp.inc.c:393: warning: pointer targets in passing argument 1 of
'__builtin___strcpy_chk' differ in signedness
ntlmssp.inc.c:393: warning: pointer targets in passing argument 1 of
'__strcpy_ichk' differ in signedness
ntlmssp.inc.c:400: warning: pointer targets in passing argument 1 of
'ntlm_put_in_unicode' differ in signedness
ntlmssp.inc.c:400: warning: pointer targets in passing argument 2 of
'ntlm_put_in_unicode' differ in signedness
ntlmssp.inc.c:410: warning: pointer targets in passing argument 1 of
'__builtin___strncpy_chk' differ in signedness
ntlmssp.inc.c:410: warning: pointer targets in passing argument 1 of
'__strncpy_ichk' differ in signedness
In file included from mod_ntlm.c:107:
smbval/smblib.inc.c: At top level:
smbval/smblib.inc.c:25: error: static declaration of 'SMBlib_errno'
follows non-static declaration
smbval/smblib-priv.h:668: error: previous declaration of 'SMBlib_errno' was here
smbval/smblib.inc.c:26: error: static declaration of
'SMBlib_SMB_Error' follows non-static declaration
smbval/smblib-priv.h:669: error: previous declaration of
'SMBlib_SMB_Error' was here
smbval/smblib.inc.c:35: error: static declaration of 'SMBlib_State'
follows non-static declaration
smbval/smblib-priv.h:665: error: previous declaration of 'SMBlib_State' was here
mod_ntlm.c: In function 'uuencode_binary':
mod_ntlm.c:206: warning: pointer targets in passing argument 2 of
'apr_base64_encode' differ in signedness
mod_ntlm.c: In function 'note_ntlm_auth_failure':
mod_ntlm.c:395: warning: pointer targets in assignment differ in signedness
mod_ntlm.c:399: warning: pointer targets in passing argument 3 of
'apr_table_setn' differ in signedness
mod_ntlm.c:403: warning: pointer targets in assignment differ in signedness
mod_ntlm.c:406: warning: pointer targets in passing argument 3 of
'apr_table_addn' differ in signedness
mod_ntlm.c: In function 'send_ntlm_challenge':
mod_ntlm.c:491: warning: pointer targets in passing argument 1 of
'ntlm_encode_msg2' differ in signedness
mod_ntlm.c:492: warning: pointer targets in assignment differ in signedness
mod_ntlm.c:496: warning: pointer targets in passing argument 1 of
'ntlm_encode_msg2_win9x' differ in signedness
mod_ntlm.c:497: warning: pointer targets in assignment differ in signedness
mod_ntlm.c: In function 'ntlm_check_response':
mod_ntlm.c:518: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
mod_ntlm.c:518: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:518: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:518: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
mod_ntlm.c:518: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:518: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:519: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
mod_ntlm.c:519: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:519: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:519: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
mod_ntlm.c:519: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:519: warning: pointer targets in passing argument 2 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:537: warning: pointer targets in passing argument 2 of
'apr_pstrdup' differ in signedness
mod_ntlm.c:539: warning: pointer targets in passing argument 2 of
'apr_pstrdup' differ in signedness
mod_ntlm.c: In function 'groups_for_user':
mod_ntlm.c:590: warning: implicit declaration of function 'apr_pool_sub_make'
mod_ntlm.c: In function 'authenticate_ntlm_user':
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'strlen' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
mod_ntlm.c:703: warning: pointer targets in passing argument 1 of
'__builtin_strcmp' differ in signedness
apxs:Error: Command failed with rc=65536

make: *** [mod_ntlm.so] Error 1


--
Stephen Gilbert
RHCE - 804006953620491


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