Skip to content

Commit

Permalink
Missing conf terminator Closes #1167
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Aug 19, 2015
1 parent f97ed8e commit e329b2f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/modules/rlm_ldap/rlm_ldap.c
Expand Up @@ -73,13 +73,17 @@ static FR_NAME_NUMBER const ldap_dereference[] = {
static CONF_PARSER sasl_mech_dynamic[] = {
{ "mech", FR_CONF_OFFSET(PW_TYPE_STRING | PW_TYPE_TMPL | PW_TYPE_NOT_EMPTY, ldap_sasl_dynamic, mech), NULL },
{ "proxy", FR_CONF_OFFSET(PW_TYPE_STRING | PW_TYPE_TMPL, ldap_sasl_dynamic, proxy), NULL },
{ "realm", FR_CONF_OFFSET(PW_TYPE_STRING | PW_TYPE_TMPL, ldap_sasl_dynamic, realm), NULL }
{ "realm", FR_CONF_OFFSET(PW_TYPE_STRING | PW_TYPE_TMPL, ldap_sasl_dynamic, realm), NULL },

{ NULL, -1, 0, NULL, NULL }
};

static CONF_PARSER sasl_mech_static[] = {
{ "mech", FR_CONF_OFFSET(PW_TYPE_STRING | PW_TYPE_NOT_EMPTY, ldap_sasl, mech), NULL },
{ "proxy", FR_CONF_OFFSET(PW_TYPE_STRING, ldap_sasl, proxy), NULL },
{ "realm", FR_CONF_OFFSET(PW_TYPE_STRING, ldap_sasl, realm), NULL }
{ "realm", FR_CONF_OFFSET(PW_TYPE_STRING, ldap_sasl, realm), NULL },

{ NULL, -1, 0, NULL, NULL }
};

/*
Expand Down

0 comments on commit e329b2f

Please sign in to comment.