(LDAP_message2entry): in declaration set variable_name as "hdb_entry_ex"
(hdb_ldap_common): change "arg" in condition (if) to "search_base" (hdb_ldapi_create): change "serach_base" to "search_base" From Alex V. Labuta. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16862 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -48,7 +48,7 @@ static krb5_error_code LDAP_close(krb5_context context, HDB *);
|
||||
|
||||
static krb5_error_code
|
||||
LDAP_message2entry(krb5_context context, HDB * db, LDAPMessage * msg,
|
||||
hdb_entry * ent);
|
||||
hdb_entry_ex * ent);
|
||||
|
||||
static const char *default_structural_object = "account";
|
||||
static char *structural_object;
|
||||
@@ -1676,7 +1676,7 @@ hdb_ldap_common(krb5_context context,
|
||||
struct hdbldapdb *h;
|
||||
const char *create_base = NULL;
|
||||
|
||||
if (arg == NULL && arg[0] == '\0') {
|
||||
if (search_base == NULL && search_base[0] == '\0') {
|
||||
krb5_set_error_string(context, "ldap search base not configured");
|
||||
return ENOMEM; /* XXX */
|
||||
}
|
||||
@@ -1775,7 +1775,7 @@ krb5_error_code
|
||||
hdb_ldapi_create(krb5_context context, HDB ** db, const char *arg)
|
||||
{
|
||||
const char *p;
|
||||
char *serach_base;
|
||||
char *search_base;
|
||||
|
||||
p = arg + strlen("ldapi://");
|
||||
search_base = strchr(p, '/');
|
||||
|
Reference in New Issue
Block a user