summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2003-03-14 17:12:40 +0000
committerRafal Szczesniak <mimir@samba.org>2003-03-14 17:12:40 +0000
commite583dd6278fedf9ad45b551dccf94fbe6c785119 (patch)
tree1dad0c48733998e6ef28dd7a8379cfdb13118b9e /source3/include
parent33c8a6779d490bd1aa722231a59a3b68343dbc17 (diff)
downloadsamba-e583dd6278fedf9ad45b551dccf94fbe6c785119.tar.gz
samba-e583dd6278fedf9ad45b551dccf94fbe6c785119.tar.bz2
samba-e583dd6278fedf9ad45b551dccf94fbe6c785119.zip
Fresh meat in trusted domains code:
- packing/unpacking utility functions for trusted domain password struct; can be used to prepare buffer to store in secrets.tdb or (soon) passdb backend - similiar functions for DOM_SID - respectively modified secrets_(fetch|store) routines - new auth mapping code utilising introduced is_trusted_domain function - added tdb (un)packing of single bytes Rafal (This used to be commit 5281ee7e84421b9be746aed2f1718ceaf2a2fe3d)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/secrets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/secrets.h b/source3/include/secrets.h
index 183b29d7a8..07faf28d43 100644
--- a/source3/include/secrets.h
+++ b/source3/include/secrets.h
@@ -57,14 +57,14 @@ struct machine_acct_pass {
/*
* storage structure for trusted domain
*/
-struct trusted_dom_pass {
+typedef struct trusted_dom_pass {
size_t uni_name_len;
smb_ucs2_t uni_name[32]; /* unicode domain name */
size_t pass_len;
fstring pass; /* trust relationship's password */
time_t mod_time;
DOM_SID domain_sid; /* remote domain's sid */
-};
+} TRUSTED_DOM_PASS;
/*
* trusted domain entry/entries returned by secrets_get_trusted_domains