mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
cleanup
This commit is contained in:
parent
fbb31b58a1
commit
754e59543d
3 changed files with 3 additions and 4 deletions
|
|
@ -864,7 +864,7 @@ static int
|
|||
smbk5pwd_db_init(BackendDB *be)
|
||||
{
|
||||
slap_overinst *on = (slap_overinst *)be->bd_info;
|
||||
smbk5pwd_t *pi;
|
||||
smbk5pwd_t *pi;
|
||||
|
||||
pi = ch_calloc( 1, sizeof( smbk5pwd_t ) );
|
||||
if ( pi == NULL ) {
|
||||
|
|
|
|||
|
|
@ -216,7 +216,6 @@ retry:
|
|||
op->ors_slimit, &msgid );
|
||||
|
||||
if ( rs->sr_err != LDAP_SUCCESS ) {
|
||||
fail:;
|
||||
switch ( rs->sr_err ) {
|
||||
case LDAP_SERVER_DOWN:
|
||||
if ( do_retry ) {
|
||||
|
|
|
|||
|
|
@ -542,7 +542,7 @@ slap_sasl_canonicalize(
|
|||
{
|
||||
Connection *conn = (Connection *)context;
|
||||
struct propctx *props = sasl_auxprop_getctx( sconn );
|
||||
struct propval auxvals[ SLAP_SASL_PROP_COUNT ] = { 0 };
|
||||
struct propval auxvals[ SLAP_SASL_PROP_COUNT ] = { { 0 } };
|
||||
struct berval dn;
|
||||
int rc, which;
|
||||
const char *names[2];
|
||||
|
|
@ -658,7 +658,7 @@ slap_sasl_authorize(
|
|||
* (SLAP_SASL_PROP_COUNT - 1) because we skip "conn",
|
||||
* + 1 for NULL termination?
|
||||
*/
|
||||
struct propval auxvals[ SLAP_SASL_PROP_COUNT ] = { 0 };
|
||||
struct propval auxvals[ SLAP_SASL_PROP_COUNT ] = { { 0 } };
|
||||
struct berval authcDN, authzDN = BER_BVNULL;
|
||||
int rc;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue