Jake Carroll wrote:
Scott,

Thanks for the link. I had a poke around, substituting my paths et al with the instructions here, and, unfortunately, it still just doesn't seem to "see" my krb libraries. I am wondering if there is something generically _wrong_ with Solaris/Sun shipped Krb that samba doesn't like?

Any other ideas?

Thanks for the input!

*/JC/*
On Oct 5, 2008, at 11:13 AM, Scott Lovenberg wrote:

Jake Carroll wrote:
Hi all,

I'm currently attempting to compile Samba 3.2.4 for Solaris 10 x86. I require krb5 support and I realised that it would not look in the correct default location, under Solaris 10.

Example, from ./configure --help:

  --with-krb5=base-dir    Locate Kerberos 5 support (default=/usr)

In vanilla Solaris 10 x86, Kerberos libraries are stored in /usr/lib/krb5. I thought it best to attempt to specifically, rather, explicitly state the base dir like so, because using the default is not working:

./configure --with-aio-support --with-krb5=/usr/lib/krb5

I felt that this would give the linker/compiler the best chance of finding what it needed. Apparently, this is not the case. When I look in the config.log:

configure:55103: checking for Active Directory and krb5 support
KRB5CONFIG=''
KRB5_LIBS=''
WINBIND_KRB5_LOCATOR=''

So then, if we do a "make"

# less config.h | grep -i krb
/* Whether the krb5_address struct has a addrtype property */
/* #undef HAVE_ADDRTYPE_IN_KRB5_ADDRESS */
/* Whether the krb5_address struct has a addr_type property */
/* #undef HAVE_ADDR_TYPE_IN_KRB5_ADDRESS */
/* Whether the krb5_checksum struct has a checksum property */
/* #undef HAVE_CHECKSUM_IN_KRB5_CHECKSUM */


...all left untouched.

Any thoughts? The libraries are definitely and obviously there:

[EMAIL PROTECTED]:/usr/lib/krb5] $ ls -als
total 3338
   2 drwxr-xr-x   4 root     bin         1024 May  3 10:15 .
  64 drwxr-xr-x 122 root     bin        32256 Aug 16 20:57 ..
2 -r--r--r-- 1 root bin 700 Jan 22 2005 HelpIndex.html 2 drwxr-xr-x 2 root bin 512 May 3 10:15 ListResourceBundle
   2 -r--r--r--   1 root     bin          412 Jan 22  2005 README.db2
4 -r--r--r-- 1 root bin 1962 Jan 22 2005 SunLogo.4c.gif
   2 drwxr-xr-x   2 root     bin          512 May  3 10:15 amd64
2 lrwxrwxrwx 1 root root 8 May 3 10:15 db2.so -> db2.so.1
 144 -rwxr-xr-x   1 root     bin        73088 Mar 19  2008 db2.so.1
 416 -r--r--r--   1 root     bin       204145 Mar 12  2008 gkadmin.jar
 122 -r-x------   1 root     bin        62100 Mar 19  2008 kadmind
2 lrwxrwxrwx 1 root root 10 May 3 10:15 kldap.so -> kldap.so.1
  80 -rwxr-xr-x   1 root     bin        40684 Mar 19  2008 kldap.so.1
  38 -r-xr-xr-x   1 root     bin        18488 Mar 19  2008 kprop
   2 -r-xr-xr-x   1 root     bin          300 Jan 22  2005 kprop_script
  70 -r-xr-xr-x   1 root     bin        35136 Mar 19  2008 kpropd
....snip.


Thanks all.


JC

Erm, sorry for the double post.  Here's a reference for crle with samba.
Here's a recipe for Samba+Active Directory on Solaris 9 <http://lists.samba.org/archive/samba-technical/2006-May/046971.html>
Sorry, I'm tapped for good ideas. I'm trying to duplicate this on a VM... and remembering why I stopped using OpenSolaris :) I just have to keep it stable for long enough to update. So far, Solaris is winning by restarting the window manager every fifteen minutes or so.

The only other thing I could think of is manually entering the path in the configuration variable and trying to compile. I'm not sure that it would help at all, but it can't hurt to give it a shot.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to