diff options
author | Günther Deschner <gd@samba.org> | 2008-04-21 10:55:23 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-21 11:03:32 +0200 |
commit | 937091161b82782d3578c80a6e56123c86050752 (patch) | |
tree | c29439b3e58549d562a8964009e75729713393e3 /source3/winbindd | |
parent | b437f095956165e930d88bb08cb7eb117a41ccbc (diff) | |
download | samba-937091161b82782d3578c80a6e56123c86050752.tar.gz samba-937091161b82782d3578c80a6e56123c86050752.tar.bz2 samba-937091161b82782d3578c80a6e56123c86050752.zip |
winbind: Use libnbt for NTLOGON SAMLOGON mailslot request and reply.
Guenther
(This used to be commit 2d6a1c5da64195784b0b102edb268356a24d84b5)
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index 73f74ca8ec..97b2259985 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -1093,10 +1093,12 @@ static bool dcip_to_name(const struct winbindd_domain *domain, if (send_getdc_request(winbind_messaging_context(), pss, domain->name, &domain->sid)) { + const char *dc_name = NULL; int i; smb_msleep(100); for (i=0; i<5; i++) { - if (receive_getdc_response(pss, domain->name, name)) { + if (receive_getdc_response(pss, domain->name, &dc_name)) { + fstrcpy(name, dc_name); namecache_store(name, 0x20, 1, &ip_list); return True; } |