X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fstarttls.c;h=4ab33b10365e59da752622f95561d84435deeff1;hb=17f95a3fd30247a0735a3526d85b46178304748d;hp=d7f821e0b2fb5a6a2fd5c194413ddc018e69da3c;hpb=0e2af54a3ffdeebe3901370683be56fcc53023b0;p=openldap diff --git a/servers/slapd/starttls.c b/servers/slapd/starttls.c index d7f821e0b2..4ab33b1036 100644 --- a/servers/slapd/starttls.c +++ b/servers/slapd/starttls.c @@ -1,6 +1,6 @@ /* $OpenLDAP$ */ /* - * Copyright 1999-2002 The OpenLDAP Foundation. + * Copyright 1999-2003 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms are permitted only @@ -30,7 +30,7 @@ starttls_extop ( struct berval ** rspdata, LDAPControl ***rspctrls, const char ** text, - BVarray * refs ) + BerVarray * refs ) { void *ctx; int rc; @@ -65,6 +65,10 @@ starttls_extop ( if ( !( global_disallows & SLAP_DISALLOW_TLS_2_ANON ) && ( conn->c_dn.bv_len != 0 ) ) { + Statslog( LDAP_DEBUG_STATS, + "conn=%lu op=%lu AUTHZ anonymous mech=starttls ssf=0", + op->o_connid, op->o_opid, 0, 0, 0 ); + /* force to anonymous */ connection2anonymous( conn ); }