Operating System - HP-UX
1826163 Members
4491 Online
109691 Solutions
New Discussion

samba 3.0, krb5 and Active Directory

 
Morten Kristiansen
Frequent Advisor

samba 3.0, krb5 and Active Directory

Hi,

I'm working in a HP-UX 11.11 PA-RISC environment. Have installed gcc and gmake.

I noticed that CIFS dosen't support native Active Directory (AD). But if I install Samba 3.0.4 it should support AD. In the installation instructions for Samba 3.0.4 it says that samba together with AD requires krb5 development libraries (either from MIT or Heimdal).

I have installer the MIT krb5, but it's the "regular" krb5, not det development libraries. So it doesen't work, the include/config.h file in samba does not contain "#define HAVE_KRB5 1".

Does anybody know where to find the krb5 development libraries?

Is there anybody that have done this and got it to work (samba and native AD)?
4 REPLIES 4
G. Vrijhoeven
Honored Contributor

Re: samba 3.0, krb5 and Active Directory

Morten Kristiansen
Frequent Advisor

Re: samba 3.0, krb5 and Active Directory

I can't see that this kerberos has the "development libraries" in it. Here's what the samba documentation says:

In order to compile Samba with ADS support, you need to have installed on your system:

The MIT or Heimdal Kerberos development libraries (either install from the sources or use a package).

The OpenLDAP development libraries.

If your Kerberos libraries are in a non-standard location, then remember to add the configure option --with-krb5=DIR.

After you run configure, make sure that include/config.h it generates contain lines like this:

#define HAVE_KRB5 1
#define HAVE_LDAP 1
G. Vrijhoeven
Honored Contributor

Re: samba 3.0, krb5 and Active Directory

Hi,

You are right. Ignore myy previouse post ( and this one)
Sorry, only positive thing is that your post stays on top!

Regards and succes solving your problem.

Gideon
Miguel Munoz
Trusted Contributor

Re: samba 3.0, krb5 and Active Directory

Morten,

Unless you just have a burning desire to build samba from scratch, why not try using the technology preview version for samba version 3. HP has built it and you can just download the binaries for it. The caution is that you won't get support from HP for this, but if you build it yourself, you're not getting support from HP anyway, so how bad can it be. :)

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP3

Regards,

Miguel Munoz