Last login time is not captured in the LDAP integration

Kiran66
Kilo Contributor

I have added the last login time attribute to the user form and mapped to the AD filed attribute in the import user table.

However, when we ran the LDAP integration, last login time is not capturing from the AD. For few users it is capturing the system generated time stamp. Could anyone suggest us how to capture the last login time stamp from the AD?

Thank you!

1 ACCEPTED SOLUTION

The problem with your script is you are literally returning the string "adt" instead of the value of the variable.

View solution in original post

15 REPLIES 15

Chuck Tomasi
Tera Patron

Can you provide additional details on how you are doing your LDAP integration? Specifically, your transform map and transform script(s)?

Kiran66
Kilo Contributor

We have mapped the Source LDAP import table to the sys_user table and mapped the attributes in the transform map.

Thank you. Specifically, what has been mapped to what?

Thanks Thomas for your quick responses.

We only have the issue with the last login filed value as it's not being updated when we ran the LDAP.

We have mapped u_lastlogontimestamp field from the AD to last_login_time in ServiceNow.

Thank you!