/openbsd-current/usr.sbin/ldapd/ |
H A D | auth.c | 92 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 D | modify.c | 195 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 D | ldape.c | 233 req->conn->binddn == NULL ? "" : req->conn->binddn);
|
H A D | conn.c | 80 free(conn->binddn);
|
H A D | ldapd.h | 222 char *binddn; member in struct:conn
|
/openbsd-current/libexec/login_ldap/ |
H A D | bind.c | 40 bind_password(struct auth_ctx *ctx, char *binddn, char *bindpw) argument 44 if (aldap_bind(ctx->ld, binddn, bindpw) == -1) {
|
H A D | login_ldap.h | 48 char *binddn;/* bind dn for search, may be null */ member in struct:auth_ctx
|
H A D | login_ldap.c | 214 if (!bind_password(&ctx, ctx.binddn, pass)) 216 ctx.userdn = ctx.binddn; 218 if (!bind_password(&ctx, ctx.binddn, ctx.bindpw))
|
H A D | util.c | 243 } 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 D | aldap.c | 189 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 D | login_ldap.conf | 6 binddn=cn=admin,dc=openbsd,dc=org:\
|
H A D | ypldap.conf | 13 binddn "cn=admin,dc=example,dc=com"
|
/openbsd-current/regress/lib/libutil/ber/ |
H A D | ber_test.c | 539 char *binddn = "cn=admin"; local 559 binddn, bindcred,
|
/openbsd-current/usr.bin/ldap/ |
H A D | aldap.c | 189 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 D | aldap.c | 189 aldap_bind(struct aldap *ldap, char *binddn, char *bindcred) argument 193 if (binddn == NULL) 194 binddn = ""; 202 LDAP_REQ_BIND, VERSION, binddn, bindcred,
|