The intent: Install Samba on OpenBSD to act as a "worm catcher". Since the environment is native-mode Windows 2000, this necessitates building the Active Directory modules. The system: OpenBSD 3.4 i386 gcc version 2.95.3 20010125 (prerelease, propolice) GNU Make 3.80 autoconf (GNU Autoconf) 2.57 automake (GNU automake) 1.4-p6 libiconv 1.8 cvs checkout 14Nov2003 0248 UTC The configure options (OpenBSD placement mostly): ./configure \ --prefix=/usr \ --sbindir=/usr/libexec \ --sysconfdir=/etc/samba \ --localstatedir=/var \ --libdir=/usr/lib/samba \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --disable-cups \ --with-privatedir=/etc/samba \ --with-lockdir=/var/spool/samba \ --with-piddir=/var/run \ --with-swatdir=/usr/share/swat \ --with-configdir=/etc/samba \ --with-ads \ --with-utmp \ LDFLAGS="-L/usr/local/lib" \ CPPFLAGS="-I/usr/local/include -I/usr/include/kerberosV" The error: Compiling libsmb/clikrb5.c libsmb/clikrb5.c: In function `create_kerberos_key_from_string': libsmb/clikrb5.c:92: syntax error before `eblock' libsmb/clikrb5.c:99: `eblock' undeclared (first use in this function) libsmb/clikrb5.c:99: (Each undeclared identifier is reported only once libsmb/clikrb5.c:99: for each function it appears in.) libsmb/clikrb5.c:100: warning: passing arg 3 of `krb5_string_to_key' from incompatible pointer type libsmb/clikrb5.c:100: warning: passing arg 4 of `krb5_string_to_key' from incompatible pointer type libsmb/clikrb5.c:100: warning: passing arg 5 of `krb5_string_to_key' from incompatible pointer type libsmb/clikrb5.c: In function `krb5_princ_component': libsmb/clikrb5.c:405: warning: assignment discards qualifiers from pointer target type gmake: *** [libsmb/clikrb5.o] Error 1 The Diagnosis: The "eblock" definition only exists in the MIT distribution of Kerberos (krb5.h). To build successfully in OpenBSD with ADS, the Heimdal version must be installed, which does not have the "eblock" setting defined.
*** This bug has been marked as a duplicate of 777 ***
database cleanup