diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-12-13 17:31:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-01-07 12:47:04 +0100 |
commit | dc96b1ddccfe8eb1a631355f9471ee0b620d682c (patch) | |
tree | 263a3396fcd4a7128751389db278439232dca3b2 /source3/param/loadparm.c | |
parent | 6e6d9f9f12284ed06a21cc02080e436b7326065f (diff) | |
download | samba-dc96b1ddccfe8eb1a631355f9471ee0b620d682c.tar.gz samba-dc96b1ddccfe8eb1a631355f9471ee0b620d682c.tar.xz samba-dc96b1ddccfe8eb1a631355f9471ee0b620d682c.zip |
libcli/auth: use unique key_name values in netlogon_creds_cli_context_common()
Until all callers are fixed to pass the same 'server_computer'
value, we try to calculate a server_netbios_name and use this
as unique identifier for a specific domain controller.
Otherwise winbind would use 'hostname.example.com'
while 'net rpc testjoin' would use 'HOSTNAME',
which leads to 2 records in netlogon_creds_cli.tdb
for the same domain controller.
Once all callers are fixed we can think about reverting this
commit.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
0 files changed, 0 insertions, 0 deletions