I am working to compile with AD support. AIX version 5.3. This is the error I
get and the section in the code. I do not see this posted as a current bug.
I am using the IBM compiler.
I am using the open ldap rpm provided by ibm.
I am using the IBM KRB5 lpp.
# oslevel -r
5300-03
# lslpp -l vac.C
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
vac.C 6.0.0.12 COMMITTED C for AIX Compiler
Path: /etc/objrepos
vac.C 6.0.0.12 COMMITTED C for AIX Compiler
[root@ioscsm] /home/samba/samba-3.0.20b/source/libsmb
# lslpp -l krb5*
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
krb5.client.rte 1.4.0.2 COMMITTED Network Authentication Service
Client
krb5.client.samples 1.4.0.2 COMMITTED Network Authentication Service
Samples
krb5.lic 1.4.0.2 COMMITTED Network Authentication Service
License
krb5.msg.en_US.client.rte 1.4.0.2 COMMITTED Network Auth Service Client
Msgs - U.S. English
krb5.toolkit.adt 1.4.0.2 COMMITTED Network Authentication Service
App. Dev. Toolkit
Path: /etc/objrepos
krb5.client.rte 1.4.0.2 COMMITTED Network Authentication Service
Client
# rpm -qa | grep ldap
openldap-2.0.21-4
openldap-devel-2.0.21-4
#
# make
Using FLAGS = -I/usr/krb5/include -O -D_SAMBA_BUILD_ -D_LINUX_SOURCE_COMPAT
-qmaxmem=32000 -I./popt -Iinclude -I/home/samba/samba-3.0.20b/source/include
-I/home/samba/samba-3.0.20b/source/ubiqx -I. -I/usr/krb5/include
-I/opt/freeware/include -I/home/samba/samba-3.0.20b/source
-I/home/samba/samba-3.0.20b/source/tdb
LIBS =
LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok -L/usr/krb5/lib
-L/opt/freeware/lib
LDFLAGS = -L/usr/krb5/lib -L/opt/freeware/lib
PIE_CFLAGS =
PIE_LDFLAGS =
Compiling libsmb/clikrb5.c
"libsmb/clikrb5.c", line 128.2: 1506-205 (S) #error
UNKNOWN_CREATE_KEY_FUNCTIONS
"libsmb/clikrb5.c", line 214.28: 1506-275 (S) Unexpected text hnd
encountered.
"libsmb/clikrb5.c", line 214.9: 1506-045 (S) Undeclared identifier
krb5_krbhst_handle.
"libsmb/clikrb5.c", line 215.9: 1506-045 (S) Undeclared identifier
krb5_krbhst_info.
"libsmb/clikrb5.c", line 215.27: 1506-045 (S) Undeclared identifier
hinfo.
"libsmb/clikrb5.c", line 224.67: 1506-045 (S) Undeclared identifier
hnd.
"libsmb/clikrb5.c", line 224.49: 1506-045 (S) Undeclared identifier
KRB5_KRBHST_KDC.
make: 1254-004 The error code from the last command is 1.
Stop.
+106 }
+107 #elif defined(HAVE_KRB5_GET_PW_SALT) &&
defined(HAVE_KRB5_STRING_TO_KEY_SALT)
+108 int create_kerberos_key_from_string_direct(krb5_context context,
+109 krb5_principal host_princ,
+110 krb5_data *password,
+111 krb5_keyblock *key,
+112 krb5_enctype enctype)
+113 {
+114 int ret;
+115 krb5_salt salt;
+116
+117 ret = krb5_get_pw_salt(context, host_princ, &salt);
+118 if (ret) {
+119 DEBUG(1,("krb5_get_pw_salt failed (%s)\n",
error_message(ret)));
+120 return ret;
+121 }
+122
+123 ret = krb5_string_to_key_salt(context, enctype,
password->data, salt, key);
+124 krb5_free_salt(context, salt);
+125 return ret;
+126 }
+127 #else
+128 #error UNKNOWN_CREATE_KEY_FUNCTIONS
+129 #endif
+130
+131 int create_kerberos_key_from_string(krb5_context context,
+132 krb5_principal host_princ,
+133 krb5_data *password,
+134 krb5_keyblock *key,
+135 krb5_enctype enctype)
+136 {
Marty?Everett
Director?IDC?Technology
IKON?Document Efficiency At Work
1738 Bass Road
Macon Ga, 31210
Phone: (478) 238-7550
Cell: (478) 361-6843
Fax:(478) 238-7676
Email: meverett@ikon.com
?