On Thu, 2005-08-25 at 17:04 -0700, David M. Fetter wrote:
> 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.Well, I'm now stuck on this (at least for now). I can't seem to find the reference "krb5_kt_compare" in any of the libraries, even under /usr/local/lib/kerberos, using nm. This is the first undefined reference where it bombs as you can see here: configure:31168: checking for krb5_kt_compare in -lkrb5 configure:31196: /usr/local/bin/gcc -o conftest -I/usr/local/include/kerberos -O2 -pipe -D_SAMBA_BUILD_ -I/usr/local/include/kerberos -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/usr/local/include -I/usr/local/include/openssl -DOPENSSL_DISABLE_OLD_DES_SUPPORT -I/usr/include -L/usr/local/lib/kerberos -L/usr/local/lib -L/usr/local/lib -L/lib conftest.c -lkrb5 -L/usr/local/lib/kerberos -L/usr/local/lib -L/usr/local/lib/kerberos -L/usr/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv -lfsl -lnsl -lresolv -lnsl -ldl -lssl -lcrypto -liconv >&5 /usr/local/RPM/USER/TMP/cc4DgFl1.o(.text+0xd): In function `main': : undefined reference to `krb5_kt_compare' collect2: ld returned 1 exit status configure:31202: $? = 1 configure: failed program was: Anybody else have any ideas to move this along? -- David M. Fetter - UNIX Systems Administrator Portland State University - www.oit.pdx.edu
signature.asc
Description: This is a digitally signed message part
