[Samba] samba-3.3.4 AD/krb5/pam build failure on AIX 5.3/6.1UNKNOWN_CREATE_KEY_FUNCTIONS

Benjamin Huntsman BHuntsman at mail2.cu-portland.edu
Wed Jun 10 15:34:56 GMT 2009


As I suspected, changing a few things like winbind makes no difference.
At the bottom of this message is the error I get.

Reading through the IBM-supplied krb5.h shows a MIT copyright, so it ought to be compatible.
Given the errors in the build, can we determine where it's choking or what its missing from krb5.h?  IBM has documentation on how to make their Kerberos talk to Active Directory, so it's obviously capable...  Can I look for something?  I'll happily post the IBM-supplied krb5.h if no one here thinks that'd be a copyright violation.

I don't see much documentation on it around, but it looks like it's not finding what encryption protocols the IBM Kerberos supports.
I'm still hoping this can work, because I really don't want to have to replace the IBM Kerberos unless we discover that it's absolutely necessary.  (Plus that'll be good for the community to have a definite "no, it won't work" for AIX).

Many thanks all for your help!

-Ben


...
Compiling libsmb/clikrb5.c
libsmb/clikrb5.c:258:2: #error UNKNOWN_CREATE_KEY_FUNCTIONS
libsmb/clikrb5.c:1011:2: #error UNKNOWN_KRB5_VERIFY_CHECKSUM_FUNCTION
libsmb/clikrb5.c: In function `handle_krberror_packet':
libsmb/clikrb5.c:1527: error: `ERROR_TABLE_BASE_krb5' undeclared (first use in t
his function)
libsmb/clikrb5.c:1527: error: (Each undeclared identifier is reported only once
libsmb/clikrb5.c:1527: error: for each function it appears in.)
libsmb/clikrb5.c:1608:2: #error UNKNOWN_KRB5_ENCTYPE_TO_STRING_FUNCTION
The following command failed:
gcc -I. -I/bk/compile/samba-3.3.4/build/source  -I/bk/compile/samba-3.3.4/openld
ap/include -O -D_SAMBA_BUILD_=3 -I/bk/compile/samba-3.3.4/build/source/popt -I/b
k/compile/samba-3.3.4/build/source/iniparser/src -Iinclude -I./include  -I. -I. 
-I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAV
E_CONFIG_H  -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib
/tdb/include -I./libaddns -I./librpc -I./popt -DLDAP_DEPRECATED   -I/include -I/
bk/compile/samba-3.3.4/build/source/lib -D_SAMBA_BUILD_=3  -c libsmb/clikrb5.c -
o libsmb/clikrb5.o
make: 1254-004 The error code from the last command is 1.




More information about the samba mailing list