[Samba] Compile Problem (krb5)

Andrew Bartlett abartlet at samba.org
Wed Oct 29 12:17:18 GMT 2003


On Wed, 2003-10-29 at 10:17, Schwartz, William H wrote:
> I'm trying to build samba 3 with the ads support and along with that I
> apparently need ldap and krb5.  I have installed openldap, krb5 (had to
> install even though Solaris 9 has krb5 in it, the .h file wasn't there that
> I could find).  Now when building samba I'm getting this error
> 
>  
> 
> 
> 
> Compiling libsmb/clifile.c
> 
> Compiling libsmb/clikrb5.c
> 
> libsmb/clikrb5.c:139:2: #error UNKNOWN_GET_ENCTYPES_FUNCTIONS
> 
> libsmb/clikrb5.c: In function `krb5_locate_kdc':
> 
> libsmb/clikrb5.c:188: error: `krb5_krbhst_handle' undeclared (first use in
> this function)
> 
> libsmb/clikrb5.c:188: error: (Each undeclared identifier is reported only
> once
> 
> libsmb/clikrb5.c:188: error: for each function it appears in.)
> 
> libsmb/clikrb5.c:188: error: parse error before "hnd"
> 
> libsmb/clikrb5.c:189: error: `krb5_krbhst_info' undeclared (first use in
> this function)
> 
> libsmb/clikrb5.c:189: error: `hinfo' undeclared (first use in this function)
> 
> libsmb/clikrb5.c:197: error: `KRB5_KRBHST_KDC' undeclared (first use in this
> function)
> 
> libsmb/clikrb5.c:197: error: `hnd' undeclared (first use in this function)
> 
> make: *** [libsmb/clikrb5.o] Error 1
> 
>  
> 
> I'm stumped no this, i have all my paths set correctly (I think), can anyone
> give me a hand?

I suspect you are mixing your previous installed version of krb5 with
the new one you installed to get the development headers.  

There is also a known issue about --with-krb5 not changing which krb5
implementation is used, if krb5-config is in  your path.

Can you install just the MIT 1.3.1 release of kerberos?  

Andrew Bartlett
 
-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20031029/fd9c441a/attachment.bin


More information about the samba mailing list