Hello now I have a question. Is there any way that we can add the authtimestamp attribute to all users using ldapadd so that it becomes visible while running the ldapsearch query? Thanks
Date: Mon, 5 Nov 2012 21:41:30 +0100 Subject: Re: Lastlogon attribute From: [email protected] To: [email protected] CC: [email protected] 2012/11/5 jeevan kc <[email protected]> Thanks for the reply. I checked the lastbind overlay and this is what it looks like dn: olcOverlay={3}lastbind objectClass: olcLastBindConfig objectClass: olcOverlayConfig objectClass: olcConfig objectClass: top olcOverlay: {3}lastbind olcLastBindPrecision: 43200 structuralObjectClass: olcLastBindConfig entryUUID: 49566798-83c5-1030-9ef2-bd84df7cdeb5 creatorsName: cn=manager createTimestamp: 20111005174331Z entryCSN: 20111005174359.791663Z#000000#000#000000 modifiersName: cn=manager modifyTimestamp: 20111005174359Z So, how do I look for the lastlogon attribute? Your help is much appreciated The overlay will write the timestamp in authtimestamp operational attribute in the user entry. I wrote an article on this but it's in French: http://coudot.blogs.linagora.com/index.php/post/2012/06/12/M%C3%A9moriser-la-derni%C3%A8re-authentification-dans-OpenLDAP Maybe an online translation can help you. Clément.
