From f9160af5a12906d326c26517c5e1268b07b74bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 30 Mar 2006 09:03:27 +0000 Subject: [PATCH] (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 --- lib/hdb/hdb-ldap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/hdb/hdb-ldap.c b/lib/hdb/hdb-ldap.c index 31606a1cf..f51db3a4c 100644 --- a/lib/hdb/hdb-ldap.c +++ b/lib/hdb/hdb-ldap.c @@ -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, '/');