2008年8月22日 星期五

用ldap方式訪問AD域的的錯誤解釋

用ldap方式訪問AD域的的錯誤一般會如下格式:
LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 52e, vece
其中紅字部分的意思如下:
525 - 用戶沒有找到
52e - 證書不正確
530 - not permitted to logon at this time
532 - 密碼期滿
533 - 帳戶不可用
701 - 賬戶期滿
773 - 用戶必須重設密碼