patch-src_gq-server_c 582 B

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