Searched refs:attrvalue (Results 1 - 19 of 19) sorted by relevance

/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A DprintResult.c37 entry->attr_pair[j]->attrvalue[0]);
40 (entry->attr_pair[j]->attrvalue[k]); k++) {
45 val = entry->attr_pair[j]->attrvalue[k];
H A Dldapaddent.c257 a->attrvalue = (char **)calloc(1, sizeof (char **));
258 if (a->attrvalue == NULL) {
264 a->attrvalue[0] = NULL;
268 free(a->attrvalue);
272 a->attrvalue[0] = v;
298 a->attrvalue = (char **)calloc(i, sizeof (char **));
300 if (a->attrvalue == NULL) {
310 free(a->attrvalue);
314 a->attrvalue[j] = v;
360 if (ep->attr_pair[j]->attrvalue) {
[all...]
/osnet-11/usr/src/lib/nsswitch/ldap/common/
H A Dgetbootparams.c87 if (bparams == NULL || bparams->attrvalue == NULL) {
93 if (bparams->attrvalue[i] == NULL) {
101 if (strcasecmp(names[0], bparams->attrvalue[i]) != 0) {
105 bparams->attrvalue[i]);
108 bparams->attrvalue[i]);
H A Dgetprinter.c114 if (attr != NULL && attr->attrvalue != NULL) {
117 attr->attrvalue[i]);
137 len = strlen(attr->attrvalue[j]);
139 (attr->attrvalue[j] == '\0')) {
145 attr->attrvalue[j]);
202 if (attr->attrvalue[j] == NULL) {
207 len = strlen(attr->attrvalue[j]);
218 for (kp = attr->attrvalue[j]; *kp != NULL; kp++)
237 attr->attrvalue[j]);
238 buffer += strlen(attr->attrvalue[
[all...]
H A Dgetprojent.c115 if (!(users == NULL || users->attrvalue == NULL)) {
118 if (users->attrvalue[i] == NULL) {
124 users->attrvalue[i]);
128 users->attrvalue[i]);
137 if (!(groups == NULL || groups->attrvalue == NULL)) {
140 if (groups->attrvalue[i] == NULL) {
146 groups->attrvalue[i]);
150 groups->attrvalue[i]);
H A Dgetservent.c158 if (names == NULL || names->attrvalue == NULL) {
183 if (protocol == NULL || protocol->attrvalue == NULL) {
193 protoval = protocol->attrvalue[cookie->index++];
204 if (protocol->attrvalue[k] == NULL) {
208 if (strcmp(protocol->attrvalue[k],
210 protoval = protocol->attrvalue[k];
227 protoval = protocol->attrvalue[0];
241 if (names->attrvalue[i] == NULL) {
246 if (strcmp(cname, names->attrvalue[i]) != 0) {
248 names->attrvalue[
[all...]
H A Dgetrpcent.c87 if (names == NULL || names->attrvalue == NULL) {
107 if (names->attrvalue[i] == NULL) {
112 if (strcasecmp(names->attrvalue[i], cname) != 0) {
114 names->attrvalue[i]);
H A Dgetnetent.c89 if (names == NULL || names->attrvalue == NULL) {
106 cname = names->attrvalue[0];
121 if (names->attrvalue[i] == NULL) {
126 if (strcasecmp(names->attrvalue[i], cname) != 0) {
128 names->attrvalue[i]);
H A Dgetprotoent.c161 if (names == NULL || names->attrvalue == NULL) {
188 if (names->attrvalue[i] == NULL) {
193 if (strcasecmp(names->attrvalue[i], cname) != 0) {
195 names->attrvalue[i]);
H A Dldap_utils.c51 (curEntry->attr_pair[j]->attrvalue[k]);
54 "attr_pair[%d]->attrvalue[%d] = %s \n",
56 curEntry->attr_pair[j]->attrvalue[k]);
H A Dgetgrent.c454 if (members != NULL && members->attrvalue != NULL)
457 if (members != NULL && members->attrvalue != NULL)
728 attrs = goc->attrvalue;
900 classes = oc->attrvalue;
936 if (username != NULL && username->attrvalue != NULL) {
937 user = username->attrvalue[0];
950 if (members != NULL && members->attrvalue != NULL) {
953 user = members->attrvalue[i];
965 if (members == NULL || members->attrvalue == NULL)
996 dn = members->attrvalue[
[all...]
H A Dldap_common.c821 if (stype == NULL || stype->attrvalue == NULL)
824 if (strcmp(stype->attrvalue[0], NS_LDAP_ATTR_VAL_SERVER_ODSEE) == 0) {
829 if (strcmp(stype->attrvalue[0], NS_LDAP_ATTR_VAL_SERVER_AD) == 0) {
834 if (strcmp(stype->attrvalue[0], NS_LDAP_ATTR_VAL_SERVER_OPENLDAP) ==
840 if (strcmp(stype->attrvalue[0], NS_LDAP_ATTR_VAL_SERVER_OID) == 0) {
H A Dgethostent.c166 if (names == NULL || names->attrvalue == NULL) {
202 name = names->attrvalue[i];
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_reads.c80 if (ep->attr_pair[j]->attrvalue) {
82 (ep->attr_pair[j]->attrvalue[k]); k++) {
83 free(ep->attr_pair[j]->attrvalue[k]);
85 free(ep->attr_pair[j]->attrvalue);
383 apair[i]->attrvalue = (char **)calloc(2,
385 if (apair[i]->attrvalue == NULL) {
389 apair[i]->attrvalue[0] = strdup(val);
390 if (apair[i]->attrvalue[0] == NULL) {
752 if ((ap[0]->attrvalue = (char **)
759 ap[0]->attrvalue[
[all...]
H A Dns_writes.c438 mapping[1] && attr[k]->attrvalue[0] &&
439 (comma1 = strchr(attr[k]->attrvalue[0],
457 vlen = comma1 - attr[k]->attrvalue[0];
458 c = attr[k]->attrvalue[0];
493 vlen = strlen(attr[k]->attrvalue[0]) -
494 (c - attr[k]->attrvalue[0]);
518 vlen = comma1 - attr[k]->attrvalue[0];
519 c = attr[k]->attrvalue[0];
580 vlen = strlen(attr[k]->attrvalue[0]) -
581 (c - attr[k]->attrvalue[
[all...]
H A Dns_common.c123 curEntry->attr_pair[j]->attrvalue[k]; k++)
125 "attrvalue[%d] = %s \n", i, j, k,
126 curEntry->attr_pair[j]->attrvalue[k]);
2400 if (attrptr->attrvalue[i] &&
2402 attrptr->attrvalue[i]) == 0) {
2404 value = attrptr->attrvalue[i];
H A Dns_sldap.h419 char **attrvalue; /* attribute values */ member in struct:ns_ldap_attr
H A Dns_confmgr.c876 attr->attrvalue[m]) == 0) {
903 attrval = attr->attrvalue;
/osnet-11/usr/src/lib/passwdutil/
H A Dldap_attr.c160 free(p->pattrs[i]->attrvalue[0]);
169 free(p->sattrs[i]->attrvalue[0]);
470 tmp->attrvalue = (char **)calloc(2, sizeof (char *));
471 if (tmp->attrvalue == NULL) {
475 tmp->attrvalue[0] = value;
523 free(attrs[i]->attrvalue[0]);
524 attrs[i]->attrvalue[0] = strp;

Completed in 134 milliseconds