diff options
author | Günther Deschner <gd@samba.org> | 2013-08-22 16:36:27 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2013-08-29 16:57:51 +0200 |
commit | 26ab2194f96cee80438c7917bc7de3bb7d48aa64 (patch) | |
tree | 2b552110e6966aecdc4933200b92787c7fc5b25b /source3 | |
parent | 57d5336969d089d063abce8db2fe090e7a363bc9 (diff) | |
download | samba-26ab2194f96cee80438c7917bc7de3bb7d48aa64.tar.gz samba-26ab2194f96cee80438c7917bc7de3bb7d48aa64.tar.bz2 samba-26ab2194f96cee80438c7917bc7de3bb7d48aa64.zip |
s3-winbindd: Fix winbind on DC crash with trusted AD domains.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/winbindd/winbindd_ads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_ads.c b/source3/winbindd/winbindd_ads.c index 924bc83525..d6eb4b4186 100644 --- a/source3/winbindd/winbindd_ads.c +++ b/source3/winbindd/winbindd_ads.c @@ -193,7 +193,7 @@ static ADS_STRUCT *ads_cached_connection(struct winbindd_domain *domain) NULL ) ) { return NULL; } - realm = NULL; + realm = SMB_STRDUP(domain->alt_name); } else { struct winbindd_domain *our_domain = domain; |