Hi, All
 
I do the following similiar search against AD and openldap respectively with 
ldapsearch command.
For AD:
ldapsearch -x -D "cn=admin,cn=Users,dc=jacky,dc=org,dc=cn" -b 
"cn=Users,dc=jacky,dc=org,dc=cn" -w 11111111 -H "ldap://x.x.x.x:389"; 
"sAMAccountName=user1"
For openldap:
ldapsearch -x -D "cn=admin,dc=jacky,dc=com" -b "ou=users,dc=jacky,dc=com" -w 
11111111 -H "ldap://x.x.x.x:389"; "uid=user"
 
I capture all the packets for above two searchs with tcpdump and I find that AD 
server will send search response(including search result entry & search result) 
in ONE packet while openldap will send search result entry and search result 
independently in two packets.
 
My question:
Is how to send search response back(in one or more packets) implementation 
specific?
 
 
Thanks,
Jacky

Reply via email to