mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s3: libsmb: Correctly initialize the list head when keeping a list of primary followed by DFS connections.
Greatly helped by <shargagan@novell.com> to track down this issue. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11624 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Dec 18 01:02:55 CET 2015 on sn-devel-144
This commit is contained in:
parent
f27ba17fcf
commit
d7feb1879e
@ -620,7 +620,7 @@ SMBC_server_internal(TALLOC_CTX *ctx,
|
||||
}
|
||||
|
||||
ZERO_STRUCTP(srv);
|
||||
srv->cli = c;
|
||||
DLIST_ADD(srv->cli, c);
|
||||
srv->dev = (dev_t)(str_checksum(server) ^ str_checksum(share));
|
||||
srv->no_pathinfo = False;
|
||||
srv->no_pathinfo2 = False;
|
||||
@ -816,7 +816,7 @@ SMBC_attr_server(TALLOC_CTX *ctx,
|
||||
}
|
||||
|
||||
ZERO_STRUCTP(ipc_srv);
|
||||
ipc_srv->cli = ipc_cli;
|
||||
DLIST_ADD(ipc_srv->cli, ipc_cli);
|
||||
|
||||
nt_status = cli_rpc_pipe_open_noauth(
|
||||
ipc_srv->cli, &ndr_table_lsarpc, &pipe_hnd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user