Samba --with-pam and winbind

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

 



Hi,
I am trying to compile samba --with-pam
First i got errors with the ./configure, i installed the latest pam source
and ./configure --with-pam is going fine now
When i do then a make i get the following:


lnx-test-sear:/home/samba/samba-2.2.8a/source# make
Using FLAGS =  -O  -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DLOGFILEBASE="/usr/local/samba/var"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin" -DPIDDIR="/usr/local/samba/var/locks"
-DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/usr/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32 =  -O  -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DLOGFILEBASE="/usr/local/samba/var"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf"
-DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin"
-DLOCKDIR="/usr/local/samba/var/locks"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin" -DPIDDIR="/usr/local/samba/var/locks"
-DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/usr/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -ldl -lnsl -lpam
Compiling nsswitch/pam_winbind.c with -fPIC
nsswitch/pam_winbind.c:65: parse error before `*'
nsswitch/pam_winbind.c: In function `converse':
nsswitch/pam_winbind.c:72: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:72: (Each undeclared identifier is reported only once
nsswitch/pam_winbind.c:72: for each function it appears in.)
nsswitch/pam_winbind.c:72: `PAM_CONV' undeclared (first use in this
function)
nsswitch/pam_winbind.c:73: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:74: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:74: `nargs' undeclared (first use in this function)
nsswitch/pam_winbind.c:74: `message' undeclared (first use in this function)
nsswitch/pam_winbind.c:75: `response' undeclared (first use in this
function)
nsswitch/pam_winbind.c:75: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:82: parse error before `*'
nsswitch/pam_winbind.c: In function `_make_remark':
nsswitch/pam_winbind.c:84: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:86: storage size of `msg' isn't known
nsswitch/pam_winbind.c:90: `text' undeclared (first use in this function)
nsswitch/pam_winbind.c:91: `type' undeclared (first use in this function)
nsswitch/pam_winbind.c:94: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:97: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:97: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:97: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:97: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:97: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:97: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c: In function `winbind_request':
nsswitch/pam_winbind.c:111: `PAM_SERVICE_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:122: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c: In function `winbind_auth_request':
nsswitch/pam_winbind.c:154: `PAM_AUTH_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:158: `PAM_USER_UNKNOWN' undeclared (first use in this
function)
nsswitch/pam_winbind.c:164: `PAM_IGNORE' undeclared (first use in this
function)
nsswitch/pam_winbind.c:167: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:156: warning: unreachable code at beginning of switch
statement
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:236: parse error before `*'
nsswitch/pam_winbind.c: In function `_winbind_read_password':
nsswitch/pam_winbind.c:252: `pass' undeclared (first use in this function)
nsswitch/pam_winbind.c:258: `ctrl' undeclared (first use in this function)
nsswitch/pam_winbind.c:258: `PAM_OLDAUTHTOK' undeclared (first use in this
function)
nsswitch/pam_winbind.c:258: `PAM_AUTHTOK' undeclared (first use in this
function)
nsswitch/pam_winbind.c:265: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:266: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:277: `PAM_AUTHTOK_RECOVER_ERR' undeclared (first use
in this function)
nsswitch/pam_winbind.c:289: storage size of `msg' isn't known
nsswitch/pam_winbind.c:295: `comment' undeclared (first use in this
function)
nsswitch/pam_winbind.c:297: `PAM_TEXT_INFO' undeclared (first use in this
function)
nsswitch/pam_winbind.c:305: `PAM_PROMPT_ECHO_OFF' undeclared (first use in
this function)
nsswitch/pam_winbind.c:306: `prompt1' undeclared (first use in this
function)
nsswitch/pam_winbind.c:309: `prompt2' undeclared (first use in this
function)
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:325: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:325: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:330: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:330: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:330: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:331: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:334: `PAM_ERROR_MSG' undeclared (first use in this
function)
nsswitch/pam_winbind.c:348: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:348: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:348: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:348: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c:348: arithmetic on pointer to an incomplete type
nsswitch/pam_winbind.c:348: dereferencing pointer to incomplete type
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:385: syntax error before `int'
nsswitch/pam_winbind.c:385: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_authenticate':
nsswitch/pam_winbind.c:390: `PAM_AUTH_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:393: `argc' undeclared (first use in this function)
nsswitch/pam_winbind.c:393: `argv' undeclared (first use in this function)
nsswitch/pam_winbind.c:396: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:397: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:400: `PAM_SERVICE_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:409: `PAM_AUTHTOK_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:429: syntax error before `int'
nsswitch/pam_winbind.c:429: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_setcred':
nsswitch/pam_winbind.c:432: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:440: syntax error before `int'
nsswitch/pam_winbind.c:440: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_acct_mgmt':
nsswitch/pam_winbind.c:444: `PAM_USER_UNKNOWN' undeclared (first use in this
function)
nsswitch/pam_winbind.c:447: `argc' undeclared (first use in this function)
nsswitch/pam_winbind.c:447: `argv' undeclared (first use in this function)
nsswitch/pam_winbind.c:450: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:451: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:454: `PAM_SERVICE_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:469: `PAM_IGNORE' undeclared (first use in this
function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:486: syntax error before `int'
nsswitch/pam_winbind.c:486: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_open_session':
nsswitch/pam_winbind.c:490: `argc' undeclared (first use in this function)
nsswitch/pam_winbind.c:490: `argv' undeclared (first use in this function)
nsswitch/pam_winbind.c:493: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:496: syntax error before `int'
nsswitch/pam_winbind.c:496: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_close_session':
nsswitch/pam_winbind.c:500: `argc' undeclared (first use in this function)
nsswitch/pam_winbind.c:500: `argv' undeclared (first use in this function)
nsswitch/pam_winbind.c:503: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c: At top level:
nsswitch/pam_winbind.c:506: syntax error before `int'
nsswitch/pam_winbind.c:506: parse error before `*'
nsswitch/pam_winbind.c: In function `pam_sm_chauthtok':
nsswitch/pam_winbind.c:511: `argc' undeclared (first use in this function)
nsswitch/pam_winbind.c:511: `argv' undeclared (first use in this function)
nsswitch/pam_winbind.c:525: `pamh' undeclared (first use in this function)
nsswitch/pam_winbind.c:526: `PAM_SUCCESS' undeclared (first use in this
function)
nsswitch/pam_winbind.c:529: `PAM_USER_UNKNOWN' undeclared (first use in this
function)
nsswitch/pam_winbind.c:546: `flags' undeclared (first use in this function)
nsswitch/pam_winbind.c:546: `PAM_PRELIM_CHECK' undeclared (first use in this
function)
nsswitch/pam_winbind.c:554: `PAM_BUF_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:578: `PAM_ACCT_EXPIRED' undeclared (first use in this
function)
nsswitch/pam_winbind.c:579: `PAM_NEW_AUTHTOK_REQD' undeclared (first use in
this function)
nsswitch/pam_winbind.c:584: `PAM_OLDAUTHTOK' undeclared (first use in this
function)
nsswitch/pam_winbind.c:590: `PAM_UPDATE_AUTHTOK' undeclared (first use in
this function)
nsswitch/pam_winbind.c:614: `PAM_AUTHTOK_ERR' undeclared (first use in this
function)
nsswitch/pam_winbind.c:657: `PAM_SERVICE_ERR' undeclared (first use in this
function)
make: *** [nsswitch/pam_winbind.po] Error 1

Why is that ??

Thnx,

	--TronsTr@xxxxxxxx


_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux