summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-01-28 03:31:33 +0000
committerJeremy Allison <jra@samba.org>2003-01-28 03:31:33 +0000
commitb1bce451411486525e72ec71c5fd37fc0b463add (patch)
tree598e09233d0a0a367335e6d23373cd6ab127ad0a /source3/utils
parentdb56e6f8f0520547dc9cedcf76120fe404f20a16 (diff)
downloadsamba-b1bce451411486525e72ec71c5fd37fc0b463add.tar.gz
samba-b1bce451411486525e72ec71c5fd37fc0b463add.tar.bz2
samba-b1bce451411486525e72ec71c5fd37fc0b463add.zip
Finally we compile with Heimdal as well as MIT ! Wonder if it works... :-).
Jeremy. (This used to be commit 1b71786c161cd8ec4c3c0c6b178370ed50feeef4)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c
index 271094480c..eedc2c7f92 100644
--- a/source3/utils/net_lookup.c
+++ b/source3/utils/net_lookup.c
@@ -201,7 +201,7 @@ static int net_lookup_kdc(int argc, const char **argv)
realm.length = strlen(realm.data);
}
- rc = krb5_locate_kdc(ctx, &realm, &addrs, &num_kdcs, 0);
+ rc = krb5_locate_kdc(ctx, &realm, (struct sockaddr **)&addrs, &num_kdcs, 0);
if (rc) {
DEBUG(1, ("krb5_locate_kdc failed (%s)\n", error_message(rc)));
return -1;