diff options
author | Rafal Szczesniak <mimir@samba.org> | 2006-08-21 20:52:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:16:21 -0500 |
commit | 1f8fda717f95edb63d4596321b8c8bfafd5a4497 (patch) | |
tree | 8c5c0db423ad19d18661953bab46fb5d06927996 /source4/libnet/libnet_domain.h | |
parent | 7cb4dcf146b7ca41b8504571151911f0b3161e28 (diff) | |
download | samba-1f8fda717f95edb63d4596321b8c8bfafd5a4497.tar.gz samba-1f8fda717f95edb63d4596321b8c8bfafd5a4497.tar.bz2 samba-1f8fda717f95edb63d4596321b8c8bfafd5a4497.zip |
r17670: 1) Refactor libnet context structure a bit, to have rpc connection
properties more consistently reflected.
2) Add domain open routine for lsa pipe - this is needed for ongoing
name resolve function.
Tests (still neglected) and comments to follow.
rafal
(This used to be commit fe5652c2b8121bbe3b9932c43164035355478611)
Diffstat (limited to 'source4/libnet/libnet_domain.h')
-rw-r--r-- | source4/libnet/libnet_domain.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source4/libnet/libnet_domain.h b/source4/libnet/libnet_domain.h index 6dc4ed3f45..e9b1b87c66 100644 --- a/source4/libnet/libnet_domain.h +++ b/source4/libnet/libnet_domain.h @@ -19,16 +19,31 @@ */ +enum service_type { DOMAIN_SAMR, DOMAIN_LSA }; + /* * struct definition for opening a domain */ struct libnet_DomainOpen { struct { + enum service_type type; const char *domain_name; uint32_t access_mask; } in; struct { struct policy_handle domain_handle; + const char *error_string; + } out; +}; + + +struct libnet_DomainClose { + struct { + enum service_type type; + const char *domain_name; + } in; + struct { + const char *error_string; } out; }; |