diff --git a/docs/index.rst b/docs/index.rst
index 6b3e77480c85a3451ef33e737a7d8ef2874f347d..dc74f686cc1c927f414a0febc7b825d574980be1 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -95,3 +95,18 @@ Classes
 
 .. autoclass:: flask_simpleldap.LDAP
    :members:
+
+
+History
+-------
+
+Changes:
+
+- 0.1.1: September 6, 2014
+
+  - Fix GitHub issue `#3<https://github.com/admiralobvious/flask-simpleldap/issues/3>`_,
+    Not compatible with uppercase distinguished names.
+
+- 0.1: August 9, 2014
+
+  - Initial Release
\ No newline at end of file
diff --git a/flask_simpleldap/__init__.py b/flask_simpleldap/__init__.py
index 7d3ab3346f1435d5aeda1a19bfaccbdd18fefca4..be9171a344cbd224ca09f5a1aefcb604fb5627ea 100644
--- a/flask_simpleldap/__init__.py
+++ b/flask_simpleldap/__init__.py
@@ -188,7 +188,7 @@ class LDAP(object):
             if records:
                 if current_app.config['LDAP_USER_GROUPS_FIELD'] in records[0][1]:
                     groups = records[0][1][current_app.config['LDAP_USER_GROUPS_FIELD']]
-                    result = [re.findall('cn=(.*?),', group)[0] for group in groups]
+                    result = [re.findall('(?:cn=|CN=)(.*?),', group)[0] for group in groups]
                     return result
         except ldap.LDAPError as e:
             raise LDAPException(self.error(e))