The branch, master has been updated
       via  1220534... Fix large paged search
       via  92a16b9... fix bogus "out of memory" winbind msg
      from  c8884e1... s4-ldb: changed the DN checks for \n to warnings

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 12205347163b55e79651921c6858c4d04e1faa51
Author: Volker Lendecke <[email protected]>
Date:   Mon May 18 16:04:04 2009 +0200

    Fix large paged search
    
    Signed-off-by: Michael Adam <[email protected]>

commit 92a16b91e86865833ea2d47d2dff81d5df0f5a27
Author: Volker Lendecke <[email protected]>
Date:   Wed May 13 10:12:26 2009 +0200

    fix bogus "out of memory" winbind msg
    
    Signed-off-by: Michael Adam <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 source3/passdb/pdb_ldap.c       |    1 +
 source3/rpc_client/cli_lsarpc.c |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 87df75e..d4a2fbe 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -4337,6 +4337,7 @@ static bool ldapsam_search_firstpage(struct pdb_search 
*search)
        if (state->current_entry == NULL) {
                ldap_msgfree(state->entries);
                state->entries = NULL;
+               return false;
        }
 
        return True;
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index d49fa47..74fd082 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -232,7 +232,8 @@ static NTSTATUS rpccli_lsa_lookup_sids_noalloc(struct 
rpc_pipe_client *cli,
                        } else {
                                (names)[i] = NULL;
                        }
-                       (domains)[i] = talloc_strdup(mem_ctx, dom_name);
+                       domains[i] = talloc_strdup(
+                               mem_ctx, dom_name ? dom_name : "");
                        (types)[i] = lsa_names.names[i].sid_type;
                        if (((domains)[i] == NULL)) {
                                DEBUG(0, ("cli_lsa_lookup_sids_noalloc(): out 
of memory\n"));


-- 
Samba Shared Repository

Reply via email to