#include "slap.h"
struct null_info {
- int bind_allowed;
+ int ni_bind_allowed;
};
static int
{
struct null_info *ni = (struct null_info *) op->o_bd->be_private;
- if ( ni->bind_allowed ) {
+ if ( ni->ni_bind_allowed ) {
/* front end will send result on success (0) */
return LDAP_SUCCESS;
}
fname, lineno );
return 1;
}
- ni->bind_allowed = strcasecmp( argv[1], "off" );
+ ni->ni_bind_allowed = strcasecmp( argv[1], "off" );
/* anything else */
} else {
struct null_info *ni;
ni = ch_calloc( 1, sizeof(struct null_info) );
- ni->bind_allowed = 0;
+ ni->ni_bind_allowed = 0;
be->be_private = ni;
return 0;
}