From 71b8fdff85559213f5b880946cc918777c2389cc Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 28 Mar 2007 19:47:59 +0000 Subject: r22003: Fix from Jiri.Sasek@Sun.COM to wrap our krb5_locate_kdc call as smb_krb5_locate_kdc to prevent incorrect linking and crashes on Solaris. Jeremy. (This used to be commit 7d30737c8d851505e81a60443baf9a8c7e523472) --- source3/utils/net_lookup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c index 19ba5ae7f4..1cc837248f 100644 --- a/source3/utils/net_lookup.c +++ b/source3/utils/net_lookup.c @@ -238,9 +238,9 @@ static int net_lookup_kdc(int argc, const char **argv) realm.length = strlen((const char *)realm.data); } - rc = krb5_locate_kdc(ctx, &realm, (struct sockaddr **)(void *)&addrs, &num_kdcs, 0); + rc = smb_krb5_locate_kdc(ctx, &realm, (struct sockaddr **)(void *)&addrs, &num_kdcs, 0); if (rc) { - DEBUG(1, ("krb5_locate_kdc failed (%s)\n", error_message(rc))); + DEBUG(1, ("smb_krb5_locate_kdc failed (%s)\n", error_message(rc))); return -1; } for (i=0;i