summaryrefslogtreecommitdiff
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-07-16 17:46:48 +0200
committerSimo Sorce <ssorce@redhat.com>2011-07-21 08:22:29 -0400
commit363d2fba991eae199d017f5b2d1b458f070fac6b (patch)
tree78928dc0239dc746aa6f1b865667136bef38aeab /src/providers/ldap
parent5cce63203779c688a975d593d4f0d8ff3228e040 (diff)
downloadsssd-363d2fba991eae199d017f5b2d1b458f070fac6b.tar.gz
sssd-363d2fba991eae199d017f5b2d1b458f070fac6b.tar.bz2
sssd-363d2fba991eae199d017f5b2d1b458f070fac6b.zip
Rename fo_get_server_name to fo_get_server_str_name
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/ldap_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index f2729f3e..656c1026 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -561,7 +561,7 @@ static void sdap_uri_callback(void *private_data, struct fo_server *server)
srvaddr = fo_get_server_hostent(server);
if (!srvaddr) {
DEBUG(1, ("FATAL: No hostent available for server (%s)\n",
- fo_get_server_name(server)));
+ fo_get_server_str_name(server)));
talloc_free(tmp_ctx);
return;
}
@@ -580,7 +580,7 @@ static void sdap_uri_callback(void *private_data, struct fo_server *server)
tmp = SSS_LDAP_SRV_NAME;
}
new_uri = talloc_asprintf(service, "%s://%s:%d",
- tmp, fo_get_server_name(server),
+ tmp, fo_get_server_str_name(server),
fo_get_server_port(server));
} else {
new_uri = talloc_strdup(service, tmp);