Jan*_*ide 3 ldap active-directory
试图从AD中读到这个,和男孩一样,文档很乱.设置为15分钟后,我用Java阅读它:
Attributes attrs = ldapContext.getAttributes("DC=BPLAB01,DC=local");
System.out.println("Lockout policy for " + attrs.get("distinguishedName").get());
Long lockoutDuration = Long.parseLong(attrs.get("lockoutDuration").get().toString());
System.out.println("Duration: " + lockoutDuration);
Run Code Online (Sandbox Code Playgroud)
持续时间:-9000000000
将其设置为40分钟
持续时间:-24000000000
所以我的简单问题是,这里发生了什么,为什么这个大的负数?
| 归档时间: |
|
| 查看次数: |
1174 次 |
| 最近记录: |