Lines Matching refs:res

119 	int		res, retval;  in genent_user_attr()  local
124 res = genent_attr(line, USERATTR_DB_NCOL, &ecol); in genent_user_attr()
125 if (res != GENENT_OK) in genent_user_attr()
126 return (res); in genent_user_attr()
144 if (continue_onerror == 0) res = GENENT_CBERR; in genent_user_attr()
149 return (res); in genent_user_attr()
153 dump_user_attr(ns_ldap_result_t *res) in dump_user_attr() argument
157 value = __ns_ldap_getAttr(res->entry, "uid"); in dump_user_attr()
164 value = __ns_ldap_getAttr(res->entry, "SolarisAttrKeyValue"); in dump_user_attr()
175 int res, retval; in genent_prof_attr() local
180 res = genent_attr(line, PROFATTR_DB_NCOL, &ecol); in genent_prof_attr()
181 if (res != GENENT_OK) in genent_prof_attr()
182 return (res); in genent_prof_attr()
202 res = GENENT_CBERR; in genent_prof_attr()
208 res = GENENT_CBERR; in genent_prof_attr()
212 return (res); in genent_prof_attr()
216 dump_prof_attr(ns_ldap_result_t *res) in dump_prof_attr() argument
220 value = __ns_ldap_getAttr(res->entry, "cn"); in dump_prof_attr()
227 value = __ns_ldap_getAttr(res->entry, "SolarisAttrLongDesc"); in dump_prof_attr()
231 value = __ns_ldap_getAttr(res->entry, "SolarisAttrKeyValue"); in dump_prof_attr()
242 int res, retval; in genent_exec_attr() local
247 res = genent_attr(line, EXECATTR_DB_NCOL, &ecol); in genent_exec_attr()
248 if (res != GENENT_OK) in genent_exec_attr()
249 return (res); in genent_exec_attr()
273 res = GENENT_CBERR; in genent_exec_attr()
279 res = GENENT_CBERR; in genent_exec_attr()
283 return (res); in genent_exec_attr()
287 dump_exec_attr(ns_ldap_result_t *res) in dump_exec_attr() argument
295 profile = __ns_ldap_getAttr(res->entry, "cn"); in dump_exec_attr()
296 policy = __ns_ldap_getAttr(res->entry, "SolarisKernelSecurityPolicy"); in dump_exec_attr()
297 type = __ns_ldap_getAttr(res->entry, "SolarisProfileType"); in dump_exec_attr()
298 id = __ns_ldap_getAttr(res->entry, "SolarisProfileId"); in dump_exec_attr()
314 value = __ns_ldap_getAttr(res->entry, "SolarisAttrKeyValue"); in dump_exec_attr()
325 int res, retval; in genent_auth_attr() local
330 res = genent_attr(line, AUTHATTR_DB_NCOL, &ecol); in genent_auth_attr()
331 if (res != GENENT_OK) in genent_auth_attr()
332 return (res); in genent_auth_attr()
352 res = GENENT_CBERR; in genent_auth_attr()
358 res = GENENT_CBERR; in genent_auth_attr()
362 return (res); in genent_auth_attr()
366 dump_auth_attr(ns_ldap_result_t *res) in dump_auth_attr() argument
370 value = __ns_ldap_getAttr(res->entry, "cn"); in dump_auth_attr()
377 value = __ns_ldap_getAttr(res->entry, "SolarisAttrShortDesc"); in dump_auth_attr()
381 value = __ns_ldap_getAttr(res->entry, "SolarisAttrLongDesc"); in dump_auth_attr()
385 value = __ns_ldap_getAttr(res->entry, "SolarisAttrKeyValue"); in dump_auth_attr()