Ignore:
Timestamp:
May 23, 2008, 6:56:41 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/libads/ldap.c

    r62 r134  
    789789                /* this relies on the way that ldap_add_result_entry() works internally. I hope
    790790                   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);
    793793                        ldap_add_result_entry((LDAPMessage **)res, msg);
    794794                }
     
    19241924
    19251925/**
     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/**
    19261948 * pull a single string from a ADS result
    19271949 * @param ads connection to ads server
Note: See TracChangeset for help on using the changeset viewer.