[SCM] Samba Shared Repository - branch master updated - 920395442869d5d32f80e48d211047450f274aba

Günther Deschner gd at samba.org
Tue Dec 9 16:41:59 GMT 2008


The branch, master has been updated
       via  920395442869d5d32f80e48d211047450f274aba (commit)
      from  3508a66fcd1ddf0f1743a3e2816651746a3b95de (commit)

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


- Log -----------------------------------------------------------------
commit 920395442869d5d32f80e48d211047450f274aba
Author: Günther Deschner <gd at samba.org>
Date:   Tue Dec 9 17:28:15 2008 +0100

    s3-ldapsam: Fix Bug 5957: do not abort rename process on valid rename script.
    
    Guenther
    (cherry picked from commit 26139344fd0fac4fdd2a6752628b252fbd9b7450)
    (cherry picked from commit 866efa63a26f75bbf17cd4bebf639594e2feafba)

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

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


Changeset truncated at 500 lines:

diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index ddbb53a..95e9a01 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -2014,7 +2014,7 @@ static NTSTATUS ldapsam_rename_sam_account(struct pdb_methods *my_methods,
 					newname_lower,
 					true,
 					true);
-	if (rename_script) {
+	if (!rename_script) {
 		return NT_STATUS_NO_MEMORY;
 	}
 	rename_script = realloc_string_sub2(rename_script,


-- 
Samba Shared Repository


More information about the samba-cvs mailing list