Bug 2269 - Error in pdb_ldap.c: "incompatible types in assignment"
Error in pdb_ldap.c: "incompatible types in assignment"
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
3.0.10
Sparc Solaris
: P3 critical
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-01-20 07:58 UTC by Marcus G. Schneider
Modified: 2013-02-18 13:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus G. Schneider 2005-01-20 07:58:12 UTC
We use "gcc" (version 342) under Solaris 9. OpenLDAP 2.2.20 and Kerberos 1.3.6
 have been installed before without problems. Now we set up "configure --with-
ldap --with-ldapsam --with-ads" and the start of "make" gives us this warnings 
and errors: 

Using FLAGS =  -I/usr/local/include -O  -Iinclude -
I/export/home/mroot/SAMBA/SOURCE/samba-3.0.10/source/include -
I/export/home/mroot/SAMBA/
SOURCE/samba-3.0.10/source/ubiqx -I/export/home/mroot/SAMBA/SOURCE/samba-
3.0.10/source/smbwrapper  -I. -I/usr/local/include -D_LARGEFILE_SO
URCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -
I/export/home/mroot/SAMBA/SOURCE/samba-3.0.10/source
      LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl -liconv
      LDSHFLAGS = -G  -L/usr/local/lib -lthread
      LDFLAGS = -L/usr/local/lib -lthread
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:295: warning: assignment makes pointer from integer without a 
cast
passdb/pdb_ldap.c: In function `ldapsam_update_sam_account':
passdb/pdb_ldap.c:1699: warning: assignment makes pointer from integer without 
a cast
passdb/pdb_ldap.c: In function `ldapsam_add_sam_account':
passdb/pdb_ldap.c:1846: warning: assignment makes pointer from integer without 
a cast
passdb/pdb_ldap.c:1894: warning: assignment makes pointer from integer without 
a cast
passdb/pdb_ldap.c: In function `ldapsam_add_group_mapping_entry':
passdb/pdb_ldap.c:2297: warning: assignment makes pointer from integer without 
a cast
passdb/pdb_ldap.c: In function `ldapsam_update_group_mapping_entry':
passdb/pdb_ldap.c:2382: warning: assignment makes pointer from integer without 
a cast
passdb/pdb_ldap.c: In function `ldapsam_modify_aliasmem':
passdb/pdb_ldap.c:2609: warning: assignment makes pointer from integer without 
a cast
passdb/pdb_ldap.c: In function `pdb_init_ldapsam_common':
passdb/pdb_ldap.c:2868: error: incompatible types in assignment
passdb/pdb_ldap.c: In function `pdb_init_ldapsam':
passdb/pdb_ldap.c:2956: error: incompatible types in assignment
make: *** [passdb/pdb_ldap.o] Error 1
Comment 1 Gerald (Jerry) Carter 2005-02-17 09:37:51 UTC
volker just checked in some changes post 3.0.11 that will clean 
this up a fair bit.
Comment 2 Gerald (Jerry) Carter 2005-08-24 10:15:51 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.