Make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18714 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -847,7 +847,7 @@ LDAP__lookup_princ(krb5_context context,
|
|||||||
|
|
||||||
static krb5_error_code
|
static krb5_error_code
|
||||||
LDAP_principal2message(krb5_context context, HDB * db,
|
LDAP_principal2message(krb5_context context, HDB * db,
|
||||||
krb5_principal princ, LDAPMessage ** msg)
|
krb5_const_principal princ, LDAPMessage ** msg)
|
||||||
{
|
{
|
||||||
char *name, *name_short = NULL;
|
char *name, *name_short = NULL;
|
||||||
krb5_error_code ret;
|
krb5_error_code ret;
|
||||||
@@ -1478,13 +1478,13 @@ LDAP_open(krb5_context context, HDB * db, int flags, mode_t mode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static krb5_error_code
|
static krb5_error_code
|
||||||
LDAP_fetch(krb5_context context, HDB * db, unsigned flags,
|
LDAP_fetch(krb5_context context, HDB * db, krb5_const_principal principal,
|
||||||
hdb_entry_ex * entry)
|
unsigned flags, hdb_entry_ex * entry)
|
||||||
{
|
{
|
||||||
LDAPMessage *msg, *e;
|
LDAPMessage *msg, *e;
|
||||||
krb5_error_code ret;
|
krb5_error_code ret;
|
||||||
|
|
||||||
ret = LDAP_principal2message(context, db, entry->entry.principal, &msg);
|
ret = LDAP_principal2message(context, db, principal, &msg);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user