]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-dnssrv/bind.c
Fix access_allowed() error checking bug
[openldap] / servers / slapd / back-dnssrv / bind.c
index 59e208ad6658053495729dce22e3b696751295f2..adb59251481b4f9f6620fe23adefbc9ae6389144 100644 (file)
@@ -1,7 +1,7 @@
 /* bind.c - DNS SRV backend bind function */
 /* $OpenLDAP$ */
 /*
- * Copyright 2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 2000-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -33,7 +33,7 @@ dnssrv_back_bind(
                
        if( method == LDAP_AUTH_SIMPLE && cred != NULL && cred->bv_len ) {
                Statslog( LDAP_DEBUG_STATS,
-                       "conn=%ld op=%d DNSSRV BIND dn=\"%s\" provided passwd\n",
+                       "conn=%lu op=%lu DNSSRV BIND dn=\"%s\" provided passwd\n",
                         op->o_connid, op->o_opid,
                        dn->bv_val == NULL ? "" : dn->bv_val , 0, 0 );