Lines Matching refs:errorp
241 ns_ldap_error_t **errorp) in set_attr() argument
246 if (errorp == NULL) { in set_attr()
250 *errorp = NULL; in set_attr()
267 MKERROR(LOG_ERR, *errorp, NS_LDAP_CONFIG, strdup(errmsg), in set_attr()
272 return (__ns_ldap_setParamValue(config_struct, idx, attr_val, errorp)); in set_attr()
286 __s_api_create_config_door_str(char *config, ns_ldap_error_t **errorp) in __s_api_create_config_door_str() argument
292 if (config == NULL || errorp == NULL) in __s_api_create_config_door_str()
299 *errorp = NULL; in __s_api_create_config_door_str()
307 MKERROR(LOG_ERR, *errorp, NS_LDAP_CONFIG, strdup(errmsg), NULL); in __s_api_create_config_door_str()
318 MKERROR(LOG_ERR, *errorp, NS_LDAP_CONFIG, in __s_api_create_config_door_str()
329 errorp) != NS_LDAP_SUCCESS) { in __s_api_create_config_door_str()
338 errorp) != NS_LDAP_SUCCESS) { in __s_api_create_config_door_str()
346 if (set_attr(configStruct, attrName, attrVal, errorp) != in __s_api_create_config_door_str()
354 MKERROR(LOG_ERR, *errorp, NS_LDAP_CONFIG, strdup(errmsg), NULL); in __s_api_create_config_door_str()
476 ns_ldap_error_t *errorp; in __ns_ldap_LoadDoorInfo() local
496 MKERROR(LOG_WARNING, errorp, NS_CONFIG_NOTLOADED, in __ns_ldap_LoadDoorInfo()
498 return (errorp); in __ns_ldap_LoadDoorInfo()
519 MKERROR(LOG_WARNING, errorp, NS_CONFIG_NOTLOADED, in __ns_ldap_LoadDoorInfo()
523 return (errorp); in __ns_ldap_LoadDoorInfo()
552 MKERROR(LOG_WARNING, errorp, NS_CONFIG_NOTLOADED, in __ns_ldap_LoadDoorInfo()
554 return (errorp); in __ns_ldap_LoadDoorInfo()
576 ns_ldap_error_t *errorp; in __ns_ldap_DumpLdif() local
586 MKERROR(LOG_ERR, errorp, NS_CONFIG_NOTLOADED, strdup(errstr), in __ns_ldap_DumpLdif()
588 return (errorp); in __ns_ldap_DumpLdif()
599 MKERROR(LOG_WARNING, errorp, NS_CONFIG_FILE, in __ns_ldap_DumpLdif()
602 return (errorp); in __ns_ldap_DumpLdif()
612 MKERROR(LOG_WARNING, errorp, NS_CONFIG_FILE, strdup(errstr), in __ns_ldap_DumpLdif()
615 return (errorp); in __ns_ldap_DumpLdif()
683 ns_ldap_error_t *errorp = NULL; in __ns_ldap_DumpConfigFiles() local
692 MKERROR(LOG_ERR, errorp, NS_CONFIG_NOTLOADED, strdup(errstr), in __ns_ldap_DumpConfigFiles()
694 return (errorp); in __ns_ldap_DumpConfigFiles()
711 MKERROR(LOG_ERR, errorp, NS_CONFIG_FILE, in __ns_ldap_DumpConfigFiles()
714 return (errorp); in __ns_ldap_DumpConfigFiles()
783 MKERROR(LOG_ERR, errorp, NS_CONFIG_FILE, in __ns_ldap_DumpConfigFiles()
789 return (errorp); in __ns_ldap_DumpConfigFiles()
835 ns_ldap_error_t *errorp; in __ns_ldap_make_config() local
846 MKERROR(LOG_ERR, errorp, NS_PARSE_ERR, strdup(errstr), NULL); in __ns_ldap_make_config()
847 (void) __ns_ldap_freeError(&errorp); in __ns_ldap_make_config()
998 ns_ldap_error_t **errorp) in __ns_ldap_download() argument
1007 *errorp = NULL; in __ns_ldap_download()
1015 MKERROR(LOG_ERR, *errorp, NS_CONFIG_NOTLOADED, strdup(errstr), in __ns_ldap_download()
1021 errorp); in __ns_ldap_download()
1027 rc = __ns_ldap_setParamValue(ptr, NS_LDAP_SERVERS_P, addr, errorp); in __ns_ldap_download()
1035 NULL, NULL, NULL, 0, &result, errorp, NULL, NULL); in __ns_ldap_download()
1049 MKERROR(LOG_ERR, *errorp, NS_CONFIG_NOTLOADED, strdup(errstr), in __ns_ldap_download()
1074 ns_ldap_error_t *errorp; in __ns_ldap_print_config() local
1080 errorp = __ns_ldap_LoadConfiguration(); in __ns_ldap_print_config()
1081 if (errorp != NULL) in __ns_ldap_print_config()
1082 return (errorp); in __ns_ldap_print_config()
1087 MKERROR(LOG_WARNING, errorp, NS_CONFIG_NOTLOADED, in __ns_ldap_print_config()
1089 return (errorp); in __ns_ldap_print_config()