mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
Tivoli Directory Server requires that seconds be present in a
timestamp, even though RFC 4517 states that they are optional.
This commit is contained in:
@@ -934,7 +934,7 @@ sudo_ldap_timefilter(char *buffer, size_t buffersize)
|
||||
}
|
||||
|
||||
/* Format the timestamp according to the RFC. */
|
||||
if (strftime(timebuffer, sizeof(timebuffer), "%Y%m%d%H%MZ", tp) == 0) {
|
||||
if (strftime(timebuffer, sizeof(timebuffer), "%Y%m%d%H%M%SZ", tp) == 0) {
|
||||
warning(_("unable to format timestamp"));
|
||||
goto done;
|
||||
}
|
||||
|
Reference in New Issue
Block a user