directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dular Benjamin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DIRSERVER-2056) Successfull search request delivers sometimes not enough userinformation
Date Mon, 23 Mar 2015 12:46:10 GMT
Dular Benjamin created DIRSERVER-2056:
-----------------------------------------

             Summary: Successfull search request delivers sometimes not enough userinformation
                 Key: DIRSERVER-2056
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2056
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0-M15
            Reporter: Dular Benjamin


Hi guys, 
I am new here and hope i make everything correct ;-) 

We have a problem with search request on the LDAP server. 
These are the logs of a correct log in: 

INFO   | jvm 1    | 2015/03/20 08:17:01 | [08:17:01] DEBUG [org.apache.directory.api.CODEC_LOG]
- Decoding the PDU : 
INFO   | jvm 1    | 2015/03/20 08:17:01 | [08:17:01] DEBUG [org.apache.directory.api.CODEC_LOG]
- 0x30 0x4A 0x02 0x01 0x07 0x63 0x45 0x04 0x1A 0x75 0x69 0x64 0x3D 0x37 0x34 0x30 0x34 0x31
0x32 0x2C 0x6F 0x75 0x3D 0x75 0x73 0x65 0x72 0x73 0x2C 0x6F 0x3D 0x6C 0x64 0x61 0x70 0x0A
0x01 0x00 0x0A 0x01 0x00 0x02 0x02 0x01 0x2C 0x02 0x02 0x01 0x2C 0x01 0x01 0x00 0x87 0x0B
0x6F 0x62 0x6A 0x65 0x63 0x74 0x63 0x6C 0x61 0x73 0x73 0x30 0x09 0x04 0x02 0x63 0x6E 0x04
0x03 0x75 0x69 0x64 
INFO   | jvm 1    | 2015/03/20 08:17:01 | [08:17:01] DEBUG [org.apache.directory.api.CODEC_LOG]
- Decoded LdapMessage : MessageType : SEARCH_REQUEST
INFO   | jvm 1    | 2015/03/20 08:17:01 | Message ID : 7
INFO   | jvm 1    | 2015/03/20 08:17:01 |     SearchRequest
INFO   | jvm 1    | 2015/03/20 08:17:01 |         baseDn : 'uid=123456,ou=users,o=ldap'
INFO   | jvm 1    | 2015/03/20 08:17:01 |         filter : '(objectclass=*)'
INFO   | jvm 1    | 2015/03/20 08:17:01 |         scope : base object
INFO   | jvm 1    | 2015/03/20 08:17:01 |         typesOnly : false
INFO   | jvm 1    | 2015/03/20 08:17:01 |         Size Limit : 300
INFO   | jvm 1    | 2015/03/20 08:17:01 |         Time Limit : 300
INFO   | jvm 1    | 2015/03/20 08:17:01 |         Deref Aliases : never Deref Aliases
INFO   | jvm 1    | 2015/03/20 08:17:01 |         attributes : 'cn', 'uid'
INFO   | jvm 1    | 2015/03/20 08:17:01 | org.apache.directory.api.ldap.model.message.SearchRequestImpl@644c9a35
INFO   | jvm 1    | 2015/03/20 08:17:01 | [08:17:01] DEBUG [org.apache.directory.server.OPERATION_LOG]
- >> SearchOperation : SearchContext for Dn 'uid=740412,ou=users,o=ldap', filter :'(objectclass=*)'
INFO   | jvm 1    | 2015/03/20 08:17:01 | [08:17:01] DEBUG [org.apache.directory.server.OPERATION_LOG]
- << SearchOperation successful
INFO   | jvm 1    | 2015/03/20 08:17:01 | [08:17:01] DEBUG [org.apache.directory.api.CODEC_LOG]
- Encoded message 
INFO   | jvm 1    | 2015/03/20 08:17:01 |  MessageType : SEARCH_RESULT_ENTRY
INFO   | jvm 1    | 2015/03/20 08:17:01 | Message ID : 7
INFO   | jvm 1    | 2015/03/20 08:17:01 |     Search Result Entry
INFO   | jvm 1    | 2015/03/20 08:17:01 | Entry
INFO   | jvm 1    | 2015/03/20 08:17:01 |     dn[n]: uid=123456,ou=users,o=ldap
INFO   | jvm 1    | 2015/03/20 08:17:01 |     cn: MAX Musermann
INFO   | jvm 1    | 2015/03/20 08:17:01 |     uid: 123456
INFO   | jvm 1    | 2015/03/20 08:17:01 | 
INFO   | jvm 1    | 2015/03/20 08:17:01 |  : 0x30 0x4E 0x02 0x01 0x07 0x64 0x49 0x04 0x1A
0x75 0x69 0x64 0x3D 0x37 0x34 0x30 0x34 0x31 0x32 0x2C 0x6F 0x75 0x3D 0x75 0x73 0x65 0x72
0x73 0x2C 0x6F 0x3D 0x6C 0x64 0x61 0x70 0x30 0x2B 0x30 0x18 0x04 0x02 0x63 0x6E 0x31 0x12
0x04 0x10 0x42 0x65 0x72 0x6E 0x61 0x64 0x65 0x74 0x74 0x65 0x20 0x53 0x74 0x65 0x6C 0x65
0x30 0x0F 0x04 0x03 0x75 0x69 0x64 0x31 0x08 0x04 0x06 0x37 0x34 0x30 0x34 0x31 0x32 
INFO   | jvm 1    | 2015/03/20 08:17:01 | [08:17:01] DEBUG [org.apache.directory.api.CODEC_LOG]
- Encoded message 
INFO   | jvm 1    | 2015/03/20 08:17:01 |  MessageType : SEARCH_RESULT_DONE
INFO   | jvm 1    | 2015/03/20 08:17:01 | Message ID : 7
INFO   | jvm 1    | 2015/03/20 08:17:01 |     Search Result Done
INFO   | jvm 1    | 2015/03/20 08:17:01 |         Ldap Result
INFO   | jvm 1    | 2015/03/20 08:17:01 |             Result code : (SUCCESS) success
INFO   | jvm 1    | 2015/03/20 08:17:01 |             Matched Dn : 'null'
INFO   | jvm 1    | 2015/03/20 08:17:01 |             Diagnostic message : 'null'
INFO   | jvm 1    | 2015/03/20 08:17:01 | 
INFO   | jvm 1    | 2015/03/20 08:17:01 |  : 0x30 0x0C 0x02 0x01 0x07 0x65 0x07 0x0A 0x01
0x00 0x04 0x00 0x04 0x00 

