diff options
author | Günther Deschner <gd@samba.org> | 2013-08-22 16:36:27 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2013-08-30 10:22:42 +0200 |
commit | ae20e2d0918fd321f0bd9cfe88d5f15ab6e585b0 (patch) | |
tree | a6779161f92fee79df36a3e4c83aa0aa26912932 | |
parent | ac4066031fcc6faf44b64938a49c6cce9cb1294f (diff) | |
download | samba-ae20e2d0918fd321f0bd9cfe88d5f15ab6e585b0.tar.gz |
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>
-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; |