Lines Matching refs:errorp

665 	ns_ldap_error_t ** errorp)  in write_state_machine()  argument
707 *errorp = conn_user->ns_error; in write_state_machine()
728 &followRef, errorp); in write_state_machine()
738 errorp); in write_state_machine()
753 flags, cred, &connectionId, &conp, errorp, in write_state_machine()
766 (void) __ns_ldap_freeError(errorp); in write_state_machine()
767 *errorp = NULL; in write_state_machine()
941 if (*errorp) in write_state_machine()
942 (void) __ns_ldap_freeError(errorp); in write_state_machine()
958 0, cred, &connectionId, &conp, errorp, in write_state_machine()
971 (void) __ns_ldap_freeError(errorp); in write_state_machine()
972 *errorp = NULL; in write_state_machine()
984 if (*errorp != NULL) { in write_state_machine()
988 ldap_error = (*errorp)->status; in write_state_machine()
1006 errorp); in write_state_machine()
1007 *errorp = NULL; in write_state_machine()
1013 (void) __ns_ldap_freeError(errorp); in write_state_machine()
1014 *errorp = NULL; in write_state_machine()
1068 MKERROR_PWD_MGMT(*errorp, Errno, err, in write_state_machine()
1071 MKERROR(LOG_INFO, *errorp, Errno, err, in write_state_machine()
1077 __s_api_conn_mt_close(conn_user, Errno, errorp); in write_state_machine()
1089 MKERROR(LOG_WARNING, *errorp, return_rc, err, in write_state_machine()
1122 ns_ldap_error_t ** errorp) in __ns_ldap_addAttr() argument
1130 *errorp = NULL; in __ns_ldap_addAttr()
1143 (char *)dn, mods, cred, flags, errorp); in __ns_ldap_addAttr()
1158 ns_ldap_error_t ** errorp) in __ns_ldap_delAttr() argument
1166 *errorp = NULL; in __ns_ldap_delAttr()
1179 (char *)dn, mods, cred, flags, errorp); in __ns_ldap_delAttr()
1187 get_admin_passwd(ns_cred_t *cred, ns_ldap_error_t **errorp) in get_admin_passwd() argument
1209 &paramVal, errorp)) != NS_LDAP_SUCCESS) in get_admin_passwd()
1213 *errorp = __s_api_make_error(NS_CONFIG_NODEFAULT, in get_admin_passwd()
1215 if (*errorp == NULL) in get_admin_passwd()
1226 *errorp = __s_api_make_error(NS_CONFIG_SYNTAX, in get_admin_passwd()
1228 if (*errorp == NULL) in get_admin_passwd()
1241 ns_ldap_error_t *errorp = NULL; in __ns_ldap_is_shadow_update_enabled() local
1244 (void ***)&enable_shadow, &errorp) != NS_LDAP_SUCCESS) { in __ns_ldap_is_shadow_update_enabled()
1245 if (errorp) in __ns_ldap_is_shadow_update_enabled()
1246 (void) __ns_ldap_freeError(&errorp); in __ns_ldap_is_shadow_update_enabled()
1279 ns_ldap_error_t ** errorp) in __ns_ldap_repAttr() argument
1289 *errorp = NULL; in __ns_ldap_repAttr()
1302 *errorp = __s_api_make_error(NS_CONFIG_NOTALLOW, in __ns_ldap_repAttr()
1322 rc = send_to_cachemgr(dn, (ns_ldap_attr_t **)attr, errorp); in __ns_ldap_repAttr()
1337 if ((rc = get_admin_passwd((ns_cred_t *)cred, errorp)) != in __ns_ldap_repAttr()
1347 (char *)dn, mods, cred, flags, errorp); in __ns_ldap_repAttr()
1361 ns_ldap_error_t ** errorp) in __ns_ldap_addEntry() argument
1375 *errorp = NULL; in __ns_ldap_addEntry()
1394 new_dn ? new_dn : (char *)dn, mods, cred, flags, errorp); in __ns_ldap_addEntry()
1410 ns_ldap_error_t ** errorp) in __ns_ldap_delEntry() argument
1420 *errorp = NULL; in __ns_ldap_delEntry()
1423 (char *)dn, NULL, cred, flags, errorp); in __ns_ldap_delEntry()
1528 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_passwd() argument
1545 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_passwd()
1670 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_project() argument
1686 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_project()
1782 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_shadow() argument
1799 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_shadow()
1906 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_group() argument
1923 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_group()
2010 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_hosts() argument
2027 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_hosts()
2144 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_rpc() argument
2161 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_rpc()
2234 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_protocols() argument
2251 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_protocols()
2322 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_services() argument
2340 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_services()
2426 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_networks() argument
2443 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_networks()
2518 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_netmasks() argument
2532 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_netmasks()
2581 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_netgroups() argument
2597 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_netgroups()
2677 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_bootparams() argument
2694 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_bootparams()
2756 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_ethers() argument
2771 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_ethers()
2835 ns_ldap_error_t **errorp) in modify_ethers_bootp() argument
2849 errorp == NULL || service == NULL) in modify_ethers_bootp()
2905 (void) __ns_ldap_freeError(errorp); in modify_ethers_bootp()
2907 errorp); in modify_ethers_bootp()
2914 (void) __ns_ldap_freeError(errorp); in modify_ethers_bootp()
2915 *errorp = new_errorp; in modify_ethers_bootp()
2929 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_publickey() argument
2942 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_publickey()
2993 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_aliases() argument
3009 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_aliases()
3071 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_auto_mount() argument
3088 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_auto_mount()
3092 rc = __ns_ldap_getParam(NS_LDAP_FILE_VERSION_P, &paramVal, errorp); in __s_cvt_auto_mount()
3098 if (rc && errorp) in __s_cvt_auto_mount()
3099 (void) __ns_ldap_freeError(errorp); in __s_cvt_auto_mount()
3173 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_authattr() argument
3187 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_authattr()
3265 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_execattr() argument
3281 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_execattr()
3376 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_profattr() argument
3390 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_profattr()
3460 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_userattr() argument
3473 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_userattr()
3542 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_audituser() argument
3555 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_audituser()
3609 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_tnrhtp() argument
3624 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_tnrhtp()
3679 ns_ldap_entry_t **entry, ns_ldap_error_t **errorp) in __s_cvt_tnrhdb() argument
3694 if (data == NULL || rdn == NULL || entry == NULL || errorp == NULL) in __s_cvt_tnrhdb()
3745 ns_ldap_error_t **errorp);
3788 ns_ldap_error_t **errorp) in __ns_ldap_addTypedEntry() argument
3821 rc = (*__s_cvtlist[s].cvt_rtn)(data, &rdn, &entry, errorp); in __ns_ldap_addTypedEntry()
3844 &sdlist, errorp); in __ns_ldap_addTypedEntry()
3851 rc = __s_api_getDNs(&dns, service, errorp); in __ns_ldap_addTypedEntry()
3874 &paramVal, errorp); in __ns_ldap_addTypedEntry()
3929 cred, flags, errorp); in __ns_ldap_addTypedEntry()
3932 cred, flags, errorp); in __ns_ldap_addTypedEntry()
3933 if (rc == NS_LDAP_INTERNAL && *errorp && in __ns_ldap_addTypedEntry()
3934 (*errorp)->status == LDAP_NO_SUCH_OBJECT) { in __ns_ldap_addTypedEntry()
3935 (void) __ns_ldap_freeError(errorp); in __ns_ldap_addTypedEntry()
3937 entry, cred, flags, errorp); in __ns_ldap_addTypedEntry()
3938 if (rc == NS_LDAP_INTERNAL && *errorp && in __ns_ldap_addTypedEntry()
3939 (*errorp)->status == in __ns_ldap_addTypedEntry()
3941 (*errorp)->status = LDAP_NO_SUCH_OBJECT; in __ns_ldap_addTypedEntry()
3947 cred, flags, errorp); in __ns_ldap_addTypedEntry()
3948 if (rc == NS_LDAP_INTERNAL && *errorp && in __ns_ldap_addTypedEntry()
3949 (*errorp)->status == LDAP_ALREADY_EXISTS && in __ns_ldap_addTypedEntry()
3953 modattrlist, cred, flags, errorp); in __ns_ldap_addTypedEntry()
4102 ns_ldap_error_t **errorp) in send_to_cachemgr() argument
4117 *errorp = NULL; in send_to_cachemgr()
4137 MKERROR(LOG_WARNING, *errorp, NS_CONFIG_CACHEMGR, in send_to_cachemgr()
4150 *errorp = __s_api_make_error(admin_result->status, in send_to_cachemgr()
4153 *errorp = __s_api_make_error(admin_result->status, in send_to_cachemgr()