Hi Clément
Thanks for the reply, but unfortunately the Makefile has a number of problems: * The content of HEIMDAL_LIB ends up in the linker whether or not DO_KRB5 is given, making the compiler link against -lkrb5 -lkadm5srv which fails if heimdal is not installed * CFLAGS are ignored for compiling * While the header files from the openldap source tree are used, it still looks for the libraries in the system which are either not yet installed or if they are the symlinks "libldap_r.so -> libldap_r-2.4.so.2" do not necessarily exist, resulting in build failure. Concrete, the following is needed in LDAP_LIB: "-L../../../libraries/libldap_r"
Cheers, Tiziano
"Clément OUDOT" clem.oudot@gmail.com hat am 27. Januar 2012 um 14:08 geschrieben:
2012/1/27 "Tiziano Müller" tiziano.mueller@stepping-stone.ch:
To build the smbk5pwd on SLES I patched the original spec file and the Makefile for smbk5pwd to enable only Shadow- and LM/NT-Hash password synchronization (no Kerberos/Heimdal support).
Hi,
I do not have the answer to your problem, but would just let you know that you don't need to patch the Makefile to disable Kerberos support. Just use the DEFS parameter in the make command:
make "DEFS=-DDO_SAMBA -DDO_SHADOW"
Clément.--
stepping stone GmbH Neufeldstrasse 9 CH-3012 Bern
Telefon: +41 31 332 53 63 www.stepping-stone.ch tiziano.mueller@stepping-stone.ch