[Samba] Samba 2.2.8 LDAP compilie error

Joshua Bernstein josh at engr.arizona.edu
Thu Mar 20 18:28:22 GMT 2003


Hey guys,

    When trying to update our Samba LDAP installation to version 2.2.8 
and compiling with the --with-ldap option I am left with the following:

Using FLAGS =  -O  -I./popt -Iinclude -I./include -I./ubiqx 
-I./smbwrapper -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-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="/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_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-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="/bin/passwd" 
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" 
-DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl -lpam
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `rebindproc':
passdb/pdb_ldap.c:243: `LDAP_SET_REBIND_PROC_ARGS' undeclared (first use 
in this function)
passdb/pdb_ldap.c:243: (Each undeclared identifier is reported only once
passdb/pdb_ldap.c:243: for each function it appears in.)
passdb/pdb_ldap.c: In function `ldap_connect_system':
passdb/pdb_ldap.c:321: `rebindproc_with_state' undeclared (first use in 
this function)
passdb/pdb_ldap.c: In function `pdb_getsampwnam':
passdb/pdb_ldap.c:938: warning: passing arg 2 of `standard_sub_advanced' 
discards qualifiers from pointer target type
make: *** [passdb/pdb_ldap.o] Error 1




-- 
Joshua Bernstein
Systems Administrator
College of Engineering
University of Arizona, Tucson, USA




More information about the samba mailing list