diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-27 16:07:04 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-10-29 11:31:13 +1300 |
commit | e8e4d3c36693e44bafc395dcc973f657f3c91c2f (patch) | |
tree | 74770e2674370cc123c4378e9f9b6c4ff69633d6 /source4/cldap_server/cldap_server.h | |
parent | 20b3be7781db6df06beb8273a15872bbd6cceab9 (diff) | |
download | samba-e8e4d3c36693e44bafc395dcc973f657f3c91c2f.tar.gz samba-e8e4d3c36693e44bafc395dcc973f657f3c91c2f.tar.bz2 samba-e8e4d3c36693e44bafc395dcc973f657f3c91c2f.zip |
cldap: Move netlogon parsing into utility function
To be used later by netlogon-request over ldap.
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/cldap_server/cldap_server.h')
-rw-r--r-- | source4/cldap_server/cldap_server.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/cldap_server/cldap_server.h b/source4/cldap_server/cldap_server.h index fe7788f773..995ceed3a2 100644 --- a/source4/cldap_server/cldap_server.h +++ b/source4/cldap_server/cldap_server.h @@ -47,4 +47,15 @@ NTSTATUS fill_netlogon_samlogon_response(struct ldb_context *sam_ctx, struct netlogon_samlogon_response *netlogon, bool fill_on_blank_request); +NTSTATUS parse_netlogon_request(struct ldb_parse_tree *tree, + struct loadparm_context *lp_ctx, + TALLOC_CTX *mem_ctx, + const char **domain, + const char **host, + const char **user, + const char **domain_guid, + struct dom_sid **domain_sid, + int *acct_control, + int *version); + #include "cldap_server/proto.h" |