[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-371-g5b4ba4b

Volker Lendecke vl at sernet.de
Mon Nov 26 13:34:06 GMT 2007


The branch, v3-2-test has been updated
       via  5b4ba4bfc54e2fa468abe15383e5b33eb5bd1324 (commit)
       via  9bf5ead4b2be57fa84e5b3137bfa0305a916f10f (commit)
      from  102a247df99967f25dbaf40c9be2d48a8e15c64c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 5b4ba4bfc54e2fa468abe15383e5b33eb5bd1324
Author: Volker Lendecke <vl at sernet.de>
Date:   Mon Nov 26 14:30:50 2007 +0100

    Improve debug message
    
    Fix bug 5056, thanks to debian package maintainer

commit 9bf5ead4b2be57fa84e5b3137bfa0305a916f10f
Author: Volker Lendecke <vl at sernet.de>
Date:   Mon Nov 26 11:55:55 2007 +0100

    Fix a C++ warning

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

Summary of changes:
 source/lib/debug.c       |    2 +-
 source/passdb/pdb_ldap.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/debug.c b/source/lib/debug.c
index 49ec40a..4afc953 100644
--- a/source/lib/debug.c
+++ b/source/lib/debug.c
@@ -537,7 +537,7 @@ void debug_init(void)
 	for(p = default_classname_table; *p; p++) {
 		debug_add_class(*p);
 	}
-	format_bufr = SMB_MALLOC(FORMAT_BUFR_SIZE);
+	format_bufr = (char *)SMB_MALLOC(FORMAT_BUFR_SIZE);
 	if (!format_bufr) {
 		smb_panic("debug_init: unable to create buffer");
 	}
diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c
index a3637bf..215cd3c 100644
--- a/source/passdb/pdb_ldap.c
+++ b/source/passdb/pdb_ldap.c
@@ -2536,7 +2536,8 @@ static NTSTATUS ldapsam_getgroup(struct pdb_methods *methods,
 	count = ldap_count_entries(priv2ld(ldap_state), result);
 
 	if (count < 1) {
-		DEBUG(4, ("ldapsam_getgroup: Did not find group\n"));
+		DEBUG(4, ("ldapsam_getgroup: Did not find group, filter was "
+			  "%s\n", filter));
 		ldap_msgfree(result);
 		return NT_STATUS_NO_SUCH_GROUP;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list