]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/starttls.c
added slapi_operation_set_pb
[openldap] / servers / slapd / starttls.c
index d7f821e0b2fb5a6a2fd5c194413ddc018e69da3c..4ab33b10365e59da752622f95561d84435deeff1 100644 (file)
@@ -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 );
        }