[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-2610-gfae027e
Jeremy Allison
jra at samba.org
Fri Jun 20 19:50:14 GMT 2008
The branch, v3-2-test has been updated
via fae027e937c2f0078193b8cc27af6db2d7c233f5 (commit)
from a475dee8036156d4c8330bae97208ec546342f42 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit fae027e937c2f0078193b8cc27af6db2d7c233f5
Author: Jeremy Allison <jra at samba.org>
Date: Fri Jun 20 12:49:14 2008 -0700
Fix bug #5533. Winbindd fails to cope correctly with a workgroup name containing a '.'.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/winbindd/winbindd_util.c | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/winbindd/winbindd_util.c b/source/winbindd/winbindd_util.c
index 6a96070..a35ba7b 100644
--- a/source/winbindd/winbindd_util.c
+++ b/source/winbindd/winbindd_util.c
@@ -165,15 +165,9 @@ static struct winbindd_domain *add_trusted_domain(const char *domain_name, const
ZERO_STRUCTP(domain);
- /* prioritise the short name */
- if (strchr_m(domain_name, '.') && alternative_name && *alternative_name) {
- fstrcpy(domain->name, alternative_name);
- fstrcpy(domain->alt_name, domain_name);
- } else {
- fstrcpy(domain->name, domain_name);
- if (alternative_name) {
- fstrcpy(domain->alt_name, alternative_name);
- }
+ fstrcpy(domain->name, domain_name);
+ if (alternative_name) {
+ fstrcpy(domain->alt_name, alternative_name);
}
domain->methods = methods;
--
Samba Shared Repository
More information about the samba-cvs
mailing list