Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is LDAP DN case insensitive?

Tags:

I build some feature that assumes that LDAP DN is case insensitive.

I have checked it with ActiveDirectory, Oracle and OpenLDAP and it is case insensitive.

Is it correct for all LDAPs?

like image 464
Michael Avatar asked Apr 27 '15 13:04

Michael


People also ask

Is LDAP filter case sensitive?

Answers. Active Directory is said to be case aware, but not case sensitive. This means AD will maintain the case of strings you assign to attributes, but you can search or filter using any case.

What is a DN in LDAP?

The LDAP API references an LDAP object by its distinguished name (DN). A DN is a sequence of relative distinguished names (RDN) connected by commas. An RDN is an attribute with an associated value in the form attribute=value; normally expressed in a UTF-8 string format.

Are AD domains case sensitive?

An Internet address is only case sensitive for everything after the domain name. For example, it does not matter if you use uppercase or lowercase with "computerhope.com," it still reaches the same page. However, when typing the name of the page, file, or directory in the URL, it is case sensitive.

Is sAMAccountName case sensitive?

the AuthName attribute is not case sensitive upon save, entering sAMAccountName for Active Directory changes it to all lowercase upon save or samaccountname.


1 Answers

LDAP DNs and all attributes are case-insensitive by default. It is possible to define an attribute as case-sensitive in the schema, but this is rare, and it is also possible to override the default comparison rules, but again this is rare.

like image 132
user207421 Avatar answered Sep 25 '22 11:09

user207421