Rework netlogon credentials for the top level
authorAndrew Bartlett <abartlet@samba.org>
Mon, 6 Apr 2009 12:53:01 +0000 (22:53 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 14 Apr 2009 06:23:43 +0000 (16:23 +1000)
commiteed0c4f6c9aac5a260f65c05cc809bf5f72cf210
treed1a8067d63f830715716cb125b88e728d177302a
parentf23eea294a64fac3cc85609468703fc15f7e3187
Rework netlogon credentials for the top level

This makes constructor functions that return the allocated structure,
rather than having the caller pass them in, and makes the server init
function also check the first credential.

The rename of creds_ to netlogon_creds should make it more clear what
this code works with.

Andrew Bartlett
libcli/auth/credentials.c
libcli/auth/credentials.h