/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | cache.c | 63 LDAPMod **mods; in nsldapi_add_result_to_cache() 83 mods = (LDAPMod **)NSLDAPI_MALLOC( GRABSIZE * sizeof(LDAPMod *) ); in nsldapi_add_result_to_cache() 94 mods = (LDAPMod **)NSLDAPI_REALLOC( mods, in nsldapi_add_result_to_cache() 95 sizeof(LDAPMod *) * max ); in nsldapi_add_result_to_cache() 104 mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) ); in nsldapi_add_result_to_cache() 130 mods = (LDAPMod **)NSLDAPI_REALLOC( mods, in nsldapi_add_result_to_cache() 131 sizeof(LDAPMod *) * max ); in nsldapi_add_result_to_cache() 140 mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) ); in nsldapi_add_result_to_cache()
|
H A D | add.c | 59 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) in ldap_add() 80 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, in ldap_add_ext() 188 ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs ) in ldap_add_s() 194 ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, in ldap_add_ext_s()
|
H A D | modify.c | 57 ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods ) in ldap_modify() 73 ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods, in ldap_modify_ext() 188 ldap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods ) in ldap_modify_s() 195 ldap_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods, in ldap_modify_ext_s()
|
H A D | free.c | 88 ldap_mods_free( LDAPMod **mods, int freemods ) in ldap_mods_free()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_misc.h | 116 krb5_add_member(LDAPMod ***, int *); 119 krb5_add_str_mem_ldap_mod(LDAPMod ***, char *, int, char **); 122 krb5_add_ber_mem_ldap_mod(LDAPMod ***, char *, int, struct berval **); 125 krb5_add_int_arr_mem_ldap_mod(LDAPMod ***, char *, int, int *); 128 krb5_add_int_mem_ldap_mod(LDAPMod ***, char *, int , int); 131 krb5_ldap_free_mod_array(LDAPMod **);
|
H A D | ldap_misc.c | 1041 LDAPMod modAttr, *mods[2]={NULL}; 1086 LDAPMod modAttr, *mods[2]={NULL}; 1421 LDAPMod ***mods; in krb5_add_member() 1425 LDAPMod **lmods=NULL; 1431 lmods = (LDAPMod **) realloc((*mods), (2+i) * sizeof(LDAPMod *)); 1437 (*mods)[i] = (LDAPMod *) calloc(1, sizeof (LDAPMod)); 1449 LDAPMod ***mods; in krb5_add_str_mem_ldap_mod() 1496 LDAPMod ***mods; in krb5_add_ber_mem_ldap_mod() 1546 LDAPMod ***mods; in krb5_add_int_arr_mem_ldap_mod() 1578 LDAPMod ***mods; in krb5_add_int_mem_ldap_mod()
|
H A D | ldap_service_rights.c | 301 LDAPMod realmclass, subtreeclass, seccontclass, krbcontclass; 302 …LDAPMod *realmarr[3]={NULL}, *subtreearr[3]={NULL}, *seccontarr[3]={NULL}, *krbcont… 646 LDAPMod realmclass, subtreeclass; 647 LDAPMod *realmarr[3] = { NULL }, *subtreearr[3] = { NULL };
|
H A D | ldap_services.c | 55 LDAPMod **mods=NULL; 189 LDAPMod **mods=NULL; 573 LDAPMod **mods=NULL;
|
H A D | ldap_pwd_policy.c | 56 LDAPMod **mods={NULL}; 133 LDAPMod **mods=NULL;
|
H A D | ldap_tkt_policy.c | 51 LDAPMod **mods=NULL; 129 LDAPMod **mods=NULL;
|
H A D | ldap_realm.c | 404 LDAPMod **mods = NULL; 787 LDAPMod **mods = NULL; 963 LDAPMod **mods = NULL;
|
/illumos-gate/usr/src/lib/print/libprint/common/ |
H A D | nss_ldap.c | 160 char **attrList, LDAPMod ***attrs); 863 LDAPMod **attrs = NULL; in _addNewPrinterObject() 960 LDAPMod **attrs = NULL; in _modifyPrinterObject() 1169 *attrs = (LDAPMod **)calloc(1, 2 * sizeof (LDAPMod *)); in _addLDAPmodValue() 1183 *attrs = (LDAPMod **) in _addLDAPmodValue() 1184 realloc(*attrs, (i+2) * sizeof (LDAPMod *)); in _addLDAPmodValue() 1202 (*attrs)[i] = (LDAPMod *) malloc(sizeof (LDAPMod)); in _addLDAPmodValue() 1307 *attrs = (LDAPMod **)calloc(1, 2 * sizeof (LDAPMod *)); in _modLDAPmodValue() 1323 *attrs = (LDAPMod **) in _modLDAPmodValue() 1342 (*attrs)[i] = (LDAPMod *) malloc(sizeof (LDAPMod)); in _modLDAPmodValue() [all …]
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_wrapper.c | 64 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext() 75 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext_s() 85 char *dn, LDAPMod **attrs) in _ns_ldap_add() 94 char *dn, LDAPMod **attrs) in _ns_ldap_add_s() 190 char *dn, LDAPMod **mods, in _ns_ldap_modify_ext() 201 char *dn, LDAPMod **mods, in _ns_ldap_modify_ext_s() 211 char *dn, LDAPMod **mods) in _ns_ldap_modify() 221 char *dn, LDAPMod **mods) in _ns_ldap_modify_s()
|
H A D | ns_writes.c | 161 LDAPMod *mod, in init_bval_mod() 211 freeModList(LDAPMod **mods) in freeModList() 265 static LDAPMod ** 287 mods = (LDAPMod **)calloc((count + 3), sizeof (LDAPMod *)); in __s_api_makeModListCount() 294 modlist = (LDAPMod *)calloc(count + 2, sizeof (LDAPMod)); in __s_api_makeModListCount() 621 static LDAPMod ** 662 LDAPMod **mods, in write_state_machine() 1124 LDAPMod **mods; in __ns_ldap_addAttr() 1160 LDAPMod **mods; in __ns_ldap_delAttr() 1281 LDAPMod **mods; in __ns_ldap_repAttr() [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 ); 111 static int domodify( char *dn, LDAPMod **pmods, int newentry ); 452 LDAPMod **pmods; 791 LDAPMod **pmods; 908 LDAPMod **pmods; 927 sizeof( LDAPMod * ))) == NULL ) { 933 if (( pmods[ i ] = (LDAPMod *)calloc( 1, sizeof( LDAPMod ))) 983 domodify( LDAP *ld, char *dn, LDAPMod **pmods, int newentry ) 985 domodify( char *dn, LDAPMod **pmods, int newentry ) [all …]
|
H A D | ldaptest.c | 144 static LDAPMod ** 149 LDAPMod tmp; in get_modlist() 150 LDAPMod **result; in get_modlist() 201 result = (LDAPMod **) malloc( sizeof(LDAPMod *) ); in get_modlist() 203 result = (LDAPMod **) realloc( result, in get_modlist() 204 sizeof(LDAPMod *) * (num + 1) ); in get_modlist() 206 result[num] = (LDAPMod *) malloc( sizeof(LDAPMod) ); in get_modlist() 212 result = (LDAPMod **) realloc( result, sizeof(LDAPMod *) * (num + 1) ); in get_modlist() 270 LDAPMod **mods, **attrs; in main()
|
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,
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_ads.c | 208 static int smb_ads_alloc_attr(LDAPMod **, int); 209 static void smb_ads_free_attr(LDAPMod **); 792 smb_ads_alloc_attr(LDAPMod *attrs[], int num) in smb_ads_alloc_attr() 796 bzero(attrs, num * sizeof (LDAPMod *)); in smb_ads_alloc_attr() 798 attrs[i] = (LDAPMod *)malloc(sizeof (LDAPMod)); in smb_ads_alloc_attr() 817 smb_ads_free_attr(LDAPMod *attrs[]) in smb_ads_free_attr() 887 LDAPMod *attrs[SMB_ADS_SHARE_NUM_ATTR]; in smb_ads_add_share() 1307 LDAPMod *attrs[SMB_ADS_COMPUTER_NUM_ATTR]; in smb_ads_computer_op() 1701 LDAPMod *attrs[2]; in smb_ads_update_computer_cntrl_attr() 1706 if (smb_ads_alloc_attr(attrs, sizeof (attrs) / sizeof (LDAPMod *)) != 0) in smb_ads_update_computer_cntrl_attr()
|
/illumos-gate/usr/src/head/ |
H A D | ldap.h | 157 } LDAPMod; typedef 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); 1157 LDAP_API(void) LDAP_CALL ldap_mods_free(LDAPMod **mods, int freemods);
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_op.h | 67 LDAPMod **search2LdapMod(__nis_rule_value_t *rv, int add,
|
H A D | ldap_print.h | 65 void printLdapMod(LDAPMod **mods, __nis_buffer_t *b);
|
H A D | ldap_op.c | 1816 freeLdapModEntry(LDAPMod *m) { in freeLdapModEntry() 1849 freeLdapMod(LDAPMod **mods) { in freeLdapMod() 1850 LDAPMod *m, **org = mods; in freeLdapMod() 1869 LDAPMod ** 1871 LDAPMod **mods; in search2LdapMod() 2046 LDAPMod **mods = 0; in ldapModifyObjectClass() 2225 LDAPMod **mods = 0; in ldapModify() 2464 LDAPMod **m; in ldapModify() 2520 LDAPMod **mods = 0; in ldapAdd()
|
H A D | ldap_print.c | 394 printLdapMod(LDAPMod **mods, __nis_buffer_t *b) { in printLdapMod() 395 LDAPMod *m; in printLdapMod()
|
/illumos-gate/usr/src/lib/libldap5/include/ldap/ |
H A D | solaris-int.h | 392 int msgid, ber_tag_t tag, const char *dn, LDAPMod **attrs); 396 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}; in idmap_ad_set() 762 mods[0] = (LDAPMod *)calloc(1, sizeof (LDAPMod)); in idmap_ad_set()
|