[Samba] passdb/pdb_ldap.c:2651 compilation error SOLVED!!!

marc.jaeger marc.jaeger at laposte.net
Wed Aug 11 14:58:06 GMT 2004


Hi,
I had a compilation error of the "passdb/pdb_ldap.c" file with
samba-3.0.5.

I did not found the source of the problem.
But samba-3.0.6rc2 compiles fine.
So if someone had the same problem than me, try the 3.0.6rc2
version of samba. It worked for me.

++
Marc

------------------------------------------
Subject:
[Samba] passdb/pdb_ldap.c:2651 compilation error !!!
From:
"marc.jaeger" <marc.jaeger at laposte.net>
Date:
Wed, 4 Aug 2004 11:09:18 +0200
To:
"samba" <samba at lists.samba.org>

Hi, I've actually a working version of Samba 2.2.8 but my
bosses wanted me to integer an Active Directory Domain.

So I unsuccessfully tried to install Samba3

The configuration process goes well, but the compilation fails :
##########
bash$make
Using FLAGS =  -O
-I/users/mjaeg001/krb5-1.3.4_compiled/include  -Iinclude
-I/tmp/samba-3.0.5/source/include
-I/tmp/samba-3.0.5/source/ubiqx
-I/tmp/samba-3.0.5/source/smbwrapper
 -I.
-I/users/mjaeg001/updateOXO/samba3/openldap-2.2.15_compiled/include/
-I/users/mjaeg001/krb5-1.3.4_compiled/include
-I/tmp/samba-3.0.5/source
      LIBS = -lcrypt -lresolv -lnsl -ldl
      LDSHFLAGS = -shared 
-L/users/mjaeg001/updateOXO/samba3/openldap-2.2.15_compiled/lib
-L/users/mjaeg001/krb5-1.3.4_compiled/lib
      LDFLAGS =
-L/users/mjaeg001/updateOXO/samba3/openldap-2.2.15_compiled/lib
-L/users/mjaeg001/krb5-1.3.4_compiled/lib
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldapsam_delete_entry':
passdb/pdb_ldap.c:276: warning: assignment makes pointer from
integer without a cast
passdb/pdb_ldap.c: In function `ldapsam_update_sam_account':
passdb/pdb_ldap.c:1480: warning: assignment makes pointer from
integer without a cast
passdb/pdb_ldap.c: In function `ldapsam_add_sam_account':
passdb/pdb_ldap.c:1627: warning: assignment makes pointer from
integer without a cast
passdb/pdb_ldap.c:1675: warning: assignment makes pointer from
integer without a cast
passdb/pdb_ldap.c: In function `ldapsam_add_group_mapping_entry':
passdb/pdb_ldap.c:2078: warning: assignment makes pointer from
integer without a cast
passdb/pdb_ldap.c: In function
`ldapsam_update_group_mapping_entry':
passdb/pdb_ldap.c:2163: warning: assignment makes pointer from
integer without a cast
passdb/pdb_ldap.c: In function `ldapsam_modify_aliasmem':
passdb/pdb_ldap.c:2390: warning: assignment makes pointer from
integer without a cast
passdb/pdb_ldap.c: In function `pdb_init_ldapsam_common':
passdb/pdb_ldap.c:2651: incompatible types in assignment
passdb/pdb_ldap.c: In function `pdb_init_ldapsam':
passdb/pdb_ldap.c:2737: incompatible types in assignment
make: *** [passdb/pdb_ldap.o] Error 1
######


I've to compile the sources on a compilation computer where I
haven't root access. The production computer does NOT have any
compiler nor "make" installed on it.
I've successfully installed OpenLDAP-2.2.15 on a local folder.

If someone would have any advice....
Thx

Marc


Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)





More information about the samba mailing list