ns_ldap_attr_t
ns_ldap_attr_t *attr;
ns_ldap_attr_t *attr;
ns_ldap_attr_t *attr;
ns_ldap_attr_t *attr;
ns_ldap_attr_t *attr;
ns_ldap_attr_t *attrs[2];
attrs[0] = (ns_ldap_attr_t *)malloc(sizeof (ns_ldap_attr_t));
dn, (const ns_ldap_attr_t * const *)attrs,
dn, (const ns_ldap_attr_t * const *)attrs,
dn, (const ns_ldap_attr_t * const *)attrs,
ns_ldap_attr_t **pkeyattrs, char *crypt, ns_ldap_attr_t **ckeyattrs)
ns_ldap_attr_t *attrs;
ns_ldap_attr_t *attr = entry->attr_pair[i];
if ((attrs = (ns_ldap_attr_t *)calloc(1,
sizeof (ns_ldap_attr_t))) == NULL)
if ((attrs = (ns_ldap_attr_t *)calloc(1,
sizeof (ns_ldap_attr_t))) == NULL)
update_ldap_attr(const char *dn, ns_ldap_attr_t **attrs, const char *passwd,
(const ns_ldap_attr_t * const *)attrs,
(const ns_ldap_attr_t * const *)attrs,
ns_ldap_attr_t *pattrs, *cattrs;
ns_ldap_attr_t *attrs[4]; /* objectclass, pk, sk, NULL */
if ((attrs[0] = (ns_ldap_attr_t *)calloc(1,
sizeof (ns_ldap_attr_t))) == NULL) {
if ((attrs[1] = (ns_ldap_attr_t *)calloc(1,
sizeof (ns_ldap_attr_t))) == NULL) {
if ((attrs[2] = (ns_ldap_attr_t *)calloc(1,
sizeof (ns_ldap_attr_t))) == NULL) {
ns_ldap_attr_t *attrs[4]; /* objectclass, pk, sk, NULL */
ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *rpcnumber = NULL;
ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *protocolnumber = NULL;
ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *networknumber = NULL;
ns_ldap_attr_t *attrptr = NULL, *cn = NULL, *port = NULL;
ns_ldap_attr_t *protocol = NULL;
ns_ldap_attr_t *a;
a = (ns_ldap_attr_t *)calloc(1, sizeof (ns_ldap_attr_t));
ns_ldap_attr_t *a;
a = (ns_ldap_attr_t *)calloc(1, sizeof (ns_ldap_attr_t));
e->attr_pair = (ns_ldap_attr_t **)calloc(max_attr+1,
sizeof (ns_ldap_attr_t *));
ns_ldap_attr_t *attrptr = NULL,
static ns_ldap_attr_t *
ns_ldap_attr_t *tmp;
static ns_ldap_attr_t **
ns_ldap_attr_t **ret;
ret = calloc(c/2, sizeof (ns_ldap_attr_t *));
ns_ldap_attr_t **attrs = NULL;
(const ns_ldap_attr_t * const *)attrs,
__s_api_get_canonical_name(ns_ldap_entry_t *entry, ns_ldap_attr_t *attrptr,
ns_ldap_attr_t *attr;
ns_ldap_attr_t *attrptr, int case_ignore);
ns_ldap_attr_t **ap = NULL;
ap = (ns_ldap_attr_t **)calloc(ep->attr_count + 1,
sizeof (ns_ldap_attr_t *));
ap[0] = (ns_ldap_attr_t *)calloc(1, sizeof (ns_ldap_attr_t));
ns_ldap_attr_t *
if ((ap[j] = (ns_ldap_attr_t *)
calloc(1, sizeof (ns_ldap_attr_t))) == NULL) {
ap[nAttrs] = (ns_ldap_attr_t *)
sizeof (ns_ldap_attr_t));
ns_ldap_attr_t **attr_pair; /* attributes pairs */
const ns_ldap_attr_t * const *attr,
const ns_ldap_attr_t * const *attr,
const ns_ldap_attr_t * const *attr,
ns_ldap_attr_t *__ns_ldap_getAttrStruct(
const ns_ldap_attr_t * const *attr,
const ns_ldap_attr_t * const *attr,
const ns_ldap_attr_t * const *attr,
rc = send_to_cachemgr(dn, (ns_ldap_attr_t **)attr, errorp);
const ns_ldap_attr_t * const *attr;
attr = (const ns_ldap_attr_t * const *)(entry->attr_pair);
ns_ldap_attr_t *a;
a = (ns_ldap_attr_t *)calloc(1, sizeof (ns_ldap_attr_t));
ns_ldap_attr_t *a;
a = (ns_ldap_attr_t *)calloc(1, sizeof (ns_ldap_attr_t));
e->attr_pair = (ns_ldap_attr_t **)
calloc(max_attr + 2, sizeof (ns_ldap_attr_t *));
const ns_ldap_attr_t * const *attr,
const ns_ldap_attr_t * const *attrlist,
ns_ldap_attr_t *new_attrlist[_MAX_ATTR_ETHBOOTP+1];
ns_ldap_attr_t new_attrlist0;
const ns_ldap_attr_t * const *aptr = attrlist;
ns_ldap_attr_t *aptr2;
aptr2 = (ns_ldap_attr_t *)*aptr++;
new_attrlist[i++] = (ns_ldap_attr_t *)aptr2;
aptr = (const ns_ldap_attr_t * const *) new_attrlist;
const ns_ldap_attr_t *const *modattrlist;
modattrlist = (const ns_ldap_attr_t * const *)entry->attr_pair;
attr2list(const char *dn, ns_ldap_attr_t **attr,
ns_ldap_attr_t *a = (ns_ldap_attr_t *)*attr;
ns_ldap_attr_t **aptr = (ns_ldap_attr_t **)attr;
ns_ldap_attr_t **attr,
const ns_ldap_attr_t * const *attr,
ns_ldap_attr_t **aptr = (ns_ldap_attr_t **)attr;
ns_ldap_attr_t **, ns_ldap_error_t **);
ns_ldap_attr_t *bparams;
ns_ldap_attr_t *attrptr;
ns_ldap_attr_t *attrptr;
getmembers_UID(char **bufpp, int *lenp, ns_ldap_attr_t *members)
getmembers_DN(char **bufpp, int *lenp, ns_ldap_attr_t *members)
getmembers_UID(char **bufpp, int *lenp, ns_ldap_attr_t *members);
getmembers_DN(char **bufpp, int *lenp, ns_ldap_attr_t *members);
ns_ldap_attr_t *members;
ns_ldap_attr_t *names;
ns_ldap_attr_t *names;
ns_ldap_attr_t *attr;
ns_ldap_attr_t *users, *groups;
ns_ldap_attr_t *names;
ns_ldap_attr_t *names;
ns_ldap_attr_t *names = NULL, *protocol = NULL;
extern ns_ldap_attr_t *getattr(ns_ldap_result_t *result, int i);
ns_ldap_attr_t *
ns_ldap_attr_t **pattrs; /* passwd attrs */
(const ns_ldap_attr_t * const *)attrs,
ns_ldap_attr_t **sattrs; /* passwd attrs */
ns_ldap_attr_t **pattrs = ldapbuf->pattrs;
ns_ldap_attr_t **sattrs = ldapbuf->sattrs;
ldapbuf->pattrs = calloc(_PWD_MAX_ATTR, sizeof (ns_ldap_attr_t *));
ldapbuf->sattrs = calloc(_S_MAX_ATTR, sizeof (ns_ldap_attr_t *));
ns_ldap_attr_t *
ns_ldap_attr_t *tmp;
attr_addmod(ns_ldap_attr_t **attrs, int *idx, char *item, int value)
ns_ldap_attr_t **pattrs = ldapbuf->pattrs;
ns_ldap_attr_t **sattrs = ldapbuf->sattrs;
ldap_replaceattr(const char *dn, ns_ldap_attr_t **attrs, const char *binddn,