Searched refs:binddn (Results 1 - 15 of 15) sorted by relevance

/openbsd-current/usr.sbin/ldapd/
H A Dauth.c92 if (conn->binddn == NULL)
95 if (strcmp(dn, conn->binddn) != 0)
97 } else if (strcmp(aci->subject, conn->binddn) != 0)
121 if (conn->binddn != NULL) {
123 strcasecmp(conn->binddn, conf->rootdn) == 0)
126 strcasecmp(conn->binddn, ns->rootdn) == 0)
139 conn->binddn ? conn->binddn : "any",
255 ldap_auth_sasl(struct request *req, char *binddn, struct ber_element *params) argument
289 free(req->conn->binddn);
298 ldap_auth_simple(struct request *req, char *binddn, struct ber_element *auth) argument
404 char *binddn; local
[all...]
H A Dmodify.c195 if (ober_add_string(set, req->conn->binddn ? req->conn->binddn : "") == NULL)
368 ober_add_string(set, req->conn->binddn ? req->conn->binddn : "");
H A Dldape.c233 req->conn->binddn == NULL ? "" : req->conn->binddn);
H A Dconn.c80 free(conn->binddn);
H A Dldapd.h222 char *binddn; member in struct:conn
/openbsd-current/libexec/login_ldap/
H A Dbind.c40 bind_password(struct auth_ctx *ctx, char *binddn, char *bindpw) argument
44 if (aldap_bind(ctx->ld, binddn, bindpw) == -1) {
H A Dlogin_ldap.h48 char *binddn;/* bind dn for search, may be null */ member in struct:auth_ctx
H A Dlogin_ldap.c214 if (!bind_password(&ctx, ctx.binddn, pass))
216 ctx.userdn = ctx.binddn;
218 if (!bind_password(&ctx, ctx.binddn, ctx.bindpw))
H A Dutil.c243 } else if (strcmp(key, "binddn") == 0) {
244 free(ctx->binddn);
245 if ((ctx->binddn = parse_filter(ctx, value)) == NULL)
306 if (ctx->basedn == NULL && ctx->binddn == NULL) {
307 dlog(0, "Missing basedn or binddn");
H A Daldap.c189 aldap_bind(struct aldap *ldap, char *binddn, char *bindcred) argument
193 if (binddn == NULL)
194 binddn = "";
202 LDAP_REQ_BIND, VERSION, binddn, bindcred, BER_CLASS_CONTEXT,
/openbsd-current/etc/examples/
H A Dlogin_ldap.conf6 binddn=cn=admin,dc=openbsd,dc=org:\
H A Dypldap.conf13 binddn "cn=admin,dc=example,dc=com"
/openbsd-current/regress/lib/libutil/ber/
H A Dber_test.c539 char *binddn = "cn=admin"; local
559 binddn, bindcred,
/openbsd-current/usr.bin/ldap/
H A Daldap.c189 aldap_bind(struct aldap *ldap, char *binddn, char *bindcred) argument
193 if (binddn == NULL)
194 binddn = "";
202 LDAP_REQ_BIND, VERSION, binddn, bindcred, BER_CLASS_CONTEXT,
/openbsd-current/usr.sbin/ypldap/
H A Daldap.c189 aldap_bind(struct aldap *ldap, char *binddn, char *bindcred) argument
193 if (binddn == NULL)
194 binddn = "";
202 LDAP_REQ_BIND, VERSION, binddn, bindcred,

Completed in 131 milliseconds