1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-30 08:23:49 +03:00

r1925: now we lookup the domain controller

and fallback to a workstation name

metze
This commit is contained in:
Stefan Metzmacher
2004-08-19 15:04:14 +00:00
committed by Gerald (Jerry) Carter
parent 5d9b5a2e58
commit 2012d90f26
2 changed files with 62 additions and 9 deletions

View File

@@ -32,6 +32,26 @@ struct libnet_context {
} user;
};
/* struct and enum for finding a domain controller */
enum libnet_find_pdc_level {
LIBNET_FIND_PDC_GENERIC
};
union libnet_find_pdc {
/* find to a domains PDC */
struct {
enum libnet_find_pdc_level level;
struct {
const char *domain_name;
} in;
struct {
const char *pdc_name;
} out;
} generic;
};
/* struct and enum for connecting to a dcerpc inferface */
enum libnet_rpc_connect_level {
LIBNET_RPC_CONNECT_PDC