Антон Фридрих писал(а):Странно, но у меня атрибут Last Login Time старее чем атрибут Login Time у пользователей. Мы используем как сервисы Novell так и сервисы третьих производителей для логона в LDAP. Вот и стало интересно, в чем различие этих атрибутов?
Вот что пишут классики по этому поводу (цитата из документации к 16-ой версии JRB utils):
"A small but useful security enhancement is to display at login time the date and time of the previous login to the user code. Under NDS this can be done by displaying the “Last Login Time” attribute in the login script or using the “lastlogintime” login script command. However, in a multi server environment, both of these are unreliable because there is no guarantee that the login program will retrieve the information from NDS on the same server to which the login process authenticated to the tree. When authentication to the tree occurs, NDS moves the value from the “Login Time” attribute to the “Last Login Time” attribute then places the current date and time in the “Login Time” attribute. If the “Last Login Time” is read from another server, then sufficient time is unlikely to have elapsed for replication to occur, and the value displayed will not be that of the previous login, but the one prior to that."