[SCM] Samba Shared Repository - branch master updated
Matthias Dieter Wallnöfer
mdw at samba.org
Wed Jun 30 01:38:53 MDT 2010
The branch, master has been updated
via bf844ae... s4:auth/session.c - suppress a warning when freeing "group_string"
from 6abfe89... s4:schema/schema_set.c - free LDB message diffs
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit bf844aed5b6ad6a9a5287ebd9b7da121fa9dd1a8
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Wed Jun 30 09:37:08 2010 +0200
s4:auth/session.c - suppress a warning when freeing "group_string"
-----------------------------------------------------------------------
Summary of changes:
source4/auth/session.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/auth/session.c b/source4/auth/session.c
index 1be9874..e14644d 100644
--- a/source4/auth/session.c
+++ b/source4/auth/session.c
@@ -170,15 +170,17 @@ _PUBLIC_ NTSTATUS auth_generate_session_info(TALLOC_CTX *mem_ctx,
}
for (i = 0; i < server_info->n_domain_groups; i++) {
- const char *group_string;
+ char *group_string;
const char *group_dn;
DATA_BLOB group_blob;
- group_string = dom_sid_string(tmp_ctx, server_info->domain_groups[i]);
+
+ group_string = dom_sid_string(tmp_ctx,
+ server_info->domain_groups[i]);
NT_STATUS_HAVE_NO_MEMORY_AND_FREE(group_string, server_info);
group_dn = talloc_asprintf(tmp_ctx, "<SID=%s>", group_string);
- NT_STATUS_HAVE_NO_MEMORY_AND_FREE(group_dn, server_info);
talloc_free(group_string);
+ NT_STATUS_HAVE_NO_MEMORY_AND_FREE(group_dn, server_info);
group_blob = data_blob_string_const(group_dn);
/* This function takes in memberOf values and expands
--
Samba Shared Repository
More information about the samba-cvs
mailing list