The Samba-Bugzilla – Attachment 5901 Details for
Bug 6364
Problems joining SLES10 machine running 3.3.4 to join a 2008 domain
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.5
v3-5-patch (text/plain), 1010 bytes, created by
Jim McDonough
on 2010-08-12 19:03:20 UTC
(
hide
)
Description:
Patch for 3.5
Filename:
MIME Type:
Creator:
Jim McDonough
Created:
2010-08-12 19:03:20 UTC
Size:
1010 bytes
patch
obsolete
>commit f9c3f7236de15d503a3904d252696341d912ae16 >Author: Jim McDonough <jmcd@samba.org> >Date: Thu Aug 12 17:51:02 2010 -0400 > > s3-libnet: fix bug #6364: Pull realm from supplied username on libnet join > >diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c >index 736a919..f14bffd 100644 >--- a/source3/libnet/libnet_join.c >+++ b/source3/libnet/libnet_join.c >@@ -103,6 +103,7 @@ static ADS_STATUS libnet_connect_ads(const char *dns_domain_name, > { > ADS_STATUS status; > ADS_STRUCT *my_ads = NULL; >+ char *cp; > > my_ads = ads_init(dns_domain_name, > netbios_domain_name, >@@ -114,6 +115,12 @@ static ADS_STATUS libnet_connect_ads(const char *dns_domain_name, > if (user_name) { > SAFE_FREE(my_ads->auth.user_name); > my_ads->auth.user_name = SMB_STRDUP(user_name); >+ if ((cp = strchr_m(my_ads->auth.user_name, '@'))!=0) { >+ *cp++ = '\0'; >+ SAFE_FREE(my_ads->auth.realm); >+ my_ads->auth.realm = smb_xstrdup(cp); >+ strupper_m(my_ads->auth.realm); >+ } > } > > if (password) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
gd
:
review+
Actions:
View
Attachments on
bug 6364
:
4161
|
4209
| 5901 |
5902