/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | cache.c | 65 LDAPMod **mods; 85 mods = (LDAPMod **)NSLDAPI_MALLOC( GRABSIZE * sizeof(LDAPMod *) ); 96 mods = (LDAPMod **)NSLDAPI_REALLOC( mods, 97 sizeof(LDAPMod *) * max ); 106 mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) ); 132 mods = (LDAPMod **)NSLDAPI_REALLOC( mods, 133 sizeof(LDAPMod *) * max ); 142 mods[i] = (LDAPMod *)NSLDAPI_CALLO [all...] |
H A D | add.c | 46 * terminated array of pointers to LDAPMod structures. 51 * LDAPMod *attrs[] = { 61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) 82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, 190 ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs ) 196 ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs,
|
H A D | modify.c | 50 * LDAPMod *mods[] = { 59 ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods ) 75 ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods, 190 ldap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods ) 197 ldap_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods,
|
H A D | llib-lldap | 27 int ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls, int *msgidp); 29 int ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPControl **clientctrls); 31 int ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ); 32 int ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs ); 95 int ldap_modify_ext(LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls, int *msgidp); 97 int ldap_modify_ext_s(LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls) ; 99 int ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods ); 100 int ldtap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods ); 270 void ldap_mods_free( LDAPMod **mods, int freemods );
|
H A D | free.c | 90 ldap_mods_free( LDAPMod **mods, int freemods )
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc.h | 118 krb5_add_member(LDAPMod ***, int *); 121 krb5_add_str_mem_ldap_mod(LDAPMod ***, char *, int, char **); 124 krb5_add_ber_mem_ldap_mod(LDAPMod ***, char *, int, struct berval **); 127 krb5_add_int_arr_mem_ldap_mod(LDAPMod ***, char *, int, int *); 130 krb5_add_int_mem_ldap_mod(LDAPMod ***, char *, int , int); 133 krb5_ldap_free_mod_array(LDAPMod **);
|
H A D | ldap_misc.c | 1041 LDAPMod modAttr, *mods[2]={NULL}; 1086 LDAPMod modAttr, *mods[2]={NULL}; 1415 * Function to allocate, set the values of LDAPMod structure. The 1416 * LDAPMod structure is then added to the array at the ind 1421 LDAPMod ***mods; 1425 LDAPMod **lmods=NULL; 1431 lmods = (LDAPMod **) realloc((*mods), (2+i) * sizeof(LDAPMod *)); 1437 (*mods)[i] = (LDAPMod *) calloc(1, sizeof (LDAPMod)); [all...] |
H A D | ldap_services.c | 57 LDAPMod **mods=NULL; 191 LDAPMod **mods=NULL; 575 LDAPMod **mods=NULL;
|
H A D | ldap_service_rights.c | 303 LDAPMod realmclass, subtreeclass, seccontclass, krbcontclass; 304 LDAPMod *realmarr[3]={NULL}, *subtreearr[3]={NULL}, *seccontarr[3]={NULL}, *krbcontarr[3]={NULL}; 648 LDAPMod realmclass, subtreeclass; 649 LDAPMod *realmarr[3] = { NULL }, *subtreearr[3] = { NULL };
|
H A D | ldap_pwd_policy.c | 58 LDAPMod **mods={NULL}; 135 LDAPMod **mods=NULL;
|
H A D | ldap_tkt_policy.c | 51 LDAPMod **mods=NULL; 129 LDAPMod **mods=NULL;
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_op.h | 69 LDAPMod **search2LdapMod(__nis_rule_value_t *rv, int add,
|
H A D | ldap_print.h | 67 void printLdapMod(LDAPMod **mods, __nis_buffer_t *b);
|
H A D | ldap_print.c | 396 printLdapMod(LDAPMod **mods, __nis_buffer_t *b) { 397 LDAPMod *m;
|
H A D | ldap_op.c | 1816 freeLdapModEntry(LDAPMod *m) { 1849 freeLdapMod(LDAPMod **mods) { 1850 LDAPMod *m, **org = mods; 1864 * Convert a rule-value structure to the corresponding LDAPMod. 1869 LDAPMod ** 1871 LDAPMod **mods; 1885 * If we're creating an LDAPMod array for an add operation, 2046 LDAPMod **mods = 0; 2225 LDAPMod **mods = 0; 2464 LDAPMod ** [all...] |
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_wrapper.c | 66 char *dn, LDAPMod **attrs, 77 char *dn, LDAPMod **attrs, 87 char *dn, LDAPMod **attrs) 96 char *dn, LDAPMod **attrs) 192 char *dn, LDAPMod **mods, 203 char *dn, LDAPMod **mods, 213 char *dn, LDAPMod **mods) 223 char *dn, LDAPMod **mods)
|
H A D | ns_writes.c | 161 LDAPMod *mod, 211 freeModList(LDAPMod **mods) 265 static LDAPMod ** 273 LDAPMod **mods, *modlist; 287 mods = (LDAPMod **)calloc((count + 3), sizeof (LDAPMod *)); 294 modlist = (LDAPMod *)calloc(count + 2, sizeof (LDAPMod)); 621 static LDAPMod ** 662 LDAPMod **mod [all...] |
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_ldap.c | 159 static NSL_RESULT _addLDAPmodValue(LDAPMod ***attrs, char *type, char *value); 160 static NSL_RESULT _modLDAPmodValue(LDAPMod ***attrs, char *type, char *value); 162 char **attrList, LDAPMod ***attrs); 164 char **attrList, char ***oldKVPList, LDAPMod ***attrs); 174 static NSL_RESULT _attrAddKVP(LDAPMod ***attrs, char **kvpList, int kvpExists); 866 LDAPMod **attrs = NULL; 886 * setup attribute values in an LDAPMod 963 LDAPMod **attrs = NULL; 991 * setup the modify object LDAPMod 1129 * Description: Add the given attribute and its value to the LDAPMod arra [all...] |
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldapmodify.c | 95 static void addmodifyop( LDAPMod ***pmodsp, int modop, char *attr, 97 static void freepmods( LDAPMod **pmods ); 104 static int domodify( LDAP *ld, char *dn, LDAPMod **pmods, int newentry ); 111 static int domodify( char *dn, LDAPMod **pmods, int newentry ); 452 LDAPMod **pmods; 791 LDAPMod **pmods; 906 addmodifyop( LDAPMod ***pmodsp, int modop, char *attr, char *value, int vlen ) 908 LDAPMod **pmods; 926 if (( pmods = (LDAPMod **)LDAPTOOL_SAFEREALLOC( pmods, (i + 2) * 927 sizeof( LDAPMod * ))) [all...] |
H A D | ldaptool.h | 186 int ldaptool_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, 188 int ldaptool_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods,
|
H A D | ldaptest.c | 144 static LDAPMod ** 149 LDAPMod tmp; 150 LDAPMod **result; 201 result = (LDAPMod **) malloc( sizeof(LDAPMod *) ); 203 result = (LDAPMod **) realloc( result, 204 sizeof(LDAPMod *) * (num + 1) ); 206 result[num] = (LDAPMod *) malloc( sizeof(LDAPMod) ); 212 result = (LDAPMod **) reallo [all...] |
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_ads.c | 207 static int smb_ads_alloc_attr(LDAPMod **, int); 208 static void smb_ads_free_attr(LDAPMod **); 779 smb_ads_alloc_attr(LDAPMod *attrs[], int num) 783 bzero(attrs, num * sizeof (LDAPMod *)); 785 attrs[i] = (LDAPMod *)malloc(sizeof (LDAPMod)); 799 * attrs: an array of LDAPMod pointers 804 smb_ads_free_attr(LDAPMod *attrs[]) 874 LDAPMod *attrs[SMB_ADS_SHARE_NUM_ATTR]; 1298 LDAPMod *attr [all...] |
/illumos-gate/usr/src/head/ |
H A D | ldap.h | 157 } LDAPMod; typedef in typeref:struct:ldapmod 488 int LDAP_CALL ldap_add(LDAP *ld, const char *dn, LDAPMod **attrs); 489 int LDAP_CALL ldap_add_s(LDAP *ld, const char *dn, LDAPMod **attrs); 494 int LDAP_CALL ldap_modify(LDAP *ld, const char *dn, LDAPMod **mods); 496 LDAPMod **mods); 575 int LDAP_CALL ldap_add_ext(LDAP *ld, const char *dn, LDAPMod **attrs, 578 LDAPMod **attrs, LDAPControl **serverctrls, LDAPControl **clientctrls); 587 LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls, 590 LDAPMod **mods, LDAPControl **serverctrls, LDAPControl **clientctrls); 1183 * Function to dispose of an array of LDAPMod structure [all...] |
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | solaris-int.h | 394 int msgid, ber_tag_t tag, const char *dn, LDAPMod **attrs); 398 int msgid, ber_tag_t tag, const char *dn, LDAPMod **mods);
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | namemaps.c | 760 LDAPMod *mods[2] = {NULL, NULL}; 762 mods[0] = (LDAPMod *)calloc(1, sizeof (LDAPMod));
|