libsmb: provide authinfo domain for DFS referral auth
authorDavid Disseldorp <ddiss@samba.org>
Fri, 16 Jan 2015 15:21:23 +0000 (16:21 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 19 Jan 2015 05:48:05 +0000 (06:48 +0100)
commit6c9de0cd056afc0b478c02f1bdb0e06532388037
tree4bdc649acd64d535eaf1d0bf649a7f5679315fae
parent7b7d4f740fe5017107d3100041cc8c7982f0eac7
libsmb: provide authinfo domain for DFS referral auth

libsmbclient uses the smbc_init->smbc_get_auth_data_fn() provided
workgroup/domain in initial connections, but then switches to the
default smb.conf workgroup/domain when handling DFS referrals.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11059

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clidfs.c