On 18/02/16 23:25, [email protected] wrote:
> Damn. Then i don't know what's going on:
> 
> [jrf@vahclq01ldap tmp]$ cat testiserv.mod
> dn: cn=testusr,dc=xxxx,dc=xx
> changetype: modify
> replace: mdlastlogintime
> mdlastlogintime: 20160215133951.842
> -
> [jrf@vahclq01ldap tmp]$ ldapmodify -v -h vahclq01ldap -p 389 -D 
> "uid=me,dc=xxx,dc=xx" -y passfile -f testiserv.mod
> ldap_initialize( ldap://vahclq01ldap:389 )
> replace mdlastlogintime:
>         20160215133951.842
> modifying entry "cn=testusr,dc=xxxx,dc=xx"
> ldap_modify: Invalid syntax (21)
>         additional info: mdlastlogintime: value #0 invalid per syntax

Mhhh, "20160215133951.842" is not valid for generalizedTime.
It must be "20160215133951.842-0500" for EST time zone or
"20160215183951.842Z" for UTC.

 J.
--
389 users mailing list
389-users@%(host_name)s
http://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to