[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-2734-g56d8ed4
Jeremy Allison
jra at samba.org
Mon Jul 14 19:40:56 GMT 2008
The branch, v3-2-test has been updated
via 56d8ed48a94b558ad442e38c3d1925c4810dc508 (commit)
from 9a2870e936a967b82a100b1e26200d3665311f85 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 56d8ed48a94b558ad442e38c3d1925c4810dc508
Author: Jeremy Allison <jra at samba.org>
Date: Mon Jul 14 12:38:28 2008 -0700
Add fix from Simo for bug #5540 - missing code to substitute
%u. Make this the same as other uses.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/groupdb/mapping.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/groupdb/mapping.c b/source/groupdb/mapping.c
index ce66bfa..b952cda 100644
--- a/source/groupdb/mapping.c
+++ b/source/groupdb/mapping.c
@@ -297,9 +297,12 @@ int smb_set_primary_group(const char *unix_group, const char* unix_user)
return -1;
}
add_script = talloc_all_string_sub(ctx,
- add_script,
- "%g",
- unix_group);
+ add_script, "%g", unix_group);
+ if (!add_script) {
+ return -1;
+ }
+ add_script = talloc_string_sub(ctx,
+ add_script, "%u", unix_user);
if (!add_script) {
return -1;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list