Home
last modified time | relevance | path

Searched refs:objectDN (Results 1 – 15 of 15) sorted by relevance

/titanic_50/usr/src/lib/libnisdb/
H A Dldap_parse.c250 for (o = to = t->objectDN; o != 0; o = o->next) { in linked2hash()
274 x->objectDN = o; in linked2hash()
282 if (x->objectDN->write.scope != LDAP_SCOPE_UNKNOWN) { in linked2hash()
283 if (x->objectDN->write.base == 0 && in linked2hash()
284 x->objectDN->read.base != 0) { in linked2hash()
285 x->objectDN->write.base = in linked2hash()
287 x->objectDN->read.base); in linked2hash()
288 if (x->objectDN->write.base == 0) in linked2hash()
291 if (x->objectDN->write.attrs == 0 && in linked2hash()
292 x->objectDN->read.attrs != 0) { in linked2hash()
[all …]
H A Dnis_parse_ldap_yp_util.c89 mapping->objectDN = NULL; in initialize_table_mapping()
262 if (!out->objectDN && in->objectDN) { in merge_table_mapping()
263 out->objectDN = (__nis_object_dn_t *) in merge_table_mapping()
265 if (!out->objectDN) in merge_table_mapping()
267 if (copy_object_dn(in->objectDN, out->objectDN)) { in merge_table_mapping()
268 free_object_dn(out->objectDN); in merge_table_mapping()
269 out->objectDN = NULL; in merge_table_mapping()
903 if (nm == 1 && returned_map && returned_map->objectDN) { in final_parser_pass()
905 returned_map->objectDN, in final_parser_pass()
908 returned_map->objectDN->write.base) { in final_parser_pass()
[all …]
H A Dldap_map.c622 if (t->objectDN->delDisp == dd_perDbId) { in map1qToLDAP()
632 del.numRulesToLDAP = del.objectDN->numDbIds; in map1qToLDAP()
633 del.ruleToLDAP = del.objectDN->dbId; in map1qToLDAP()
643 } else if (t->objectDN->delDisp == dd_always) { in map1qToLDAP()
647 } else if (t->objectDN->delDisp == dd_never) { in map1qToLDAP()
655 myself, t->objectDN->delDisp, in map1qToLDAP()
1019 delPerDbId = (tpa[i]->objectDN->delDisp == dd_perDbId); in mapToLDAP()
1034 tpa[i]->objectDN->write.attrs, in mapToLDAP()
1040 tpa[i]->objectDN->write.attrs, 0); in mapToLDAP()
1276 if (x->objectDN == 0) in selectTableMapping()
[all …]
H A Dnis_parse_ldap_util.c296 if (mapping->objectDN != NULL) in free_table_mapping()
297 free_object_dn(mapping->objectDN); in free_table_mapping()
298 mapping->objectDN = NULL; in free_table_mapping()
741 __nis_object_dn_t *objectDN; in finish_parse() local
814 if (t->objectDN == NULL) { in finish_parse()
827 objectDN = t->objectDN; in finish_parse()
828 while (objectDN != NULL) { in finish_parse()
829 if (objectDN->dbIdName != NULL) { in finish_parse()
830 s = objectDN->dbIdName; in finish_parse()
834 report_error2(objectDN->dbIdName, t->dbId); in finish_parse()
[all …]
H A Dldap_op.c187 __nis_object_dn_t *objectDN = NULL; in createLdapRequest() local
193 objectDN = t->objectDN; in createLdapRequest()
195 objectDN = obj_dn; in createLdapRequest()
202 base = objectDN->read.base; in createLdapRequest()
203 filter = makeFilter(objectDN->read.attrs); in createLdapRequest()
205 base = objectDN->write.base; in createLdapRequest()
206 filter = makeFilter(objectDN->write.attrs); in createLdapRequest()
210 ls = buildLdapSearch(base, objectDN->read.scope, 0, 0, filter, in createLdapRequest()
242 fromLDAP ? objectDN->read.base : in createLdapRequest()
243 objectDN->write.base, in createLdapRequest()
[all …]
H A Dldap_op.h63 __nis_object_dn_t *objectDN);
H A Dldap_ruleval.c634 t->objectDN->write.base : t->objectDN->read.base; in addLdapRuleValue()
692 t->objectDN->write.base, in addLdapRuleValue()
696 t->objectDN, dn, numDN); in addLdapRuleValue()
749 t->objectDN->write.scope != in addLdapRuleValue()
755 t->objectDN->write.base, &rval->val[j], in addLdapRuleValue()
H A Dldap_nisdbquery.c701 if (t == 0 || t->objectDN == 0 || rv == 0) in createNisPlusEntry()
705 __nisdb_get_tsd()->searchBase = t->objectDN->read.base; in createNisPlusEntry()
745 t->objectDN->write.base, in createNisPlusEntry()
749 t->objectDN, dn, numDN); in createNisPlusEntry()
H A Dldap_parse.h664 __nis_object_dn_t *objectDN; member
H A Dnis_parse_ldap_map.c98 __nis_object_dn_t *objectDN; in add_mapping_attribute() local
307 if (t_mapping->objectDN != NULL) { in add_mapping_attribute()
311 objectDN = parse_object_dn(s, attrib_end); in add_mapping_attribute()
312 if (objectDN == NULL) in add_mapping_attribute()
314 t_mapping->objectDN = objectDN; in add_mapping_attribute()
H A Dldap_print.c287 for (o = t->objectDN; o != 0; o = o->next) { in printTableMapping()
H A Ddb_table.cc782 __nis_object_dn_t *odn = mapping.tm->objectDN; in configure()
/titanic_50/usr/src/lib/libnisdb/yptol/
H A Ddit_access.c595 __nis_object_dn_t *objectDN = NULL; in update_map_from_dit() local
735 for (objectDN = t->objectDN; in update_map_from_dit()
736 objectDN && objectDN->read.base; in update_map_from_dit()
737 objectDN = objectDN->next) { in update_map_from_dit()
739 objectDN)) == 0) { in update_map_from_dit()
746 objectDN->read.base); in update_map_from_dit()
774 objectDN->read.base); in update_map_from_dit()
806 objectDN->read.base); in update_map_from_dit()
820 objectDN->read.base); in update_map_from_dit()
834 objectDN->read.base); in update_map_from_dit()
[all …]
H A Ddit_access_utils.c659 __nisdb_get_tsd()->searchBase = t->objectDN->read.base; in buildNISRuleValue()
1012 __nis_object_dn_t *objectDN = NULL; in singleReadFromDIT() local
1077 for (objectDN = t->objectDN; objectDN && in singleReadFromDIT()
1078 objectDN->read.base; in singleReadFromDIT()
1079 objectDN = objectDN->next) { in singleReadFromDIT()
1081 objectDN); in singleReadFromDIT()
1090 objectDN->read.base); in singleReadFromDIT()
1117 objectDN->read.base); in singleReadFromDIT()
1133 t->dbId, map, objectDN->read.base); in singleReadFromDIT()
1148 objectDN->read.base); in singleReadFromDIT()
[all …]
/titanic_50/usr/src/lib/print/libprint/common/
H A Dnss_ldap.c152 static NSL_RESULT _checkPrinterDNExists(LDAP *ld, uchar_t *objectDN);
171 uchar_t *objectDN, char ***list);
720 _checkPrinterDNExists(LDAP *ld, uchar_t *objectDN) in _checkPrinterDNExists() argument
731 if ((ld != NULL) && (objectDN != NULL)) in _checkPrinterDNExists()
735 sresult = ldap_search_s(ld, (char *)objectDN, LDAP_SCOPE_BASE, in _checkPrinterDNExists()
2088 _getCurrentKVPValues(LDAP *ld, uchar_t *objectDN, char ***list) in _getCurrentKVPValues() argument
2103 if ((list != NULL) && (ld != NULL) && (objectDN != NULL)) in _getCurrentKVPValues()
2107 sresult = ldap_search_s(ld, (char *)objectDN, LDAP_SCOPE_BASE, in _getCurrentKVPValues()