Lines Matching defs:dn
40 BerElement * ldap_build_add_req(LDAP *ld, char *dn, LDAPMod **attrs,
63 if ( ber_printf( ber, "{it{s{", ++ld->ld_msgid, LDAP_REQ_ADD, dn )
123 * dn DN of the entry to add
136 * msgid = ldap_add( ld, dn, attrs );
138 int ldap_add( LDAP *ld, char *dn, LDAPMod **attrs )
148 if ((ber = ldap_build_add_req(ld, dn, attrs, NULL)) == NULLBER){
156 rv = send_initial_request( ld, LDAP_REQ_ADD, dn, ber );
164 ldap_add_s( LDAP *ld, char *dn, LDAPMod **attrs )
169 if ( (msgid = ldap_add( ld, dn, attrs )) == -1 )
184 * dn DN of the entry to add
201 * retcode = ldap_add_ext( ld, dn, attrs, srvctrls, cltctrls, &msgid );
204 int ldap_add_ext(LDAP *ld, char *dn, LDAPMod **attrs,
216 if ((ber = ldap_build_add_req(ld, dn, attrs, serverctrls)) == NULLBER){
227 rv = send_initial_request( ld, LDAP_REQ_ADD, dn, ber );
247 int ldap_add_ext_s(LDAP *ld, char *dn, LDAPMod **attrs,
254 if ((retcode = ldap_add_ext(ld, dn, attrs, serverctrls, clientctrls, &msgid)) != LDAP_SUCCESS)