Lines Matching refs:ldap_prefs
86 while(ldap_prefs[i].pref != NULL) {
87 if ((strcmp(ldap_prefs[i].name, pref)) == 0) {
91 if (0 == ldap_prefs[i].intfromarray) {
93 ldap_prefs[i].valid = 0;
94 if (0 == ldap_prefs[i].strorint)
96 *((char **)(ldap_prefs[i].pref)) = val;
99 *((int *)(ldap_prefs[i].pref)) = atoi(val);
107 ldap_prefs[i].valid = 0;
108 *((int *)(ldap_prefs[i].pref)) = prefs_array[j].value;
112 } /* if else 0 == ldap_prefs*/
117 if (ldap_prefs[i].pref == NULL)
125 while(ldap_prefs[i].pref != NULL) {
126 if ( ldap_prefs[i].valid != 0) {
127 LOG(log_debug, logtype_afpd,"afp_ldap.conf: Missing option: \"%s\"", ldap_prefs[i].name);