[Samba] Samba 2.2.8, Solaris, and LDAP Support

Joshua Bernstein josh at engr.arizona.edu
Wed Mar 19 19:33:29 GMT 2003


Hey all,

    In order to patch our solaris server to 2.2.8 I need to compilie 
with LDAP to support our current installation. But, low and behold, it 
simply won't compile. I've tried the binary packages but they don't seem 
to have LDAP supoprt. Also, the Samba proper CVS version as of last 
night yeilds the same error. I'd usually expect a missing library but I 
can't seem to find one. Any help would be appreciated. The relavent part 
of the output is below:


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