title: Getting Internal Attributes of LDAP Object
body: <p>I am trying to fetch LDAP User internal attributes, but couldn't find how to fetch them</p>
  
  <pre><code>DirContext ctx = this.getDirContext();
  List&lt;Employee&gt; list = new ArrayList&lt;Employee&gt;();
  NamingEnumeration&lt;SearchResult&gt; results = null;
  try {
    SearchControls controls = new SearchControls();
    controls.setSearchScope(SearchControls.SUBTREE_SCOPE);
    results = ctx.search("", "(objectclass=person)", controls);
    while (results.hasMore()) {
      SearchResult searchResult = results.next();
      Attributes attributes = searchResult.getAttributes();
      String fullName = this.getValue(attributes.get("cn"));
      //so on...
  }
  // so on
  </code></pre>
  
  <p>from LDAP, I want to fetch each employee/person internal attributes too. 
  By Default, it's not returning the internal attributes [ex: createTimestamp]</p>
  
  <p><img src="https://i.stack.imgur.com/YGPSs.png" alt="enter image description here"></p>