Title: #5827: A number of fixes around `strto*()` usage
alexey-tikhonov commented:
"""
> src/providers/ldap/ldap_id_services.c
> 266: port = strtouint16(state->name, NULL, 10);
Again, internal stuff. But ok, to be consistent I will add checks here...
> src/providers/ldap/sdap_access.c
> 1859: duration = strtouint32(pwdAccountLockedDurationTime, NULL, 0);
This value is from LDAP - "pwdLockoutDuration" . I just wasn't sure what
weird format it might have... But it looks
https://ldapwiki.com/wiki/PwdLockoutDuration
says "Integer" so ok, I will update this as well.