diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-01-05 23:54:37 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-01-05 23:54:37 +0000 |
commit | 81e028f4ace8eddab33ab2d76de1055b7dacc92e (patch) | |
tree | a94443dadeaf14afae6bcaee76a53df44175f310 /source3/include/rpc_ds.h | |
parent | 716d933a858265a664bc5dc862d24bda9473e816 (diff) | |
download | samba-81e028f4ace8eddab33ab2d76de1055b7dacc92e.tar.gz samba-81e028f4ace8eddab33ab2d76de1055b7dacc92e.tar.bz2 samba-81e028f4ace8eddab33ab2d76de1055b7dacc92e.zip |
rpc_client/cli_lsarpc.c:
rpc_parse/parse_lsa.c:
nsswitch/winbindd_rpc.c:
nsswitch/winbindd.h:
- Add const
libads/ads_ldap.c:
- Add ads_sid_to_dn utility function
nsswitch/winbindd_ads.c:
- Use new utility function ads_sid_to_dn
- Don't search for 'dn=', rather call the ads_search_retry_dn()
nsswitch/winbindd_ads.c:
include/rpc_ds.h:
rpc_client/cli_ds.c:
- Fixup braindamage in cli_ds_enum_domain_trusts():
- This function was returning a UNISTR2 up to the caller, and
was doing nasty (invalid, per valgrind) things with memcpy()
- Create a new structure that represents this informaiton in a useful way
and use talloc.
Andrew Bartlett
(This used to be commit 627d33d1667f0d4b1070f988494885b74c4c04dd)
Diffstat (limited to 'source3/include/rpc_ds.h')
-rw-r--r-- | source3/include/rpc_ds.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/include/rpc_ds.h b/source3/include/rpc_ds.h index 4d3f5416ac..3cb7c64955 100644 --- a/source3/include/rpc_ds.h +++ b/source3/include/rpc_ds.h @@ -118,6 +118,19 @@ typedef struct { } DS_DOMAIN_TRUSTS; +struct ds_domain_trust { + /* static portion of structure */ + uint32 flags; + uint32 parent_index; + uint32 trust_type; + uint32 trust_attributes; + GUID guid; + + DOM_SID sid; + char *netbios_domain; + char *dns_domain; +}; + typedef struct { uint32 ptr; |