summaryrefslogtreecommitdiff
path: root/libcli/auth/credentials.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-04-06 22:53:01 +1000
committerAndrew Bartlett <abartlet@samba.org>2009-04-14 16:23:43 +1000
commiteed0c4f6c9aac5a260f65c05cc809bf5f72cf210 (patch)
treed1a8067d63f830715716cb125b88e728d177302a /libcli/auth/credentials.h
parentf23eea294a64fac3cc85609468703fc15f7e3187 (diff)
downloadsamba-eed0c4f6c9aac5a260f65c05cc809bf5f72cf210.tar.gz
samba-eed0c4f6c9aac5a260f65c05cc809bf5f72cf210.tar.bz2
samba-eed0c4f6c9aac5a260f65c05cc809bf5f72cf210.zip
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
Diffstat (limited to 'libcli/auth/credentials.h')
-rw-r--r--libcli/auth/credentials.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcli/auth/credentials.h b/libcli/auth/credentials.h
index a3dd363064..b84b902fa0 100644
--- a/libcli/auth/credentials.h
+++ b/libcli/auth/credentials.h
@@ -21,7 +21,7 @@
#include "librpc/gen_ndr/netlogon.h"
-struct creds_CredentialState {
+struct netlogon_creds_CredentialState {
uint32_t negotiate_flags;
uint8_t session_key[16];
uint32_t sequence;
@@ -29,7 +29,6 @@ struct creds_CredentialState {
struct netr_Credential client;
struct netr_Credential server;
uint16_t secure_channel_type;
- const char *domain;
const char *computer_name;
const char *account_name;
struct dom_sid *sid;