/* $OpenLDAP$ */
/*
- * Copyright 1999-2000 The OpenLDAP Foundation.
+ * Copyright 1999-2003 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted only
starttls_extop (
Connection *conn,
Operation *op,
- const char * reqoid,
+ struct berval * reqoid,
struct berval * reqdata,
char ** rspoid,
struct berval ** rspdata,
LDAPControl ***rspctrls,
const char ** text,
- BVarray * refs )
+ BerVarray * refs )
{
void *ctx;
int rc;
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 );
}