Home
last modified time | relevance | path

Searched refs:LDAPMod (Results 1 – 25 of 29) sorted by relevance

12

/titanic_50/usr/src/lib/libldap5/sources/ldap/common/
H A Dcache.c65 LDAPMod **mods; in nsldapi_add_result_to_cache()
85 mods = (LDAPMod **)NSLDAPI_MALLOC( GRABSIZE * sizeof(LDAPMod *) ); in nsldapi_add_result_to_cache()
96 mods = (LDAPMod **)NSLDAPI_REALLOC( mods, in nsldapi_add_result_to_cache()
97 sizeof(LDAPMod *) * max ); in nsldapi_add_result_to_cache()
106 mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) ); in nsldapi_add_result_to_cache()
132 mods = (LDAPMod **)NSLDAPI_REALLOC( mods, in nsldapi_add_result_to_cache()
133 sizeof(LDAPMod *) * max ); in nsldapi_add_result_to_cache()
142 mods[i] = (LDAPMod *)NSLDAPI_CALLOC( 1, sizeof(LDAPMod) ); in nsldapi_add_result_to_cache()
H A Dadd.c61 ldap_add( LDAP *ld, const char *dn, LDAPMod **attrs ) in ldap_add()
82 ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, in ldap_add_ext()
190 ldap_add_s( LDAP *ld, const char *dn, LDAPMod **attrs ) in ldap_add_s()
196 ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, in ldap_add_ext_s()
H A Dmodify.c59 ldap_modify( LDAP *ld, const char *dn, LDAPMod **mods ) in ldap_modify()
75 ldap_modify_ext( LDAP *ld, const char *dn, LDAPMod **mods, in ldap_modify_ext()
190 ldap_modify_s( LDAP *ld, const char *dn, LDAPMod **mods ) in ldap_modify_s()
197 ldap_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods, in ldap_modify_ext_s()
H A Dllib-lldap27 int ldap_add_ext( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPContro…
29 int ldap_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs, LDAPControl ** serverctrls, LDAPCont…
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, LDAPContro…
97 int ldap_modify_ext_s(LDAP *ld, const char *dn, LDAPMod **mods, LDAPControl **serverctrls, LDAPCont…
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 Dfree.c90 ldap_mods_free( LDAPMod **mods, int freemods ) in ldap_mods_free()
/titanic_50/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.h118 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 Dldap_misc.c1041 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 Dldap_service_rights.c303 LDAPMod realmclass, subtreeclass, seccontclass, krbcontclass;
304LDAPMod *realmarr[3]={NULL}, *subtreearr[3]={NULL}, *seccontarr[3]={NULL}, *krbcont…
648 LDAPMod realmclass, subtreeclass;
649 LDAPMod *realmarr[3] = { NULL }, *subtreearr[3] = { NULL };
H A Dldap_services.c57 LDAPMod **mods=NULL;
191 LDAPMod **mods=NULL;
575 LDAPMod **mods=NULL;
H A Dldap_pwd_policy.c58 LDAPMod **mods={NULL};
135 LDAPMod **mods=NULL;
H A Dldap_tkt_policy.c51 LDAPMod **mods=NULL;
129 LDAPMod **mods=NULL;
/titanic_50/usr/src/lib/print/libprint/common/
H A Dnss_ldap.c159 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; in _addNewPrinterObject()
963 LDAPMod **attrs = NULL; in _modifyPrinterObject()
1144 _addLDAPmodValue(LDAPMod ***attrs, char *type, char *value) in _addLDAPmodValue()
1172 *attrs = (LDAPMod **)calloc(1, 2 * sizeof (LDAPMod *)); in _addLDAPmodValue()
1186 *attrs = (LDAPMod **) in _addLDAPmodValue()
[all …]
/titanic_50/usr/src/lib/libsldap/common/
H A Dns_wrapper.c66 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext()
77 char *dn, LDAPMod **attrs, in _ns_ldap_add_ext_s()
87 char *dn, LDAPMod **attrs) in _ns_ldap_add()
96 char *dn, LDAPMod **attrs) in _ns_ldap_add_s()
192 char *dn, LDAPMod **mods, in _ns_ldap_modify_ext()
203 char *dn, LDAPMod **mods, in _ns_ldap_modify_ext_s()
213 char *dn, LDAPMod **mods) in _ns_ldap_modify()
223 char *dn, LDAPMod **mods) in _ns_ldap_modify_s()
H A Dns_writes.c161 LDAPMod *mod, in init_bval_mod()
211 freeModList(LDAPMod **mods) in freeModList()
265 static LDAPMod **
273 LDAPMod **mods, *modlist; in __s_api_makeModListCount()
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()
1122 LDAPMod **mods; in __ns_ldap_addAttr()
1158 LDAPMod **mods; in __ns_ldap_delAttr()
[all …]
/titanic_50/usr/src/cmd/ldap/common/
H A Dldapmodify.c95 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 * ))) == NULL ) {
[all …]
H A Dldaptest.c144 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 Dldaptool.h186 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,
/titanic_50/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ads.c207 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) in smb_ads_alloc_attr()
783 bzero(attrs, num * sizeof (LDAPMod *)); in smb_ads_alloc_attr()
785 attrs[i] = (LDAPMod *)malloc(sizeof (LDAPMod)); in smb_ads_alloc_attr()
804 smb_ads_free_attr(LDAPMod *attrs[]) in smb_ads_free_attr()
874 LDAPMod *attrs[SMB_ADS_SHARE_NUM_ATTR]; in smb_ads_add_share()
1298 LDAPMod *attrs[SMB_ADS_COMPUTER_NUM_ATTR]; in smb_ads_computer_op()
1624 LDAPMod *attrs[2]; in smb_ads_update_computer_cntrl_attr()
1629 if (smb_ads_alloc_attr(attrs, sizeof (attrs) / sizeof (LDAPMod *)) != 0) in smb_ads_update_computer_cntrl_attr()
/titanic_50/usr/src/head/
H A Dldap.h157 } 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);
1187 LDAP_API(void) LDAP_CALL ldap_mods_free(LDAPMod **mods, int freemods);
/titanic_50/usr/src/lib/libnisdb/
H A Dldap_op.h69 LDAPMod **search2LdapMod(__nis_rule_value_t *rv, int add,
H A Dldap_print.h67 void printLdapMod(LDAPMod **mods, __nis_buffer_t *b);
H A Dldap_op.c1816 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 Dldap_print.c396 printLdapMod(LDAPMod **mods, __nis_buffer_t *b) { in printLdapMod()
397 LDAPMod *m; in printLdapMod()
/titanic_50/usr/src/lib/libldap5/include/ldap/
H A Dsolaris-int.h394 int msgid, ber_tag_t tag, const char *dn, LDAPMod **attrs);
398 int msgid, ber_tag_t tag, const char *dn, LDAPMod **mods);
/titanic_50/usr/src/cmd/idmap/idmap/
H A Dnamemaps.c760 LDAPMod *mods[2] = {NULL, NULL}; in idmap_ad_set()
762 mods[0] = (LDAPMod *)calloc(1, sizeof (LDAPMod)); in idmap_ad_set()

12