diff options
author | Simo Sorce <idra@samba.org> | 2008-09-11 09:51:39 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-09-11 09:51:39 -0400 |
commit | f25863e04cf3264575545701cb257bac8f0aee82 (patch) | |
tree | 6ae378b205d934582378a6db5ce615ac25d895cb /source3/winbindd/winbindd_group.c | |
parent | a2919ddd38939a9a979adc8778fb88a9bb2499f8 (diff) | |
download | samba-f25863e04cf3264575545701cb257bac8f0aee82.tar.gz samba-f25863e04cf3264575545701cb257bac8f0aee82.tar.xz samba-f25863e04cf3264575545701cb257bac8f0aee82.zip |
Fix for bug 5571
Make sure that usernames are parsed using the correct separator.
Otherwise group memeberships in winbind may be result broken.
(This used to be commit 20b9c0aa7b4e6d6be5bb6e4e96bd8a1cbb6edd37)
Diffstat (limited to 'source3/winbindd/winbindd_group.c')
-rw-r--r-- | source3/winbindd/winbindd_group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c index 21ee8951b5..4d5026d158 100644 --- a/source3/winbindd/winbindd_group.c +++ b/source3/winbindd/winbindd_group.c @@ -607,7 +607,7 @@ static bool fill_grent_mem(struct winbindd_domain *domain, } else { DEBUG(10, ("appending %s at ndx %d\n", names[i], buf_ndx)); - safe_strcpy(&buf[buf_ndx], names[i], len); + parse_add_domuser(&buf[buf_ndx], names[i], &len); buf_ndx += len; buf[buf_ndx] = ','; buf_ndx++; |