[Samba] samba / ldap
Schabel Markus
markus.schabel at tgm.ac.at
Fri Aug 30 00:30:01 GMT 2002
Yahya AZZOUZ wrote:
> hello,
>
> I would like to compile samba 2.2.5 with ldap support.
> I have already added le line "--with-ldapsam" in the rules file before
> compiling but during this compilation the process stop and i had this
> message :
>
> "...........
> ................
>
> passdb/secrets.c:37: warning: passing arg 2 of `safe_strcpy' makes
> pointer from integer without a cast
> Compiling passdb/pass_check.c
> Compiling passdb/smbpassfile.c
> Compiling passdb/machine_sid.c
> Compiling passdb/pdb_smbpasswd.c
> Compiling passdb/pampass.c
> Compiling passdb/pdb_tdb.c
> Compiling passdb/pdb_ldap.c
> passdb/pdb_ldap.c:48: lber.h: No such file or directory
> passdb/pdb_ldap.c:49: ldap.h: No such file or directory
> make[1]: *** [passdb/pdb_ldap.o] Error 1
> make[1]: Leaving directory `/home/yahya/samba/samba-2.2.5/source'
> make: *** [build-stamp] Error 2"
>
> without the option "--with-ldapsam" i have no problem. the compilation
> is ok but i have not the ldap support.
>
> Could someone give me an indice.
>
> thanks
I think you have no OpenLDAP-development libraries installed....
greetz
More information about the samba
mailing list