{"action":"opened","issue":{"url":"https://api.github.com/repos/cannatag/ldap3/issues/437","repository_url":"https://api.github.com/repos/cannatag/ldap3","labels_url":"https://api.github.com/repos/cannatag/ldap3/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/cannatag/ldap3/issues/437/comments","events_url":"https://api.github.com/repos/cannatag/ldap3/issues/437/events","html_url":"https://github.com/cannatag/ldap3/issues/437","id":276366858,"number":437,"title":"cannot get internal attributes in abstraction layer mode","user":{"login":"a23s4a","id":26401080,"avatar_url":"https://avatars1.githubusercontent.com/u/26401080?v=4","gravatar_id":"","url":"https://api.github.com/users/a23s4a","html_url":"https://github.com/a23s4a","followers_url":"https://api.github.com/users/a23s4a/followers","following_url":"https://api.github.com/users/a23s4a/following{/other_user}","gists_url":"https://api.github.com/users/a23s4a/gists{/gist_id}","starred_url":"https://api.github.com/users/a23s4a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a23s4a/subscriptions","organizations_url":"https://api.github.com/users/a23s4a/orgs","repos_url":"https://api.github.com/users/a23s4a/repos","events_url":"https://api.github.com/users/a23s4a/events{/privacy}","received_events_url":"https://api.github.com/users/a23s4a/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-23T13:02:03Z","updated_at":"2017-11-23T13:02:03Z","closed_at":null,"author_association":"NONE","body":"Hello, I cannot get internal attributes from ldap when using abstraction layer, though I can retrieve it when using classic mode:\r\nABSTRACTION LAYER MODE:\r\n`r = Reader(conn, obj_person, 'ou=users,dc=domain,dc=org', query, get_operational_attributes=True, attributes=['modifyTimestamp'])`\r\n_________________________________________________________________________________\r\n`/usr/local/lib/python3.5/dist-packages/ldap3/abstract/cursor.py in __init__(self, connection, object_def, base, query, components_in_and, sub_tree, get_operational_attributes, attributes, controls)`\r\n`def __init__(self, connection, object_def, base, query='', components_in_and=True, sub_tree=True, get_operational_attributes=False, attributes=None, controls=None):`\r\n`Cursor.__init__(self, connection, object_def, get_operational_attributes, attributes, controls)`\r\n`self._components_in_and = components_in_and`\r\n`self.sub_tree = sub_tree`\r\n\r\n`/usr/local/lib/python3.5/dist-packages/ldap3/abstract/cursor.py in __init__(self, connection, object_def, get_operational_attributes, attributes, controls)`\r\n`if log_enabled(ERROR):`\r\n`log(ERROR, '%s for <%s>', error_message, self)`\r\n`raise LDAPCursorError(error_message)`\r\n`self.attributes = set(attributes) if attributes else set([attr.name for attr in self.definition])`\r\n\r\n`LDAPCursorError: Attributes 'modifyTimestamp' non in definition`\r\n\r\n\r\nCLASSIC MODE:\r\n`conn.search('dc=domain,dc=org', '(&(objectclass=person)(mail=somemail@domain.org))', attributes='modifyTimestamp')`\r\n`True`\r\n`conn.entries[0].modifyTimestamp`\r\n`modifyTimestamp: 2017-09-25 07:14:12+00:00`"}}
{"actor":{"display_login":"a23s4a"}}