LDAP錯誤代碼

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

LDAP的特定錯誤
  1. Error: com.macromedia.contribute.server.exception.DBException: Error in bind() from LDAP source: [server]:[port] 錯誤:com.macromedia.contribute.server.exception.DBException:綁定錯誤的()從LDAP來源:[服務器]:[端口]

    Cause: This is a very general error, and it means something went wrong when trying to bind to LDAP/AD. 原因:這是一個非常普遍的錯誤,它意味着出事時試圖綁定到LDAP /廣告。 Check to see if the LDAP/AD server name and/or port number you have specified is incorrect or an incorrect DN was specified as the administrator username.請檢查是否在LDAP / AD服務器名稱和/或您指定的端口號是不正確或不正確的DN作爲管理員的用戶名指定。

    Notes: For more detail look at the sub-exception, which can be 1,2,3,4 or 5 below. 注:如需例外的細節來看分,可1,2,3,4或5以下。
  2. Error: javax.naming.CommunicationException: [server]:[port] [Root exception is java.net.ConnectException: Connection refused: connect] 錯誤:javax.naming.CommunicationException:[服務器]:[端口] [根異常java.net.ConnectException:連接被拒絕:連接]

    Cause: The port name you have specified for the LDAP/AD server is incorrect. 原因:你有服務器的端口名指定爲LDAP / AD是不正確的。
  3. Error: javax.naming.CommunicationException: [server]:[port] [Root exception is java.net.UnknownHostException: [server]] 錯誤:javax.naming.CommunicationException:[服務器]:[端口] [根異常java.net.UnknownHostException:[服務器]]

    Cause: The LDAP/AD server name you have specified is incorrect. 原因:的LDAP / AD服務器名稱指定是不正確的。
  4. Error: javax.naming.NamingException: Cannot parse url: [protocol]://[server]:[port] [Root exception is java.net.MalformedURLException: Not an LDAP URL: [protocol]://[server]:[port]] 錯誤:javax.naming.NamingException:無法解析網址:[協議]://[服務器]:[端口] [根異常java.net.MalformedURLException:不是一個LDAP網址:[協議]://[服務器]: [港口]]

    Cause: The protocol you have specified is not correct. 原因:您指定的協議的,是不正確的。

    Note: Currently if you specify anything besides ldap for the protocol, you will receive this error. 注:目前,如果您指定的LDAP協議的任何內容,除了對,您將收到此錯誤。
  5. Error: javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials] 錯誤:javax.naming.AuthenticationException:[LDAP的:錯誤代碼49 -無效證書]

    Cause: The DN path or password which you have specified for the administrator is invalid. 原因:DN路徑或管理員密碼,你必須指定爲無效。 Any of the below will result in this error:任何下文將導致此錯誤:
    • Pointed to non-user DN指出,非用戶的DN
    • Pointed to a non-existent user, but in existing DN指出了一個不存在的用戶,但在現有的DN
    • Pointed to non existent DN指出不存在的DN
    • Pointed to an existing user, but non existing DN指出,現有的用戶,但現有的DN非
    • Pointed to an incorrect admin DN, uid instead of cn指出,一個不正確的管理員的DN,而不是架CN的UID
    • Pointed to a non administrator user指着一個非管理員用戶
    • Pointed to a valid admin but password is incorrect指出了一個有效的管理員密碼是不正確的,但
  6. Error: com.macromedia.contribute.server.exception.DBException: Error in searchForUserList from LDAP plugin: [LDAP: error code 32 - No Such Object] 錯誤:com.macromedia.contribute.server.exception.DBException:插件錯誤的LDAP searchForUserList來自:[LDAP的:錯誤代碼32 -沒有這樣的對象]

    Cause: Very general error when there is a problem finding the users in LDAP/AD. 原因:很一般的錯誤,當發現有問題/ AD的用戶的LDAP。 Could be that the DN pointing to the users is pointing to the wrong place or is just incorrect and does not exist.可能是因爲用戶的DN指向指向錯誤的地方,或只是不正確,不存在。

    Note: For more detail look at the sub-exception, which can be 7 below. 注:如需例外的細節來看分,可7所示。
  7. Error: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name '[DN]' 錯誤:javax.naming.NameNotFoundException:[LDAP的:錯誤代碼32 -沒有這樣的對象];餘下的名字'[腎病]'

    Cause: The DN path which points to where the users are located in the directory is invalid. 原因:DN路徑指向的地方的用戶目錄位於無效。
  8. Error: com.macromedia.contribute.server.exception.DBException: Error in searchForUserList from LDAP plugin: [LDAP: error code 2 - Bad search filter] 錯誤:com.macromedia.contribute.server.exception.DBException:插件錯誤的LDAP searchForUserList來自:[LDAP的:錯誤代碼2 -錯誤的搜索過濾器]

    Cause: Invalid search filter passed to the LDAP/AD server. 原因:無效的搜索過濾器傳遞到LDAP / AD服務器。

    Note: For more detail look at the sub-exception, which can be 9, or 10 below. 注:如需例外的細節來看分,它可以是9或10以下。
  9. Error: javax.naming.directory.InvalidSearchFilterException: Missing 'equals'; remaining name '[DN]' 錯誤:javax.naming.directory.InvalidSearchFilterException:缺少'等於';餘下的名字'[腎病]'

    Cause: The filter specified is wrong or CPS constructed a bad filter. 原因:指定的過濾器或過濾準則是錯誤的構造壞。
  10. Error: javax.naming.directory.InvalidSearchFilterException: Unbalanced parenthesis; remaining name [DN] 錯誤:javax.naming.directory.InvalidSearchFilterException:括號不平衡;其餘名稱[腎病]

    Cause: You did not have correct opening and closing of parenthesis in your search filter. 原因:您沒有正確的開啓和關閉括號在您的搜索過濾器。
  11. Error: Error in bind from LDAP source: [LDAP: error code 49 - Invalid Credentials] javax.naming.AuthenticationException 錯誤:源錯誤的LDAP綁定來自:[LDAP的:錯誤代碼49 -無效憑據] javax.naming.AuthenticationException

    Cause: Could not authenticate the user trying to login. 原因:無法驗證的用戶試圖登錄。 This can be the result of an incorrect username or password, or an incorrect prefix and/or suffix specified in the Settings tab, depending on the type of LDAP/AD system.這可以是一個不正確的用戶名或密碼,或不正確的前綴和結果/或後綴指定在設置選項卡,根據的LDAP /廣告系統類型。 Could also mean the authentication type is incorrect.可能也意味着是不正確的身份驗證類型。
  12. Error: Error in bind from LDAP source: [LDAP: error code 34 - invalid DN] javax.naming.InvalidNameException 錯誤:源錯誤的LDAP綁定來自:[LDAP的:錯誤代碼34 -無效的DN] javax.naming.InvalidNameException

    Cause: This is caused by a bad prefix specified in the Settings tab, on most LDAP/AD systems. 原因:這是系統設置造成壞指定前綴廣告標籤,大多數LDAP /。 This could mean you did not specify a prefix at all, which means the LDAP/AD server did not receive a full DN from CPS or that you did not specify a correct prefix, such as CN instead of UID, which results in the LDAP/AD server not receiving a correct DN from CPS.這可能意味着你沒有在所有指定的前綴,這意味着在LDAP / AD服務器沒有收到完整DN從準則,或者你沒有指定,如不是的UID,它在LDAP結果架CN正確的前綴,/ AD服務器沒有收到來自準則正確的DN。 Can also be caused by a missing comma at the beginning of the suffix or an extra comma at the end of the suffix.也可以是由一個在後綴或一個額外的逗號在後綴月底開始失蹤逗號。 This error could also mean the authentication type is incorrect.此錯誤可能也意味着是不正確的身份驗證類型。
  13. Error: NoSuchAttributeException 錯誤:NoSuchAttributeException

    Cause: This is caused by providing a name for an attribute which is not correct or does not exist. 原因:這是由於不存在提供一個名稱的屬性是不正確或。
