Changeset 134 for branches/samba-3.0/source/libads/ldap.c
- Timestamp:
- May 23, 2008, 6:56:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/libads/ldap.c
r62 r134 789 789 /* this relies on the way that ldap_add_result_entry() works internally. I hope 790 790 that this works on all ldap libs, but I have only tested with openldap */ 791 for (msg = ads_first_ entry(ads, res2); msg; msg = next) {792 next = ads_next_ entry(ads, msg);791 for (msg = ads_first_message(ads, res2); msg; msg = next) { 792 next = ads_next_message(ads, msg); 793 793 ldap_add_result_entry((LDAPMessage **)res, msg); 794 794 } … … 1924 1924 1925 1925 /** 1926 * pull the first message from a ADS result 1927 * @param ads connection to ads server 1928 * @param res Results of search 1929 * @return first message from result 1930 **/ 1931 LDAPMessage *ads_first_message(ADS_STRUCT *ads, LDAPMessage *res) 1932 { 1933 return ldap_first_message(ads->ld, res); 1934 } 1935 1936 /** 1937 * pull the next message from a ADS result 1938 * @param ads connection to ads server 1939 * @param res Results of search 1940 * @return next message from result 1941 **/ 1942 LDAPMessage *ads_next_message(ADS_STRUCT *ads, LDAPMessage *res) 1943 { 1944 return ldap_next_message(ads->ld, res); 1945 } 1946 1947 /** 1926 1948 * pull a single string from a ADS result 1927 1949 * @param ads connection to ads server
Note:
See TracChangeset
for help on using the changeset viewer.