]> git.sur5r.net Git - openldap/commitdiff
s/userPassword/password/ (variable name)
authorKurt Zeilenga <kurt@openldap.org>
Fri, 17 Mar 2000 02:06:50 +0000 (02:06 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 17 Mar 2000 02:06:50 +0000 (02:06 +0000)
servers/slapd/back-ldbm/bind.c

index a01d3526c2d41a9cd9b88628e9f459f903e6bf39..dc8b873bf5c9b9ce3d4ff9d6ce40c90d5ae624b1 100644 (file)
@@ -42,10 +42,10 @@ ldbm_back_bind(
 #endif
 
 #ifdef SLAPD_SCHEMA_NOT_COMPAT
-       static AttributeDescription *userPassword = NULL;
+       static AttributeDescription *password = NULL;
        static AttributeDescription *entry = NULL;
 #else
-       static const char *userPassword = "userpassword";
+       static const char *password = "userpassword";
        static const char *entry = "entry";
 #endif
 
@@ -192,7 +192,7 @@ ldbm_back_bind(
                }
 
                if ( ! access_allowed( be, conn, op, e,
-                       userPassword, NULL, ACL_AUTH ) )
+                       password, NULL, ACL_AUTH ) )
                {
                        send_ldap_result( conn, op, LDAP_INSUFFICIENT_ACCESS,
                                NULL, NULL, NULL, NULL );
@@ -200,7 +200,7 @@ ldbm_back_bind(
                        goto return_results;
                }
 
-               if ( (a = attr_find( e->e_attrs, userPassword )) == NULL ) {
+               if ( (a = attr_find( e->e_attrs, password )) == NULL ) {
                        send_ldap_result( conn, op, LDAP_INAPPROPRIATE_AUTH,
                            NULL, NULL, NULL, NULL );