Active Directory Specific Errors Active Directory中的特定錯誤
  1. Error: com.macromedia.contribute.server.exception.DBException: Error in bind() from LDAP source: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09030F, comment: AcceptSecurityContext error, data 525, vece] javax.naming.AuthenticationException 錯誤:com.macromedia.contribute.server.exception.DBException:綁定錯誤的()從LDAP來源:[LDAP的:錯誤代碼49 - 80090308:LdapErr:DSID - 0C09030F,評論:AcceptSecurityContext錯誤,數據525韋切] javax。 naming.AuthenticationException

    Cause: The administrator domain name, username, and or password is incorrect in the Settings tab. 原因:管理員域名,用戶名和密碼是不正確的選項卡設置。
  2. Error: com.macromedia.contribute.server.exception.DBException: Error in searchForUserList from LDAP plugin: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001C6, problem 2001 (NO_OBJECT), data 0, best match of: '[DN]' ] javax.naming.NameNotFoundException 錯誤:com.macromedia.contribute.server.exception.DBException:插件錯誤的LDAP searchForUserList來自:[LDAP的:錯誤代碼32 - 0000208D:NameErr:DSID - 031001C6,問題2001(NO_OBJECT),數據0,最佳匹配:' [腎病]'] javax.naming.NameNotFoundException

    Cause: A non-existent DN specified in the User Search field. 原因:不存在的DN字段中指定的用戶搜索。
  3. Error: javax.naming.PartialResultException [Root exception is javax.naming.CommunicationException: [server]:[port] [Root exception is java.net.UnknownHostException: [server]]] 錯誤:javax.naming.PartialResultException [根異常javax.naming.CommunicationException:[服務器]:[端口] [根異常java.net.UnknownHostException:[服務器]]]

    Cause: An incorrect DN was specified in the User Search field. 原因:不正確的DN指定了在用戶搜索領域。
  4. Error: com.macromedia.contribute.server.exception.DBException: Error in searchForUserList from LDAP plugin: [DN]: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001B3, problem 2006 (BAD_NAME), data 8350, best match of: '[DN],' ] javax.naming.InvalidNameException 錯誤:com.macromedia.contribute.server.exception.DBException:插件錯誤的LDAP searchForUserList來自:[腎病]:[LDAP的:錯誤代碼34 - 0000208F:NameErr:DSID - 031001B3,問題2006(BAD_NAME),數據8350,最佳匹配:'[腎病],'] javax.naming.InvalidNameException

    Cause: An incorrectly formatted DN was specified. 原因:一個格式不正確的DN指定。
  5. Error: javax.naming.NameNotFoundException: [LDAP: error code 32 - 0000208D: NameErr: DSID-03100198, problem 2001 (NO_OBJECT), data 0, best match of: '']; remaining name '' 錯誤:javax.naming.NameNotFoundException:[LDAP的:錯誤代碼32 - 0000208D:NameErr:DSID - 03100198,問題2001(NO_OBJECT),數據0,最佳匹配:''];其餘的名稱''

    Cause: This error appears if you do not have Group settings filled in, but have User Search filled in. Some systems do not care, while some systems experience problems with the empty DN. 原因:出現此錯誤,如果你沒有填寫組設置,但用戶搜索照顧填寫有些系統不這樣做,而有些系統的經驗與問題的DN空。
  6. Error: Error in bind from LDAP source: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09030F, comment: AcceptSecurityContext error, data 52e, vece ] javax.naming.AuthenticationException 錯誤:源錯誤的LDAP綁定來自:[LDAP的:錯誤代碼49 - 80090308:LdapErr:DSID - 0C09030F,評論:AcceptSecurityContext錯誤,數據52e,韋切] javax.naming.AuthenticationException

    Cause: Could not authenticate the user trying to login. 原因:無法驗證的用戶試圖登錄。 This can be the result of an incorrect username or password, or an incorrect prefix and/or suffix specified in the Settings tab, depending on the type of LDAP/AD system.這可以是一個不正確的用戶名或密碼,或不正確的前綴和結果/或後綴指定在設置選項卡,根據的LDAP /廣告系統類型。 Could also mean the authentication type is incorrect.可能也意味着是不正確的身份驗證類型。 Also an incorrect username attribute or incorrect name attribute can cause this.另外一個不正確的用戶名屬性或屬性名稱不正確可能導致此。 Common cause of this error is a user trying to login with DOMAIN\login instead of just login.此錯誤的常見原因是用戶試圖登錄的域\而不是隻登錄登錄。
  7. Error: javax.naming.NamingException: [LDAP: error code 1 - 000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0 ]; 錯誤:javax.naming.NamingException:[LDAP的:錯誤代碼1 - 000020D6:SvcErr:DSID - 03100690,問題5012(DIR_ERROR),數據0];

    Cause: The DN specified in the User Search tab is incorrect, wrong, or incorrectly formatted. 原因:選項卡上指定的DN在用戶搜索是不正確的,錯誤的,或者格式不正確的。
  8. Error: Error 12: Server.ActionProcessException: Error in authenticateUser in user plugin. 錯誤:錯誤12:Server.ActionProcessException:插件錯誤用戶authenticateUser研究。 Error in searchForUser from LDAP plugin: [LDAP: error code 1 - 000020D6: SvcErr: DSID-031006C5, problem 5012 (DIR_ERROR), data 0從LDAP中的錯誤插件searchForUser:[LDAP的:錯誤代碼1 - 000020D6:SvcErr:DSID - 031006C5,問題5012(DIR_ERROR),數據0

    Cause: User could not be found. 原因:用戶無法找到。 Most likely due to DN settings in the User Search tab or the suffix or prefix fields in the Settings tab.極可能是由於在用戶搜索的DN選項卡或後綴或前綴的設置選項卡領域設置。
  9. Error: com.macromedia.contribute.server.exception.DomainException: Error in authenticateUser in user plugin. 錯誤:com.macromedia.contribute.server.exception.DomainException:插件錯誤用戶authenticateUser研究。 Error in searchForUser from LDAP plugin: [LDAP: error code 1 - 000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0] javax.naming.NamingException從LDAP中的錯誤插件searchForUser:[LDAP的:錯誤代碼1 - 000020D6:SvcErr:DSID - 03100690,問題5012(DIR_ERROR),數據0] javax.naming.NamingException

    Cause: Most likely caused by a bad username or password. 原因:很可能造成一個不好的密碼或用戶名。 Common cause of this error is a user trying to login with DOMAIN\login instead of just login.此錯誤的常見原因是用戶試圖登錄的域\而不是隻登錄登錄。
General Errors: 一般錯誤:
  1. Error: Error 12: Server.ActionProcessException: Error in authenticateUser in user plugin. 錯誤:錯誤12:Server.ActionProcessException:插件錯誤用戶authenticateUser研究。 No user found for username <username> in user database --- 100 .沒有用戶發現用戶在數據庫用戶名<用戶名--- 100。

    Cause: Most likely the result of a bad prefix or suffix in the settings tab or a bad DN or username or name attribute in the User Search attribute. 原因:最有可能的結果不好屬性前綴或後綴搜索在設置選項卡或壞的DN或用戶名的用戶或名稱屬性在。
原文:http://mxdxm.iteye.com/blog/728251
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章