Is your samba scheme defined in slapd.conf?
On Fri, 2004-06-25 at 06:06, Piotr Brudny wrote:
> I have downloaded Samba 3.0.4 (tar.gz). I tryed to compile samba to work
> with OpenLDAP 2.1.30
>
> I wrote:
> ./configure --with-ldapsam
> and
>
> make
>
> Then when i issue the make file i get...
>
>
> Using FLAGS = -O -I./popt -Iinclude
> -I/home/rootk/samba-3.0.4/source/include
> -I/home/rootk/samba-3.0.4/source/ubiqx
> -I/home/rootk/samba-3.0.4/source/smbwrapper -I. -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/home/rootk/samba-3.0.4/source
> LIBS = -lcrypt -lresolv -lnsl -ldl
> LDSHFLAGS = -shared
> 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: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: error: incompatible types in assignment
> passdb/pdb_ldap.c: In function `pdb_init_ldapsam':
> passdb/pdb_ldap.c:2737: error: incompatible types in assignment
> make: *** [passdb/pdb_ldap.o] Error 1
>
> Any sugestion ? Samba 3.0.4 dont work with Opan LDAP 2.1.30?????/
>
> Thanks for all information.
>
> Piotr Brudny
> piotr.brudny@szybinski.cieszyn.pl
>
>
>
>