The branch, v3-2-test has been updated
       via  872a3d3d38287ab9cbb260d05777481d94e03539 (commit)
      from  65b4cb20ea3fb806cfd50281e08f32bea70fafce (commit)

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


- Log -----------------------------------------------------------------
commit 872a3d3d38287ab9cbb260d05777481d94e03539
Author: Michael Adam <[EMAIL PROTECTED]>
Date:   Fri Apr 4 15:27:51 2008 +0200

    mapping.tdb: fix creation of entries with GROUP_PREFIX
    
    Macro is no expanded inside literal string.
    
    Michael

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

Summary of changes:
 source/groupdb/mapping_tdb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/groupdb/mapping_tdb.c b/source/groupdb/mapping_tdb.c
index 05a473c..3318f31 100644
--- a/source/groupdb/mapping_tdb.c
+++ b/source/groupdb/mapping_tdb.c
@@ -111,7 +111,7 @@ static char *group_mapping_key(TALLOC_CTX *mem_ctx, const 
DOM_SID *sid)
                return NULL;
        }
 
-       result = talloc_asprintf(mem_ctx, "GROUP_PREFIX%s", sidstr);
+       result = talloc_asprintf(mem_ctx, "%s%s", GROUP_PREFIX, sidstr);
 
        TALLOC_FREE(sidstr);
        return result;


-- 
Samba Shared Repository

Reply via email to