Home
last modified time | relevance | path

Searched refs:ber_printf (Results 1 – 25 of 71) sorted by relevance

123

/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dfilter.c303 if ( ber_printf( ber, "t{" /*"}"*/, tag ) == -1 ) { in put_complex_filter()
321 if ( ber_printf( ber, /*"{"*/ "N}" ) == -1 ) { in put_complex_filter()
477 if ( ber_printf( ber, /*"["*/ "]" ) == -1 ) { in ldap_pvt_put_filter()
645 rc = ber_printf( ber, "t{" /*"}"*/, ftype ); in put_simple_filter()
648 rc = ber_printf( ber, "ts", LDAP_FILTER_EXT_OID, rule ); in put_simple_filter()
652 rc = ber_printf( ber, "ts", LDAP_FILTER_EXT_TYPE, str ); in put_simple_filter()
659 rc = ber_printf( ber, "to", in put_simple_filter()
667 rc = ber_printf( ber, "tb", in put_simple_filter()
672 rc = ber_printf( ber, /*"{"*/ "N}" ); in put_simple_filter()
703 rc = ber_printf( ber, "ts", ftype, str ); in put_simple_filter()
[all …]
H A Dvc.c226 rc = ber_printf(ber, "{stO" /*"}"*/, in ldap_verify_credentials()
232 rc = ber_printf(ber, "{tOst{sN}" /*"}"*/, in ldap_verify_credentials()
236 rc = ber_printf(ber, "{st{sN}N" /*"}"*/, in ldap_verify_credentials()
241 rc = ber_printf(ber, "{tOst{sON}" /*"}"*/, in ldap_verify_credentials()
245 rc = ber_printf(ber, "{st{sON}" /*"}"*/, in ldap_verify_credentials()
259 rc = ber_printf(ber, "t{" /*"}"*/, LDAP_TAG_EXOP_VERIFY_CREDENTIALS_CONTROLS); in ldap_verify_credentials()
269 rc = ber_printf(ber, /*"{{"*/ "}N}"); in ldap_verify_credentials()
272 rc = ber_printf(ber, /*"{"*/ "N}"); in ldap_verify_credentials()
H A Dturn.c57 ber_printf( turnvalber, "{bs}", mutual, identifier ); in ldap_turn()
59 ber_printf( turnvalber, "{s}", identifier ); in ldap_turn()
87 ber_printf( turnvalber, "{bs}", 0xFF, identifier ); in ldap_turn_s()
89 ber_printf( turnvalber, "{s}", identifier ); in ldap_turn_s()
H A Dpasswd.c109 ber_printf( ber, "{" /*}*/ ); in ldap_passwd()
112 ber_printf( ber, "tO", in ldap_passwd()
117 ber_printf( ber, "tO", in ldap_passwd()
122 ber_printf( ber, "tO", in ldap_passwd()
126 ber_printf( ber, /*{*/ "N}" ); in ldap_passwd()
H A Dmodify.c77 rc = ber_printf( ber, "{it{s{" /*}}}*/, *msgidp, LDAP_REQ_MODIFY, dn ); in ldap_build_modify_req()
89 rc = ber_printf( ber, "{e{s[V]N}N}", in ldap_build_modify_req()
93 rc = ber_printf( ber, "{e{s[v]N}N}", in ldap_build_modify_req()
106 if ( ber_printf( ber, /*{{*/ "N}N}" ) == -1 ) { in ldap_build_modify_req()
118 if ( ber_printf( ber, /*{*/ "N}" ) == -1 ) { in ldap_build_modify_req()
H A Dvlvctrl.c117 tag = ber_printf( ber, "{ii" /*}*/, in ldap_create_vlv_control_value()
125 tag = ber_printf( ber, "t{iiN}", in ldap_create_vlv_control_value()
134 tag = ber_printf( ber, "tO", in ldap_create_vlv_control_value()
143 tag = ber_printf( ber, "tO", in ldap_create_vlv_control_value()
151 tag = ber_printf( ber, /*{*/ "N}" ); in ldap_create_vlv_control_value()
H A Dadd.c111 rc = ber_printf( ber, "{it{s{", /* '}}}' */ in ldap_build_add_req()
141 rc = ber_printf( ber, "{s[V]N}", attrs[i]->mod_type, in ldap_build_add_req()
151 rc = ber_printf( ber, "{s[v]N}", attrs[i]->mod_type, in ldap_build_add_req()
162 if ( ber_printf( ber, /*{{*/ "N}N}" ) == -1 ) { in ldap_build_add_req()
174 if ( ber_printf( ber, /*{*/ "N}" ) == -1 ) { in ldap_build_add_req()
H A Dtxn.c83 ber_printf( txnber, "{ON}", txnid ); in ldap_txn_end()
85 ber_printf( txnber, "{bON}", commit, txnid ); in ldap_txn_end()
116 ber_printf( txnber, "{ON}", txnid ); in ldap_txn_end_s()
118 ber_printf( txnber, "{bON}", commit, txnid ); in ldap_txn_end_s()
H A Dsortctrl.c320 tag = ber_printf( ber, "{" /*}*/ ); in ldap_create_sort_control_value()
326 tag = ber_printf( ber, "{s" /*}*/, keyList[i]->attributeType ); in ldap_create_sort_control_value()
332 tag = ber_printf( ber, "ts", in ldap_create_sort_control_value()
342 tag = ber_printf( ber, "tb", in ldap_create_sort_control_value()
351 tag = ber_printf( ber, /*{*/ "N}" ); in ldap_create_sort_control_value()
357 tag = ber_printf( ber, /*{*/ "N}" ); in ldap_create_sort_control_value()
H A Dderef.c64 tag = ber_printf( ber, "{" /*}*/ ); in ldap_create_deref_control_value()
73 tag = ber_printf( ber, "{s{" /*}}*/ , ds[i].derefAttr ); in ldap_create_deref_control_value()
80 tag = ber_printf( ber, "s", ds[i].attributes[ j ] ); in ldap_create_deref_control_value()
87 tag = ber_printf( ber, /*{{*/ "}N}" ); in ldap_create_deref_control_value()
94 tag = ber_printf( ber, /*{*/ "}" ); in ldap_create_deref_control_value()
H A Dcontrols.c64 if ( ber_printf( ber, "{s" /*}*/, c->ldctl_oid ) == -1 ) { in ldap_pvt_put_control()
69 && ( ber_printf( ber, "b", in ldap_pvt_put_control()
76 && ( ber_printf( ber, "O", &c->ldctl_value ) == -1 ) ) in ldap_pvt_put_control()
81 if ( ber_printf( ber, /*{*/"N}" ) == -1 ) { in ldap_pvt_put_control()
129 if( ber_printf( ber, "t{"/*}*/, LDAP_TAG_CONTROLS ) == -1 ) { in ldap_int_put_controls()
142 if( ber_printf( ber, /*{*/ "}" ) == -1 ) { in ldap_int_put_controls()
H A Dcancel.c54 ber_printf( cancelidber, "{i}", cancelid ); in ldap_cancel()
74 ber_printf( cancelidber, "{i}", cancelid ); in ldap_cancel_s()
H A Dmodrdn.c83 rc = ber_printf( ber, "{it{ssbtsN}", /* '}' */ in ldap_build_moddn_req()
89 rc = ber_printf( ber, "{it{ssbN}", /* '}' */ in ldap_build_moddn_req()
106 rc = ber_printf( ber, /*{*/ "N}" ); in ldap_build_moddn_req()
H A Ddelete.c56 rc = ber_printf( ber, "{its", /* '}' */ in ldap_build_delete_req()
71 if ( ber_printf( ber, /*{*/ "N}" ) == -1 ) { in ldap_build_delete_req()
H A Dsearch.c320 err = ber_printf( ber, "{ist{seeiib", *idp, dn, in ldap_build_search_req()
329 err = ber_printf( ber, "{it{seeiib", *idp, in ldap_build_search_req()
379 if ( ber_printf( ber, /*{*/ "{v}N}", attrs ) == -1 ) { in ldap_build_search_req()
391 if ( ber_printf( ber, /*{*/ "N}" ) == -1 ) { in ldap_build_search_req()
H A Dabandon.c226 err = ber_printf( ber, "{isti", /* '}' */ in do_abandon()
234 err = ber_printf( ber, "{iti", /* '}' */ in do_abandon()
252 err = ber_printf( ber, /*{*/ "N}" ); in do_abandon()
H A Dcompare.c64 rc = ber_printf( ber, "{it{s{sON}N}", /* '}' */ in ldap_build_compare_req()
80 if( ber_printf( ber, /*{*/ "N}" ) == -1 ) { in ldap_build_compare_req()
H A Dextended.c52 rc = ber_printf( ber, "{it{tstON}", /* '}' */ in ldap_build_extended_req()
58 rc = ber_printf( ber, "{it{tsN}", /* '}' */ in ldap_build_extended_req()
75 if ( ber_printf( ber, /*{*/ "N}" ) == -1 ) { in ldap_build_extended_req()
H A Dmsctrl.c75 tag = ber_printf( ber, "{iiO}", flags, maxAttrCount, cookie ); in ldap_create_dirsync_value()
224 tag = ber_printf( ber, "{i}", flag ); in ldap_create_extended_dn_value()
/netbsd-src/external/bsd/openldap/dist/libraries/liblber/
H A Detest.c116 if( ber_printf( ber, "{" /*}*/ ) ) { in main()
134 rc = ber_printf( ber, fmt, atoi(buf) ); in main()
142 rc = ber_printf( ber, fmt ); in main()
148 rc = ber_printf( ber, fmt, buf, strlen(buf) ); in main()
153 rc = ber_printf( ber, fmt, buf ); in main()
158 rc = ber_printf( ber, fmt, tag ); in main()
174 if( ber_printf( ber, /*{*/ "N}" ) == -1 ) { in main()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/vc/
H A Dvc.c91 (void)ber_printf( ber, "{is" /*}*/ , resultCode, diagnosticMessage ? diagnosticMessage : "" ); in vc_create_response()
98 (void)ber_printf( ber, "tO", 0, LDAP_TAG_EXOP_VERIFY_CREDENTIALS_COOKIE, &cookie ); in vc_create_response()
102 ber_printf( ber, "tO", LDAP_TAG_EXOP_VERIFY_CREDENTIALS_SCREDS, servercred ); in vc_create_response()
107 ber_printf( ber, "tO", LDAP_TAG_EXOP_VERIFY_CREDENTIALS_AUTHZID, authzid ); in vc_create_response()
114 rc = ber_printf( ber, "t{"/*}*/, LDAP_TAG_EXOP_VERIFY_CREDENTIALS_CONTROLS ); in vc_create_response()
118 rc = ber_printf( ber, "{s" /*}*/, ctrls[c]->ldctl_oid ); in vc_create_response()
121 rc = ber_printf( ber, "b", (ber_int_t)ctrls[c]->ldctl_iscritical ) ; in vc_create_response()
126 rc = ber_printf( ber, "O", &ctrls[c]->ldctl_value ); in vc_create_response()
130 rc = ber_printf( ber, /*{*/"N}" ); in vc_create_response()
134 rc = ber_printf( ber, /*{*/"N}" ); in vc_create_response()
[all …]
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dresult.c470 rc = ber_printf( ber, "{s" /*}*/, c->ldctl_oid ); in send_ldap_control()
473 rc = ber_printf( ber, "b", in send_ldap_control()
479 rc = ber_printf( ber, "O", &c->ldctl_value ); in send_ldap_control()
483 rc = ber_printf( ber, /*{*/"N}" ); in send_ldap_control()
497 rc = ber_printf( ber, "t{"/*}*/, LDAP_TAG_CONTROLS ); in send_ldap_controls()
517 ber_printf( sber, "{e}", LDAP_UNWILLING_TO_PERFORM ); in send_ldap_controls()
530 rc = ber_printf( ber, /*{*/"N}" ); in send_ldap_controls()
686 rc = ber_printf( ber, "t{ess" /*"}"*/, in send_ldap_response()
693 rc = ber_printf( ber, "{it{" /*"}}"*/, in send_ldap_response()
697 rc = ber_printf( ber, "{it{ess" /*"}}"*/, in send_ldap_response()
[all …]
H A Dtxn.c144 ber_printf( ber, "{" ); in txn_put_ctrls()
147 ber_printf( ber, "{it{", tr->tr_msgid, LDAP_TAG_CONTROLS ); in txn_put_ctrls()
150 ber_printf( ber, "}}" ); in txn_put_ctrls()
154 ber_printf( ber, "}" ); in txn_put_ctrls()
274 ber_printf( ber, "{i", o->o_msgid ); in txn_end_extop()
277 ber_printf( ber, "}" ); in txn_end_extop()
291 ber_printf( ber, "{" ); in txn_end_extop()
293 ber_printf( ber, "}" ); in txn_end_extop()
/netbsd-src/external/bsd/openldap/dist/clients/tools/
H A Dldappasswd.c267 ber_printf( ber, "{" /*}*/ ); in main()
270 ber_printf( ber, "ts", in main()
276 ber_printf( ber, "tO", in main()
282 ber_printf( ber, "tO", in main()
287 ber_printf( ber, /*{*/ "N}" ); in main()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/
H A Dderef.c424 rc = ber_printf( ber, "{" /*}*/ ); in deref_response()
433 rc = ber_printf( ber, "{OO" /*}*/, in deref_response()
440 rc = ber_printf( ber, "t{" /*}*/, in deref_response()
444 rc = ber_printf( ber, "{O[W]}", in deref_response()
452 rc = ber_printf( ber, /*{{*/ "}N}" ); in deref_response()
454 rc = ber_printf( ber, /*{*/ "}" ); in deref_response()
458 rc = ber_printf( ber, /*{*/ "}" ); in deref_response()

123