On Thu, 2005-08-25 at 13:35 -0700, Doug Summers wrote: > > > Well, I didn't have to patch anything with the Samba 3.0.14a code I > downloaded from samba.org. The only issues I had were with Kerberos & > OpenLDAP playing together. At this point I think I could get ADS support > working if I could just get Samba w/LDAP support compiled. If you have > any tricks let me know - I can't get it to work on Linux or Solaris. >
Ah, well, then that information must be obsoleted now. Good. That
makes things a bit easier. As for something to try, because openldap
under openpkg is compiled by default with ssl support, you need to add
'-lssl -lcrypt' into the LIBS flag. You can do this by inserting the
following code after line 99 of the samba.spec file:
%if "%{with_ldap}" == "yes"
LIBS="$LIBS -lssl -lcrypto"
export LIBS
%endif
However, while this seems to fix one issue, another one crops up
afterward. It seems to fail with:
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c:163:2: #error UNKNOWN_GET_ENCTYPES_FUNCTIONS
libsmb/clikrb5.c: In function `krb5_locate_kdc':
libsmb/clikrb5.c:212: error: `krb5_krbhst_handle' undeclared (first use
in this function)
libsmb/clikrb5.c:212: error: (Each undeclared identifier is reported
only once
libsmb/clikrb5.c:212: error: for each function it appears in.)
libsmb/clikrb5.c:212: error: parse error before "hnd"
libsmb/clikrb5.c:213: error: `krb5_krbhst_info' undeclared (first use in
this function)
libsmb/clikrb5.c:213: error: `hinfo' undeclared (first use in this
function)
libsmb/clikrb5.c:222: error: `KRB5_KRBHST_KDC' undeclared (first use in
this function)
libsmb/clikrb5.c:222: error: `hnd' undeclared (first use in this
function)
make: *** [libsmb/clikrb5.o] Error 1
This is true both under Solaris9 and RHEL3. I will look more into this
tomorrow unless somebody else finds the fix for this.
> Doug
> ______________________________________________________________________
> The OpenPKG Project www.openpkg.org
> Developer Communication List [email protected]
>
--
David M. Fetter - UNIX Systems Administrator
Portland State University - www.oit.pdx.edu
signature.asc
Description: This is a digitally signed message part
