[Samba] passdb/pdb_ldap.c LBER_USE_DER undeclared
Bruno RICHARD
bruno.richard at lium.univ-lemans.fr
Tue Nov 29 11:14:57 GMT 2005
Hi all,
I can't succeed to compil samba-3.0.20b on a solaris 10 box with ldapsam
parameter.
The configure is ok:
./configure --prefix=/export/zoe/samba-3.0.20b --with-pam
--with-ldap=/usr/local/openldap-2.2.26 --with-ldapsam
--with-krb5=/usr/local/krb5-1.4.3
but when I try to do the make I have the following error:
[zoe.root:56] make
Using FLAGS = -I/usr/local/krb5-1.4.3/include -O -D_SAMBA_BUILD_
-Iinclude -I/usr/local/src/samba-3.0.20b/source/include
-I/usr/local/src/samba-3.0.20b/source/ubiqx -I.
-I/usr/local/krb5-1.4.3/include -D_LARGEFILE_SOURCE -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DSUNOS5 -I/usr/local/src/samba-3.0.20b/source
-I/usr/local/src/samba-3.0.20b/source/tdb
LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl
LDSHFLAGS = -G -L/usr/local/krb5-1.4.3/lib
-R/usr/local/krb5-1.4.3/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib
-L/usr/local/openldap/lib -R/usr/local/openldap/lib -lthread
LDFLAGS = -L/usr/local/krb5-1.4.3/lib -R/usr/local/krb5-1.4.3/lib
-L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/openldap/lib
-R/usr/local/openldap/lib -lthread
PIE_CFLAGS =
PIE_LDFLAGS =
Compiling dynconfig.c
Compiling smbd/vfs.c
Compiling passdb/pdb_interface.c
Compiling passdb/pdb_ldap.c
passdb/pdb_ldap.c: In function `ldapsam_delete_entry':
passdb/pdb_ldap.c:281: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `init_sam_from_ldap':
passdb/pdb_ldap.c:702: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `ldapsam_modify_entry':
passdb/pdb_ldap.c:1529: error: `LBER_USE_DER' undeclared (first use in
this function)
passdb/pdb_ldap.c:1529: error: (Each undeclared identifier is reported
only once
passdb/pdb_ldap.c:1529: error: for each function it appears in.)
passdb/pdb_ldap.c: In function `ldapsam_update_sam_account':
passdb/pdb_ldap.c:1689: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `ldapsam_add_sam_account':
passdb/pdb_ldap.c:1836: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c:1884: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `ldapsam_add_group_mapping_entry':
passdb/pdb_ldap.c:2625: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `ldapsam_update_group_mapping_entry':
passdb/pdb_ldap.c:2710: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `ldapsam_modify_aliasmem':
passdb/pdb_ldap.c:2937: warning: assignment makes pointer from integer
without a cast
passdb/pdb_ldap.c: In function `pdb_init_ldapsam_common':
passdb/pdb_ldap.c:3901: error: incompatible types in assignment
passdb/pdb_ldap.c: In function `pdb_init_ldapsam':
passdb/pdb_ldap.c:3993: error: incompatible types in assignment
passdb/pdb_ldap.c:4012: warning: assignment makes pointer from integer
without a cast
make: *** [passdb/pdb_ldap.o] Error 1
Do you have any idea of what is wrong or what I can do ?
Thanks in advance.
Bruno
More information about the samba
mailing list