]> git.sur5r.net Git - openldap/blobdiff - contrib/slapd-modules/vc/vc.c
Happy New Year
[openldap] / contrib / slapd-modules / vc / vc.c
index 6146cb78672a83ca9b70df8a99ffbdbe886a523b..ded9c503b67698ac284b7b57ac79ca820929020d 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2010-2013 The OpenLDAP Foundation.
+ * Copyright 2010-2018 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -255,7 +255,7 @@ vc_exop(
                break;
 
        case LDAP_AUTH_SASL:
-               tag = ber_scanf( ber, "{s" /*}*/ , &mechanism );
+               tag = ber_scanf( ber, "{m" /*}*/ , &mechanism );
                if ( tag == LBER_ERROR || 
                        BER_BVISNULL( &mechanism ) || BER_BVISEMPTY( &mechanism ) )
                {