******************************************************************
But sometimes our user get a faild login cause of missing cn and uid attribute: 
INFO   | jvm 1    | 2015/03/20 08:09:46 | [08:09:46] DEBUG [org.apache.directory.api.CODEC_LOG]
- Decoding the PDU : 
INFO   | jvm 1    | 2015/03/20 08:09:46 | [08:09:46] DEBUG [org.apache.directory.api.CODEC_LOG]
- 0x30 0x46 0x02 0x01 0x4F 0x63 0x41 0x04 0x1A 0x75 0x69 0x64 0x3D 0x37 0x34 0x30 0x34 0x31
0x32 0x2C 0x6F 0x75 0x3D 0x75 0x73 0x65 0x72 0x73 0x2C 0x6F 0x3D 0x6C 0x64 0x61 0x70 0x0A
0x01 0x00 0x0A 0x01 0x00 0x02 0x02 0x01 0x2C 0x02 0x02 0x01 0x2C 0x01 0x01 0x00 0x87 0x0B
0x6F 0x62 0x6A 0x65 0x63 0x74 0x63 0x6C 0x61 0x73 0x73 0x30 0x05 0x04 0x03 0x31 0x2E 0x31

INFO   | jvm 1    | 2015/03/20 08:09:46 | [08:09:46] DEBUG [org.apache.directory.api.CODEC_LOG]
- Decoded LdapMessage : MessageType : SEARCH_REQUEST
INFO   | jvm 1    | 2015/03/20 08:09:46 | Message ID : 79
INFO   | jvm 1    | 2015/03/20 08:09:46 |     SearchRequest
INFO   | jvm 1    | 2015/03/20 08:09:46 |         baseDn : 'uid=123456,ou=users,o=ldap'
INFO   | jvm 1    | 2015/03/20 08:09:46 |         filter : '(objectclass=*)'
INFO   | jvm 1    | 2015/03/20 08:09:46 |         scope : base object
INFO   | jvm 1    | 2015/03/20 08:09:46 |         typesOnly : false
INFO   | jvm 1    | 2015/03/20 08:09:46 |         Size Limit : 300
INFO   | jvm 1    | 2015/03/20 08:09:46 |         Time Limit : 300
INFO   | jvm 1    | 2015/03/20 08:09:46 |         Deref Aliases : never Deref Aliases
INFO   | jvm 1    | 2015/03/20 08:09:46 |         attributes : '1.1'
INFO   | jvm 1    | 2015/03/20 08:09:46 | org.apache.directory.api.ldap.model.message.SearchRequestImpl@631b83f5
INFO   | jvm 1    | 2015/03/20 08:09:46 | [08:09:46] DEBUG [org.apache.directory.server.OPERATION_LOG]
- >> SearchOperation : SearchContext for Dn 'uid=740412,ou=users,o=ldap', filter :'(objectclass=*)'
INFO   | jvm 1    | 2015/03/20 08:09:46 | [08:09:46] DEBUG [org.apache.directory.server.OPERATION_LOG]
- << SearchOperation successful
INFO   | jvm 1    | 2015/03/20 08:09:46 | [08:09:46] DEBUG [org.apache.directory.api.CODEC_LOG]
- Encoded message 
INFO   | jvm 1    | 2015/03/20 08:09:46 |  MessageType : SEARCH_RESULT_ENTRY
INFO   | jvm 1    | 2015/03/20 08:09:46 | Message ID : 79
INFO   | jvm 1    | 2015/03/20 08:09:46 |     Search Result Entry
INFO   | jvm 1    | 2015/03/20 08:09:46 | Entry
INFO   | jvm 1    | 2015/03/20 08:09:46 |     dn[n]: uid=123456,ou=users,o=ldap
INFO   | jvm 1    | 2015/03/20 08:09:46 | 
INFO   | jvm 1    | 2015/03/20 08:09:46 |  : 0x30 0x23 0x02 0x01 0x4F 0x64 0x1E 0x04 0x1A
0x75 0x69 0x64 0x3D 0x37 0x34 0x30 0x34 0x31 0x32 0x2C 0x6F 0x75 0x3D 0x75 0x73 0x65 0x72
0x73 0x2C 0x6F 0x3D 0x6C 0x64 0x61 0x70 0x30 0x00 
INFO   | jvm 1    | 2015/03/20 08:09:46 | [08:09:46] DEBUG [org.apache.directory.api.CODEC_LOG]
- Encoded message 
INFO   | jvm 1    | 2015/03/20 08:09:46 |  MessageType : SEARCH_RESULT_DONE
INFO   | jvm 1    | 2015/03/20 08:09:46 | Message ID : 79
INFO   | jvm 1    | 2015/03/20 08:09:46 |     Search Result Done
INFO   | jvm 1    | 2015/03/20 08:09:46 |         Ldap Result
INFO   | jvm 1    | 2015/03/20 08:09:46 |             Result code : (SUCCESS) success
INFO   | jvm 1    | 2015/03/20 08:09:46 |             Matched Dn : 'null'
INFO   | jvm 1    | 2015/03/20 08:09:46 |             Diagnostic message : 'null'
INFO   | jvm 1    | 2015/03/20 08:09:46 | 
INFO   | jvm 1    | 2015/03/20 08:09:46 |  : 0x30 0x0C 0x02 0x01 0x4F 0x65 0x07 0x0A 0x01
0x00 0x04 0x00 0x04 0x00 

without this two attributes a login in our 3rd party software will be denied. 

Is there something similar protocolled? 
Someybody know this issue ß

P.S.: Can anybody tell me when the M20 will be released? 

Thank you! 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message