openbsd-ports/databases/gq/patches/patch-src_gq-server_c
2012-03-29 12:43:21 +00:00

16 lines
582 B
Plaintext

$OpenBSD: patch-src_gq-server_c,v 1.1 2012/03/29 12:43:21 ajacoutot Exp $
error: 'bindpw' undeclared (first use in this function)
--- src/gq-server.c.orig Wed Jan 9 17:35:12 2008
+++ src/gq-server.c Thu Mar 29 14:06:28 2012
@@ -281,7 +281,7 @@ do_ldap_auth(LDAP * ld,
switch(gq_server_get_bind_type(server)) {
case GQ_BIND_KERBEROS:
#ifdef HAVE_KERBEROS
- rc = ldap_bind_s(ld, bind_dn, bindpw, LDAP_AUTH_KRBV4);
+ rc = ldap_bind_s(ld, bind_dn, bind_pw, LDAP_AUTH_KRBV4);
#else
error_push(open_context,
_("Cannot use Kerberos bind with '%s'.\n"