From 1a314f3bca3bd2a7ed9a6d1af93c379e76274059 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 25 Mar 2004 09:25:25 +0000 Subject: [PATCH] ITS#3038 64bit compatibility (oops) --- servers/slapd/bind.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 212a5802b4..685773aec6 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -46,6 +46,7 @@ do_bind( { BerElement *ber = op->o_ber; ber_int_t version; + ber_tag_t method; struct berval mech = { 0, NULL }; struct berval dn = { 0, NULL }; ber_tag_t tag; @@ -106,7 +107,7 @@ do_bind( * } */ - tag = ber_scanf( ber, "{imt" /*}*/, &version, &dn, &op->orb_method ); + tag = ber_scanf( ber, "{imt" /*}*/, &version, &dn, &method ); if ( tag == LBER_ERROR ) { #ifdef NEW_LOGGING @@ -121,6 +122,7 @@ do_bind( } op->o_protocol = version; + op->orb_method = method; if( op->orb_method != LDAP_AUTH_SASL ) { tag = ber_scanf( ber, /*{*/ "m}", &op->orb_cred ); -- 2.39.5